From 7d13aea533bdf590c88bf22f7bb55c2fdb951037 Mon Sep 17 00:00:00 2001 From: Google Cloud SDK Librarian Date: Mon, 29 Jun 2026 07:07:54 +0000 Subject: [PATCH 1/5] regen: Regenerate Google.Cloud.Datastore.V1 at API commit fdd6a6e feat: introduce RequestOptions message and request_options field on Datastore v1 request messages to enable request tagging docs: A comment for field `batch` in message `.google.datastore.v1.RunQueryResponse` is changed docs: A comment for field `distance_threshold` in message `.google.datastore.v1.FindNearest` is changed PiperOrigin-RevId: 938425766 Source-Link: https://github.com/googleapis/googleapis/commit/fdd6a6e4ef12853400539139d014d96e34253166 --- ....AllocateIdsRequestObjectAsyncSnippet.g.cs | 1 + ...lient.AllocateIdsRequestObjectSnippet.g.cs | 1 + ...nTransactionRequestObjectAsyncSnippet.g.cs | 1 + ....BeginTransactionRequestObjectSnippet.g.cs | 1 + ...lient.CommitRequestObjectAsyncSnippet.g.cs | 1 + ...toreClient.CommitRequestObjectSnippet.g.cs | 1 + ...lient.LookupRequestObjectAsyncSnippet.g.cs | 1 + ...toreClient.LookupRequestObjectSnippet.g.cs | 1 + ...t.ReserveIdsRequestObjectAsyncSnippet.g.cs | 1 + ...Client.ReserveIdsRequestObjectSnippet.g.cs | 1 + ...ent.RollbackRequestObjectAsyncSnippet.g.cs | 1 + ...reClient.RollbackRequestObjectSnippet.g.cs | 1 + ...egationQueryRequestObjectAsyncSnippet.g.cs | 1 + ...nAggregationQueryRequestObjectSnippet.g.cs | 1 + ...ent.RunQueryRequestObjectAsyncSnippet.g.cs | 1 + ...reClient.RunQueryRequestObjectSnippet.g.cs | 1 + .../snippet_metadata_google.datastore.v1.json | 64 +- .../DatastoreClientSnippets.g.cs | 16 + .../Google.Cloud.Datastore.V1/Datastore.g.cs | 926 +++++++++++++++--- .../DatastoreGrpc.g.cs | 2 +- .../Google.Cloud.Datastore.V1/Query.g.cs | 4 +- generator-input/pipeline-state.json | 2 +- 22 files changed, 836 insertions(+), 194 deletions(-) diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectAsyncSnippet.g.cs index 27e156115e1e..4265d45dfaa7 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectAsyncSnippet.g.cs @@ -40,6 +40,7 @@ public async Task AllocateIdsRequestObjectAsync() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request AllocateIdsResponse response = await datastoreClient.AllocateIdsAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectSnippet.g.cs index 1f8b2be7138c..cc4fd8893f52 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.AllocateIdsRequestObjectSnippet.g.cs @@ -39,6 +39,7 @@ public void AllocateIdsRequestObject() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request AllocateIdsResponse response = datastoreClient.AllocateIds(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectAsyncSnippet.g.cs index 2ce576970163..36c87762240e 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectAsyncSnippet.g.cs @@ -40,6 +40,7 @@ public async Task BeginTransactionRequestObjectAsync() ProjectId = "", DatabaseId = "", TransactionOptions = new TransactionOptions(), + RequestOptions = new RequestOptions(), }; // Make the request BeginTransactionResponse response = await datastoreClient.BeginTransactionAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectSnippet.g.cs index 9ee59ce9480b..6ce344c36b4b 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.BeginTransactionRequestObjectSnippet.g.cs @@ -39,6 +39,7 @@ public void BeginTransactionRequestObject() ProjectId = "", DatabaseId = "", TransactionOptions = new TransactionOptions(), + RequestOptions = new RequestOptions(), }; // Make the request BeginTransactionResponse response = datastoreClient.BeginTransaction(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectAsyncSnippet.g.cs index d4590552525b..1ef30b34ad47 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectAsyncSnippet.g.cs @@ -43,6 +43,7 @@ public async Task CommitRequestObjectAsync() Mutations = { new Mutation(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request CommitResponse response = await datastoreClient.CommitAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectSnippet.g.cs index a982deec6575..b514741b6c37 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.CommitRequestObjectSnippet.g.cs @@ -42,6 +42,7 @@ public void CommitRequestObject() Mutations = { new Mutation(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request CommitResponse response = datastoreClient.Commit(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectAsyncSnippet.g.cs index 0c6c5b64a504..759d4a92cdf8 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectAsyncSnippet.g.cs @@ -42,6 +42,7 @@ public async Task LookupRequestObjectAsync() PropertyMask = new PropertyMask(), ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request LookupResponse response = await datastoreClient.LookupAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectSnippet.g.cs index b0c6ae33d242..20adfa362417 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.LookupRequestObjectSnippet.g.cs @@ -41,6 +41,7 @@ public void LookupRequestObject() PropertyMask = new PropertyMask(), ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request LookupResponse response = datastoreClient.Lookup(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectAsyncSnippet.g.cs index bfddb2d54468..2bfef18269c3 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectAsyncSnippet.g.cs @@ -40,6 +40,7 @@ public async Task ReserveIdsRequestObjectAsync() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request ReserveIdsResponse response = await datastoreClient.ReserveIdsAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectSnippet.g.cs index dfcd65655c1d..e68246db0716 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.ReserveIdsRequestObjectSnippet.g.cs @@ -39,6 +39,7 @@ public void ReserveIdsRequestObject() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request ReserveIdsResponse response = datastoreClient.ReserveIds(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectAsyncSnippet.g.cs index 3e96ee70dc40..e5b1d4186b2b 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectAsyncSnippet.g.cs @@ -41,6 +41,7 @@ public async Task RollbackRequestObjectAsync() Transaction = ByteString.Empty, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request RollbackResponse response = await datastoreClient.RollbackAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectSnippet.g.cs index 15e23a8c9d5f..48cfc868487f 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RollbackRequestObjectSnippet.g.cs @@ -40,6 +40,7 @@ public void RollbackRequestObject() Transaction = ByteString.Empty, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request RollbackResponse response = datastoreClient.Rollback(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectAsyncSnippet.g.cs index 6345f325f5af..318a174ae3d9 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectAsyncSnippet.g.cs @@ -43,6 +43,7 @@ public async Task RunAggregationQueryRequestObjectAsync() ProjectId = "", DatabaseId = "", ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunAggregationQueryResponse response = await datastoreClient.RunAggregationQueryAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectSnippet.g.cs index 72d91163fd55..98065aa0e0e3 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunAggregationQueryRequestObjectSnippet.g.cs @@ -42,6 +42,7 @@ public void RunAggregationQueryRequestObject() ProjectId = "", DatabaseId = "", ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunAggregationQueryResponse response = datastoreClient.RunAggregationQuery(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectAsyncSnippet.g.cs index 7834341abb93..93ee9d59d0a6 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectAsyncSnippet.g.cs @@ -44,6 +44,7 @@ public async Task RunQueryRequestObjectAsync() DatabaseId = "", PropertyMask = new PropertyMask(), ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunQueryResponse response = await datastoreClient.RunQueryAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectSnippet.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectSnippet.g.cs index 6dc33f84bc84..91bcf7d3eb15 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/DatastoreClient.RunQueryRequestObjectSnippet.g.cs @@ -43,6 +43,7 @@ public void RunQueryRequestObject() DatabaseId = "", PropertyMask = new PropertyMask(), ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunQueryResponse response = datastoreClient.RunQuery(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/snippet_metadata_google.datastore.v1.json b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/snippet_metadata_google.datastore.v1.json index 6a48a46cd9f3..f4a7a45b89b8 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/snippet_metadata_google.datastore.v1.json +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.GeneratedSnippets/snippet_metadata_google.datastore.v1.json @@ -48,12 +48,12 @@ "segments": [ { "start": 20, - "end": 48, + "end": 49, "type": "FULL" }, { "start": 34, - "end": 46, + "end": 47, "type": "SHORT" } ] @@ -97,12 +97,12 @@ "segments": [ { "start": 20, - "end": 49, + "end": 50, "type": "FULL" }, { "start": 35, - "end": 47, + "end": 48, "type": "SHORT" } ] @@ -256,12 +256,12 @@ "segments": [ { "start": 20, - "end": 50, + "end": 51, "type": "FULL" }, { "start": 34, - "end": 48, + "end": 49, "type": "SHORT" } ] @@ -305,12 +305,12 @@ "segments": [ { "start": 20, - "end": 51, + "end": 52, "type": "FULL" }, { "start": 35, - "end": 49, + "end": 50, "type": "SHORT" } ] @@ -353,12 +353,12 @@ "segments": [ { "start": 20, - "end": 49, + "end": 50, "type": "FULL" }, { "start": 34, - "end": 47, + "end": 48, "type": "SHORT" } ] @@ -402,12 +402,12 @@ "segments": [ { "start": 20, - "end": 50, + "end": 51, "type": "FULL" }, { "start": 35, - "end": 48, + "end": 49, "type": "SHORT" } ] @@ -450,12 +450,12 @@ "segments": [ { "start": 20, - "end": 46, + "end": 47, "type": "FULL" }, { "start": 34, - "end": 44, + "end": 45, "type": "SHORT" } ] @@ -499,12 +499,12 @@ "segments": [ { "start": 20, - "end": 47, + "end": 48, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 46, "type": "SHORT" } ] @@ -642,12 +642,12 @@ "segments": [ { "start": 20, - "end": 49, + "end": 50, "type": "FULL" }, { "start": 35, - "end": 47, + "end": 48, "type": "SHORT" } ] @@ -691,12 +691,12 @@ "segments": [ { "start": 20, - "end": 50, + "end": 51, "type": "FULL" }, { "start": 36, - "end": 48, + "end": 49, "type": "SHORT" } ] @@ -969,12 +969,12 @@ "segments": [ { "start": 20, - "end": 47, + "end": 48, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 46, "type": "SHORT" } ] @@ -1018,12 +1018,12 @@ "segments": [ { "start": 20, - "end": 48, + "end": 49, "type": "FULL" }, { "start": 36, - "end": 46, + "end": 47, "type": "SHORT" } ] @@ -1169,12 +1169,12 @@ "segments": [ { "start": 20, - "end": 46, + "end": 47, "type": "FULL" }, { "start": 34, - "end": 44, + "end": 45, "type": "SHORT" } ] @@ -1218,12 +1218,12 @@ "segments": [ { "start": 20, - "end": 47, + "end": 48, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 46, "type": "SHORT" } ] @@ -1369,12 +1369,12 @@ "segments": [ { "start": 20, - "end": 46, + "end": 47, "type": "FULL" }, { "start": 34, - "end": 44, + "end": 45, "type": "SHORT" } ] @@ -1418,12 +1418,12 @@ "segments": [ { "start": 20, - "end": 47, + "end": 48, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 46, "type": "SHORT" } ] diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.Snippets/DatastoreClientSnippets.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.Snippets/DatastoreClientSnippets.g.cs index 4bbc8290313e..cf1d78c4676d 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.Snippets/DatastoreClientSnippets.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.Snippets/DatastoreClientSnippets.g.cs @@ -38,6 +38,7 @@ public void LookupRequestObject() PropertyMask = new PropertyMask(), ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request LookupResponse response = datastoreClient.Lookup(request); @@ -59,6 +60,7 @@ public async Task LookupRequestObjectAsync() PropertyMask = new PropertyMask(), ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request LookupResponse response = await datastoreClient.LookupAsync(request); @@ -112,6 +114,7 @@ public void RunQueryRequestObject() DatabaseId = "", PropertyMask = new PropertyMask(), ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunQueryResponse response = datastoreClient.RunQuery(request); @@ -135,6 +138,7 @@ public async Task RunQueryRequestObjectAsync() DatabaseId = "", PropertyMask = new PropertyMask(), ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunQueryResponse response = await datastoreClient.RunQueryAsync(request); @@ -156,6 +160,7 @@ public void RunAggregationQueryRequestObject() ProjectId = "", DatabaseId = "", ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunAggregationQueryResponse response = datastoreClient.RunAggregationQuery(request); @@ -178,6 +183,7 @@ public async Task RunAggregationQueryRequestObjectAsync() ProjectId = "", DatabaseId = "", ExplainOptions = new ExplainOptions(), + RequestOptions = new RequestOptions(), }; // Make the request RunAggregationQueryResponse response = await datastoreClient.RunAggregationQueryAsync(request); @@ -196,6 +202,7 @@ public void BeginTransactionRequestObject() ProjectId = "", DatabaseId = "", TransactionOptions = new TransactionOptions(), + RequestOptions = new RequestOptions(), }; // Make the request BeginTransactionResponse response = datastoreClient.BeginTransaction(request); @@ -215,6 +222,7 @@ public async Task BeginTransactionRequestObjectAsync() ProjectId = "", DatabaseId = "", TransactionOptions = new TransactionOptions(), + RequestOptions = new RequestOptions(), }; // Make the request BeginTransactionResponse response = await datastoreClient.BeginTransactionAsync(request); @@ -262,6 +270,7 @@ public void CommitRequestObject() Mutations = { new Mutation(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request CommitResponse response = datastoreClient.Commit(request); @@ -283,6 +292,7 @@ public async Task CommitRequestObjectAsync() Mutations = { new Mutation(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request CommitResponse response = await datastoreClient.CommitAsync(request); @@ -365,6 +375,7 @@ public void RollbackRequestObject() Transaction = ByteString.Empty, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request RollbackResponse response = datastoreClient.Rollback(request); @@ -384,6 +395,7 @@ public async Task RollbackRequestObjectAsync() Transaction = ByteString.Empty, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request RollbackResponse response = await datastoreClient.RollbackAsync(request); @@ -431,6 +443,7 @@ public void AllocateIdsRequestObject() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request AllocateIdsResponse response = datastoreClient.AllocateIds(request); @@ -450,6 +463,7 @@ public async Task AllocateIdsRequestObjectAsync() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request AllocateIdsResponse response = await datastoreClient.AllocateIdsAsync(request); @@ -497,6 +511,7 @@ public void ReserveIdsRequestObject() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request ReserveIdsResponse response = datastoreClient.ReserveIds(request); @@ -516,6 +531,7 @@ public async Task ReserveIdsRequestObjectAsync() Keys = { new Key(), }, ProjectId = "", DatabaseId = "", + RequestOptions = new RequestOptions(), }; // Make the request ReserveIdsResponse response = await datastoreClient.ReserveIdsAsync(request); diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Datastore.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Datastore.g.cs index 67f5f5a9af88..793160adaf6c 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Datastore.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Datastore.g.cs @@ -32,176 +32,189 @@ static DatastoreReflection() { "ZS9kYXRhc3RvcmUvdjEvZW50aXR5LnByb3RvGh9nb29nbGUvZGF0YXN0b3Jl", "L3YxL3F1ZXJ5LnByb3RvGidnb29nbGUvZGF0YXN0b3JlL3YxL3F1ZXJ5X3By", "b2ZpbGUucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8i", - "3AEKDUxvb2t1cFJlcXVlc3QSFwoKcHJvamVjdF9pZBgIIAEoCUID4EECEhMK", + "nwIKDUxvb2t1cFJlcXVlc3QSFwoKcHJvamVjdF9pZBgIIAEoCUID4EECEhMK", "C2RhdGFiYXNlX2lkGAkgASgJEjYKDHJlYWRfb3B0aW9ucxgBIAEoCzIgLmdv", "b2dsZS5kYXRhc3RvcmUudjEuUmVhZE9wdGlvbnMSKwoEa2V5cxgDIAMoCzIY", "Lmdvb2dsZS5kYXRhc3RvcmUudjEuS2V5QgPgQQISOAoNcHJvcGVydHlfbWFz", - "axgFIAEoCzIhLmdvb2dsZS5kYXRhc3RvcmUudjEuUHJvcGVydHlNYXNrIuYB", - "Cg5Mb29rdXBSZXNwb25zZRIwCgVmb3VuZBgBIAMoCzIhLmdvb2dsZS5kYXRh", - "c3RvcmUudjEuRW50aXR5UmVzdWx0EjIKB21pc3NpbmcYAiADKAsyIS5nb29n", - "bGUuZGF0YXN0b3JlLnYxLkVudGl0eVJlc3VsdBIqCghkZWZlcnJlZBgDIAMo", - "CzIYLmdvb2dsZS5kYXRhc3RvcmUudjEuS2V5EhMKC3RyYW5zYWN0aW9uGAUg", - "ASgMEi0KCXJlYWRfdGltZRgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l", - "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lkc1JlcXVlc3QaKC5nb29nbGUuZGF0YXN0b3JlLnYxLkFsbG9jYXRlSWRz", + "UmVzcG9uc2UiZdpBD3Byb2plY3RfaWQsa2V5c4LT5JMCKiIlL3YxL3Byb2pl", + "Y3RzL3twcm9qZWN0X2lkfTphbGxvY2F0ZUlkczoBKorT5JMCHRIMCgpwcm9q", + "ZWN0X2lkEg0KC2RhdGFiYXNlX2lkEsMBCgpSZXNlcnZlSWRzEiYuZ29vZ2xl", + "LmRhdGFzdG9yZS52MS5SZXNlcnZlSWRzUmVxdWVzdBonLmdvb2dsZS5kYXRh", + "c3RvcmUudjEuUmVzZXJ2ZUlkc1Jlc3BvbnNlImTaQQ9wcm9qZWN0X2lkLGtl", + "eXOC0+STAikiJC92MS9wcm9qZWN0cy97cHJvamVjdF9pZH06cmVzZXJ2ZUlk", + "czoBKorT5JMCHRIMCgpwcm9qZWN0X2lkEg0KC2RhdGFiYXNlX2lkGnbKQRhk", + "YXRhc3RvcmUuZ29vZ2xlYXBpcy5jb23SQVhodHRwczovL3d3dy5nb29nbGVh", + "cGlzLmNvbS9hdXRoL2Nsb3VkLXBsYXRmb3JtLGh0dHBzOi8vd3d3Lmdvb2ds", + "ZWFwaXMuY29tL2F1dGgvZGF0YXN0b3JlQr8BChdjb20uZ29vZ2xlLmRhdGFz", + "dG9yZS52MUIORGF0YXN0b3JlUHJvdG9QAVo7Y2xvdWQuZ29vZ2xlLmNvbS9n", + "by9kYXRhc3RvcmUvYXBpdjEvZGF0YXN0b3JlcGI7ZGF0YXN0b3JlcGKqAhlH", + "b29nbGUuQ2xvdWQuRGF0YXN0b3JlLlYxygIZR29vZ2xlXENsb3VkXERhdGFz", + "dG9yZVxWMeoCHEdvb2dsZTo6Q2xvdWQ6OkRhdGFzdG9yZTo6VjFiBnByb3Rv", + "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.RoutingReflection.Descriptor, global::Google.Cloud.Datastore.V1.AggregationResultReflection.Descriptor, global::Google.Cloud.Datastore.V1.EntityReflection.Descriptor, global::Google.Cloud.Datastore.V1.QueryReflection.Descriptor, global::Google.Cloud.Datastore.V1.QueryProfileReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.LookupRequest), global::Google.Cloud.Datastore.V1.LookupRequest.Parser, new[]{ "ProjectId", "DatabaseId", "ReadOptions", "Keys", "PropertyMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.LookupRequest), global::Google.Cloud.Datastore.V1.LookupRequest.Parser, new[]{ "ProjectId", "DatabaseId", "ReadOptions", "Keys", "PropertyMask", "RequestOptions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.LookupResponse), global::Google.Cloud.Datastore.V1.LookupResponse.Parser, new[]{ "Found", "Missing", "Deferred", "Transaction", "ReadTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RunQueryRequest), global::Google.Cloud.Datastore.V1.RunQueryRequest.Parser, new[]{ "ProjectId", "DatabaseId", "PartitionId", "ReadOptions", "Query", "GqlQuery", "PropertyMask", "ExplainOptions" }, new[]{ "QueryType" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RunQueryRequest), global::Google.Cloud.Datastore.V1.RunQueryRequest.Parser, new[]{ "ProjectId", "DatabaseId", "PartitionId", "ReadOptions", "Query", "GqlQuery", "PropertyMask", "ExplainOptions", "RequestOptions" }, new[]{ "QueryType" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RunQueryResponse), global::Google.Cloud.Datastore.V1.RunQueryResponse.Parser, new[]{ "Batch", "Query", "Transaction", "ExplainMetrics" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RunAggregationQueryRequest), global::Google.Cloud.Datastore.V1.RunAggregationQueryRequest.Parser, new[]{ "ProjectId", "DatabaseId", "PartitionId", "ReadOptions", "AggregationQuery", "GqlQuery", "ExplainOptions" }, new[]{ "QueryType" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RunAggregationQueryRequest), global::Google.Cloud.Datastore.V1.RunAggregationQueryRequest.Parser, new[]{ "ProjectId", "DatabaseId", "PartitionId", "ReadOptions", "AggregationQuery", "GqlQuery", "ExplainOptions", "RequestOptions" }, new[]{ "QueryType" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RunAggregationQueryResponse), global::Google.Cloud.Datastore.V1.RunAggregationQueryResponse.Parser, new[]{ "Batch", "Query", "Transaction", "ExplainMetrics" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.BeginTransactionRequest), global::Google.Cloud.Datastore.V1.BeginTransactionRequest.Parser, new[]{ "ProjectId", "DatabaseId", "TransactionOptions" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.BeginTransactionRequest), global::Google.Cloud.Datastore.V1.BeginTransactionRequest.Parser, new[]{ "ProjectId", "DatabaseId", "TransactionOptions", "RequestOptions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.BeginTransactionResponse), global::Google.Cloud.Datastore.V1.BeginTransactionResponse.Parser, new[]{ "Transaction" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RollbackRequest), global::Google.Cloud.Datastore.V1.RollbackRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Transaction" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RollbackRequest), global::Google.Cloud.Datastore.V1.RollbackRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Transaction", "RequestOptions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RollbackResponse), global::Google.Cloud.Datastore.V1.RollbackResponse.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.CommitRequest), global::Google.Cloud.Datastore.V1.CommitRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Mode", "Transaction", "SingleUseTransaction", "Mutations" }, new[]{ "TransactionSelector" }, new[]{ typeof(global::Google.Cloud.Datastore.V1.CommitRequest.Types.Mode) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.CommitRequest), global::Google.Cloud.Datastore.V1.CommitRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Mode", "Transaction", "SingleUseTransaction", "Mutations", "RequestOptions" }, new[]{ "TransactionSelector" }, new[]{ typeof(global::Google.Cloud.Datastore.V1.CommitRequest.Types.Mode) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.CommitResponse), global::Google.Cloud.Datastore.V1.CommitResponse.Parser, new[]{ "MutationResults", "IndexUpdates", "CommitTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.AllocateIdsRequest), global::Google.Cloud.Datastore.V1.AllocateIdsRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Keys" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.AllocateIdsRequest), global::Google.Cloud.Datastore.V1.AllocateIdsRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Keys", "RequestOptions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.AllocateIdsResponse), global::Google.Cloud.Datastore.V1.AllocateIdsResponse.Parser, new[]{ "Keys" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.ReserveIdsRequest), global::Google.Cloud.Datastore.V1.ReserveIdsRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Keys" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.ReserveIdsRequest), global::Google.Cloud.Datastore.V1.ReserveIdsRequest.Parser, new[]{ "ProjectId", "DatabaseId", "Keys", "RequestOptions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.ReserveIdsResponse), global::Google.Cloud.Datastore.V1.ReserveIdsResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.Mutation), global::Google.Cloud.Datastore.V1.Mutation.Parser, new[]{ "Insert", "Update", "Upsert", "Delete", "BaseVersion", "UpdateTime", "ConflictResolutionStrategy", "PropertyMask", "PropertyTransforms" }, new[]{ "Operation", "ConflictDetectionStrategy" }, new[]{ typeof(global::Google.Cloud.Datastore.V1.Mutation.Types.ConflictResolutionStrategy) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.PropertyTransform), global::Google.Cloud.Datastore.V1.PropertyTransform.Parser, new[]{ "Property", "SetToServerValue", "Increment", "Maximum", "Minimum", "AppendMissingElements", "RemoveAllFromArray" }, new[]{ "TransformType" }, new[]{ typeof(global::Google.Cloud.Datastore.V1.PropertyTransform.Types.ServerValue) }, null, null), @@ -209,7 +222,8 @@ static DatastoreReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.PropertyMask), global::Google.Cloud.Datastore.V1.PropertyMask.Parser, new[]{ "Paths" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.ReadOptions), global::Google.Cloud.Datastore.V1.ReadOptions.Parser, new[]{ "ReadConsistency", "Transaction", "NewTransaction", "ReadTime" }, new[]{ "ConsistencyType" }, new[]{ typeof(global::Google.Cloud.Datastore.V1.ReadOptions.Types.ReadConsistency) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.TransactionOptions), global::Google.Cloud.Datastore.V1.TransactionOptions.Parser, new[]{ "ReadWrite", "ReadOnly" }, new[]{ "Mode" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadWrite), global::Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadWrite.Parser, new[]{ "PreviousTransaction" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadOnly), global::Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadOnly.Parser, new[]{ "ReadTime" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadOnly), global::Google.Cloud.Datastore.V1.TransactionOptions.Types.ReadOnly.Parser, new[]{ "ReadTime" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Datastore.V1.RequestOptions), global::Google.Cloud.Datastore.V1.RequestOptions.Parser, new[]{ "RequestTags" }, null, null, null, null) })); } #endregion @@ -259,6 +273,7 @@ public LookupRequest(LookupRequest other) : this() { readOptions_ = other.readOptions_ != null ? other.readOptions_.Clone() : null; keys_ = other.keys_.Clone(); propertyMask_ = other.propertyMask_ != null ? other.propertyMask_.Clone() : null; + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -350,6 +365,21 @@ public string DatabaseId { } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 10; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -370,6 +400,7 @@ public bool Equals(LookupRequest other) { if (!object.Equals(ReadOptions, other.ReadOptions)) return false; if(!keys_.Equals(other.keys_)) return false; if (!object.Equals(PropertyMask, other.PropertyMask)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -382,6 +413,7 @@ public override int GetHashCode() { if (readOptions_ != null) hash ^= ReadOptions.GetHashCode(); hash ^= keys_.GetHashCode(); if (propertyMask_ != null) hash ^= PropertyMask.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -417,6 +449,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -444,6 +480,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -467,6 +507,9 @@ public int CalculateSize() { if (propertyMask_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyMask); } + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -498,6 +541,12 @@ public void MergeFrom(LookupRequest other) { } PropertyMask.MergeFrom(other.PropertyMask); } + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -543,6 +592,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -588,6 +644,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -991,6 +1054,7 @@ public RunQueryRequest(RunQueryRequest other) : this() { readOptions_ = other.readOptions_ != null ? other.readOptions_.Clone() : null; propertyMask_ = other.propertyMask_ != null ? other.propertyMask_.Clone() : null; explainOptions_ = other.explainOptions_ != null ? other.explainOptions_.Clone() : null; + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; switch (other.QueryTypeCase) { case QueryTypeOneofCase.Query: Query = other.Query.Clone(); @@ -1140,6 +1204,21 @@ public string DatabaseId { } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 13; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + private object queryType_; /// Enum of possible cases for the "query_type" oneof. public enum QueryTypeOneofCase { @@ -1184,6 +1263,7 @@ public bool Equals(RunQueryRequest other) { if (!object.Equals(GqlQuery, other.GqlQuery)) return false; if (!object.Equals(PropertyMask, other.PropertyMask)) return false; if (!object.Equals(ExplainOptions, other.ExplainOptions)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; if (QueryTypeCase != other.QueryTypeCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1200,6 +1280,7 @@ public override int GetHashCode() { if (queryTypeCase_ == QueryTypeOneofCase.GqlQuery) hash ^= GqlQuery.GetHashCode(); if (propertyMask_ != null) hash ^= PropertyMask.GetHashCode(); if (explainOptions_ != null) hash ^= ExplainOptions.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); hash ^= (int) queryTypeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -1251,6 +1332,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(98); output.WriteMessage(ExplainOptions); } + if (requestOptions_ != null) { + output.WriteRawTag(106); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1293,6 +1378,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(98); output.WriteMessage(ExplainOptions); } + if (requestOptions_ != null) { + output.WriteRawTag(106); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1327,6 +1416,9 @@ public int CalculateSize() { if (explainOptions_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExplainOptions); } + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1369,6 +1461,12 @@ public void MergeFrom(RunQueryRequest other) { } ExplainOptions.MergeFrom(other.ExplainOptions); } + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } switch (other.QueryTypeCase) { case QueryTypeOneofCase.Query: if (Query == null) { @@ -1457,6 +1555,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ExplainOptions); break; } + case 106: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -1530,6 +1635,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ExplainOptions); break; } + case 106: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -1593,7 +1705,13 @@ public RunQueryResponse Clone() { public const int BatchFieldNumber = 1; private global::Google.Cloud.Datastore.V1.QueryResultBatch batch_; /// - /// A batch of query results (always present). + /// A batch of query results. This is always present unless running a + /// query under explain-only + /// mode: + /// [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options] + /// was provided and + /// [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] was + /// set to false. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1941,6 +2059,7 @@ public RunAggregationQueryRequest(RunAggregationQueryRequest other) : this() { partitionId_ = other.partitionId_ != null ? other.partitionId_.Clone() : null; readOptions_ = other.readOptions_ != null ? other.readOptions_.Clone() : null; explainOptions_ = other.explainOptions_ != null ? other.explainOptions_.Clone() : null; + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; switch (other.QueryTypeCase) { case QueryTypeOneofCase.AggregationQuery: AggregationQuery = other.AggregationQuery.Clone(); @@ -2071,6 +2190,21 @@ public string DatabaseId { } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 12; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + private object queryType_; /// Enum of possible cases for the "query_type" oneof. public enum QueryTypeOneofCase { @@ -2114,6 +2248,7 @@ public bool Equals(RunAggregationQueryRequest other) { if (!object.Equals(AggregationQuery, other.AggregationQuery)) return false; if (!object.Equals(GqlQuery, other.GqlQuery)) return false; if (!object.Equals(ExplainOptions, other.ExplainOptions)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; if (QueryTypeCase != other.QueryTypeCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2129,6 +2264,7 @@ public override int GetHashCode() { if (queryTypeCase_ == QueryTypeOneofCase.AggregationQuery) hash ^= AggregationQuery.GetHashCode(); if (queryTypeCase_ == QueryTypeOneofCase.GqlQuery) hash ^= GqlQuery.GetHashCode(); if (explainOptions_ != null) hash ^= ExplainOptions.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); hash ^= (int) queryTypeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -2176,6 +2312,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(ExplainOptions); } + if (requestOptions_ != null) { + output.WriteRawTag(98); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2214,6 +2354,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(90); output.WriteMessage(ExplainOptions); } + if (requestOptions_ != null) { + output.WriteRawTag(98); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2245,6 +2389,9 @@ public int CalculateSize() { if (explainOptions_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExplainOptions); } + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2281,6 +2428,12 @@ public void MergeFrom(RunAggregationQueryRequest other) { } ExplainOptions.MergeFrom(other.ExplainOptions); } + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } switch (other.QueryTypeCase) { case QueryTypeOneofCase.AggregationQuery: if (AggregationQuery == null) { @@ -2362,6 +2515,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ExplainOptions); break; } + case 98: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -2428,6 +2588,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ExplainOptions); break; } + case 98: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -2837,6 +3004,7 @@ public BeginTransactionRequest(BeginTransactionRequest other) : this() { projectId_ = other.projectId_; databaseId_ = other.databaseId_; transactionOptions_ = other.transactionOptions_ != null ? other.transactionOptions_.Clone() : null; + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2894,6 +3062,21 @@ public string DatabaseId { } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 11; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2912,6 +3095,7 @@ public bool Equals(BeginTransactionRequest other) { if (ProjectId != other.ProjectId) return false; if (DatabaseId != other.DatabaseId) return false; if (!object.Equals(TransactionOptions, other.TransactionOptions)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2922,6 +3106,7 @@ public override int GetHashCode() { if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); if (DatabaseId.Length != 0) hash ^= DatabaseId.GetHashCode(); if (transactionOptions_ != null) hash ^= TransactionOptions.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2952,6 +3137,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(TransactionOptions); } + if (requestOptions_ != null) { + output.WriteRawTag(90); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2974,6 +3163,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(TransactionOptions); } + if (requestOptions_ != null) { + output.WriteRawTag(90); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2993,6 +3186,9 @@ public int CalculateSize() { if (transactionOptions_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(TransactionOptions); } + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3017,6 +3213,12 @@ public void MergeFrom(BeginTransactionRequest other) { } TransactionOptions.MergeFrom(other.TransactionOptions); } + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3051,6 +3253,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(TransactionOptions); break; } + case 90: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -3085,6 +3294,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(TransactionOptions); break; } + case 90: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -3338,6 +3554,7 @@ public RollbackRequest(RollbackRequest other) : this() { projectId_ = other.projectId_; databaseId_ = other.databaseId_; transaction_ = other.transaction_; + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3396,6 +3613,21 @@ public string DatabaseId { } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 10; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3414,6 +3646,7 @@ public bool Equals(RollbackRequest other) { if (ProjectId != other.ProjectId) return false; if (DatabaseId != other.DatabaseId) return false; if (Transaction != other.Transaction) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3424,6 +3657,7 @@ public override int GetHashCode() { if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); if (DatabaseId.Length != 0) hash ^= DatabaseId.GetHashCode(); if (Transaction.Length != 0) hash ^= Transaction.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3454,6 +3688,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3476,6 +3714,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3495,6 +3737,9 @@ public int CalculateSize() { if (Transaction.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(Transaction); } + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3516,6 +3761,12 @@ public void MergeFrom(RollbackRequest other) { if (other.Transaction.Length != 0) { Transaction = other.Transaction; } + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3547,6 +3798,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -3578,6 +3836,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -3793,6 +4058,7 @@ public CommitRequest(CommitRequest other) : this() { databaseId_ = other.databaseId_; mode_ = other.mode_; mutations_ = other.mutations_.Clone(); + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; switch (other.TransactionSelectorCase) { case TransactionSelectorOneofCase.Transaction: Transaction = other.Transaction; @@ -3934,6 +4200,21 @@ public void ClearTransaction() { get { return mutations_; } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 11; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + private object transactionSelector_; /// Enum of possible cases for the "transaction_selector" oneof. public enum TransactionSelectorOneofCase { @@ -3976,6 +4257,7 @@ public bool Equals(CommitRequest other) { if (Transaction != other.Transaction) return false; if (!object.Equals(SingleUseTransaction, other.SingleUseTransaction)) return false; if(!mutations_.Equals(other.mutations_)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; if (TransactionSelectorCase != other.TransactionSelectorCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3990,6 +4272,7 @@ public override int GetHashCode() { if (HasTransaction) hash ^= Transaction.GetHashCode(); if (transactionSelectorCase_ == TransactionSelectorOneofCase.SingleUseTransaction) hash ^= SingleUseTransaction.GetHashCode(); hash ^= mutations_.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); hash ^= (int) transactionSelectorCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -4030,6 +4313,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(SingleUseTransaction); } + if (requestOptions_ != null) { + output.WriteRawTag(90); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4061,6 +4348,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(SingleUseTransaction); } + if (requestOptions_ != null) { + output.WriteRawTag(90); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4087,6 +4378,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SingleUseTransaction); } size += mutations_.CalculateSize(_repeated_mutations_codec); + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4109,6 +4403,12 @@ public void MergeFrom(CommitRequest other) { Mode = other.Mode; } mutations_.Add(other.mutations_); + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } switch (other.TransactionSelectorCase) { case TransactionSelectorOneofCase.Transaction: Transaction = other.Transaction; @@ -4169,6 +4469,13 @@ public void MergeFrom(pb::CodedInputStream input) { SingleUseTransaction = subBuilder; break; } + case 90: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -4217,6 +4524,13 @@ public void MergeFrom(pb::CodedInputStream input) { SingleUseTransaction = subBuilder; break; } + case 90: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -4578,6 +4892,7 @@ public AllocateIdsRequest(AllocateIdsRequest other) : this() { projectId_ = other.projectId_; databaseId_ = other.databaseId_; keys_ = other.keys_.Clone(); + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4635,6 +4950,21 @@ public string DatabaseId { get { return keys_; } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 10; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4653,6 +4983,7 @@ public bool Equals(AllocateIdsRequest other) { if (ProjectId != other.ProjectId) return false; if (DatabaseId != other.DatabaseId) return false; if(!keys_.Equals(other.keys_)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4663,6 +4994,7 @@ public override int GetHashCode() { if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); if (DatabaseId.Length != 0) hash ^= DatabaseId.GetHashCode(); hash ^= keys_.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4690,6 +5022,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4709,6 +5045,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4726,6 +5066,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(DatabaseId); } size += keys_.CalculateSize(_repeated_keys_codec); + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4745,6 +5088,12 @@ public void MergeFrom(AllocateIdsRequest other) { DatabaseId = other.DatabaseId; } keys_.Add(other.keys_); + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4776,6 +5125,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -4807,6 +5163,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -5051,6 +5414,7 @@ public ReserveIdsRequest(ReserveIdsRequest other) : this() { projectId_ = other.projectId_; databaseId_ = other.databaseId_; keys_ = other.keys_.Clone(); + requestOptions_ = other.requestOptions_ != null ? other.requestOptions_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -5108,6 +5472,21 @@ public string DatabaseId { get { return keys_; } } + /// Field number for the "request_options" field. + public const int RequestOptionsFieldNumber = 10; + private global::Google.Cloud.Datastore.V1.RequestOptions requestOptions_; + /// + /// Optional. The options for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Datastore.V1.RequestOptions RequestOptions { + get { return requestOptions_; } + set { + requestOptions_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -5126,6 +5505,7 @@ public bool Equals(ReserveIdsRequest other) { if (ProjectId != other.ProjectId) return false; if (DatabaseId != other.DatabaseId) return false; if(!keys_.Equals(other.keys_)) return false; + if (!object.Equals(RequestOptions, other.RequestOptions)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5136,6 +5516,7 @@ public override int GetHashCode() { if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); if (DatabaseId.Length != 0) hash ^= DatabaseId.GetHashCode(); hash ^= keys_.GetHashCode(); + if (requestOptions_ != null) hash ^= RequestOptions.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5163,6 +5544,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -5182,6 +5567,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteString(DatabaseId); } + if (requestOptions_ != null) { + output.WriteRawTag(82); + output.WriteMessage(RequestOptions); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -5199,6 +5588,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(DatabaseId); } size += keys_.CalculateSize(_repeated_keys_codec); + if (requestOptions_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RequestOptions); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -5218,6 +5610,12 @@ public void MergeFrom(ReserveIdsRequest other) { DatabaseId = other.DatabaseId; } keys_.Add(other.keys_); + if (other.requestOptions_ != null) { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + RequestOptions.MergeFrom(other.RequestOptions); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5249,6 +5647,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } #endif @@ -5280,6 +5685,13 @@ public void MergeFrom(pb::CodedInputStream input) { DatabaseId = input.ReadString(); break; } + case 82: { + if (requestOptions_ == null) { + RequestOptions = new global::Google.Cloud.Datastore.V1.RequestOptions(); + } + input.ReadMessage(RequestOptions); + break; + } } } } @@ -8657,6 +9069,204 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Options for a request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RequestOptions : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RequestOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Datastore.V1.DatastoreReflection.Descriptor.MessageTypes[22]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RequestOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RequestOptions(RequestOptions other) : this() { + requestTags_ = other.requestTags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RequestOptions Clone() { + return new RequestOptions(this); + } + + /// Field number for the "request_tags" field. + public const int RequestTagsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_requestTags_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField requestTags_ = new pbc::RepeatedField(); + /// + /// Optional. The request tags for the request. + /// The tags are processed as follows: + /// - Truncated to 510 characters. + /// - Filtered out if empty. + /// - Deduplicated. + /// - Limited to 50 tags. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RequestTags { + get { return requestTags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RequestOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RequestOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!requestTags_.Equals(other.requestTags_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= requestTags_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + requestTags_.WriteTo(output, _repeated_requestTags_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + requestTags_.WriteTo(ref output, _repeated_requestTags_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += requestTags_.CalculateSize(_repeated_requestTags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RequestOptions other) { + if (other == null) { + return; + } + requestTags_.Add(other.requestTags_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + requestTags_.AddEntriesFrom(input, _repeated_requestTags_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + requestTags_.AddEntriesFrom(ref input, _repeated_requestTags_codec); + break; + } + } + } + } + #endif + + } + #endregion } diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/DatastoreGrpc.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/DatastoreGrpc.g.cs index b745dd754b19..3192c77100c8 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/DatastoreGrpc.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/DatastoreGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/datastore/v1/datastore.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Query.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Query.g.cs index 6f761ae95b62..2eb316ac3fde 100644 --- a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Query.g.cs +++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/Query.g.cs @@ -4595,8 +4595,8 @@ public string DistanceResultProperty { /// affect the meaning of the distance threshold. Since DOT_PRODUCT distances /// increase when the vectors are more similar, the comparison is inverted. /// - /// For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold - /// For DOT_PRODUCT: WHERE distance >= distance_threshold + /// * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold + /// * For DOT_PRODUCT: WHERE distance >= distance_threshold /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/generator-input/pipeline-state.json b/generator-input/pipeline-state.json index bb11244f9ad5..1bd86a2f3a7d 100644 --- a/generator-input/pipeline-state.json +++ b/generator-input/pipeline-state.json @@ -1302,7 +1302,7 @@ "generationAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseTimestamp": "2026-01-19T14:09:13.443610912Z", - "lastGeneratedCommit": "4823efd0b9944891ec5c387104dcc2ec401307a8", + "lastGeneratedCommit": "fdd6a6e4ef12853400539139d014d96e34253166", "lastReleasedCommit": "4823efd0b9944891ec5c387104dcc2ec401307a8", "apiPaths": [ "google/datastore/v1" From 99fcb0725672cccdc06e9ca41215cff0a71820a3 Mon Sep 17 00:00:00 2001 From: Google Cloud SDK Librarian Date: Mon, 29 Jun 2026 07:08:43 +0000 Subject: [PATCH 2/5] regen: Regenerate Google.Cloud.Dialogflow.V2 at API commit 8a2919c feat: speech activity event is configurable through InputAudioConfig.enable_voice_activity_events feat: StreamingRecognitionResult now has new MessageType: DTMF_DIGITS, PARTIAL_DTMF_DIGITS, SPEECH_ACTIVITY_BEGIN, SPEECH_ACTIVITY_END feat: ces_debug_info is available in SearchKnowledgeDebugInfo PiperOrigin-RevId: 938734624 Source-Link: https://github.com/googleapis/googleapis/commit/8a2919cce0ab2cddb7659c797256f21c1a4a8b4b --- .../AudioConfig.g.cs | 181 +++++++----- .../Conversation.g.cs | 274 +++++++++++------- .../Google.Cloud.Dialogflow.V2/Session.g.cs | 104 ++++--- .../Google.Cloud.Dialogflow.V2/ToolCall.g.cs | 28 +- generator-input/pipeline-state.json | 2 +- 5 files changed, 353 insertions(+), 236 deletions(-) diff --git a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/AudioConfig.g.cs b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/AudioConfig.g.cs index fc1ea5ee0dec..fb7c8e2d47f5 100644 --- a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/AudioConfig.g.cs +++ b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/AudioConfig.g.cs @@ -32,7 +32,7 @@ static AudioConfigReflection() { "ASKSAQoOU3BlZWNoV29yZEluZm8SDAoEd29yZBgDIAEoCRIvCgxzdGFydF9v", "ZmZzZXQYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SLQoKZW5k", "X29mZnNldBgCIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhISCgpj", - "b25maWRlbmNlGAQgASgCIrYEChBJbnB1dEF1ZGlvQ29uZmlnEkYKDmF1ZGlv", + "b25maWRlbmNlGAQgASgCIuEEChBJbnB1dEF1ZGlvQ29uZmlnEkYKDmF1ZGlv", "X2VuY29kaW5nGAEgASgOMikuZ29vZ2xlLmNsb3VkLmRpYWxvZ2Zsb3cudjIu", "QXVkaW9FbmNvZGluZ0ID4EECEh4KEXNhbXBsZV9yYXRlX2hlcnR6GAIgASgF", "QgPgQQISGgoNbGFuZ3VhZ2VfY29kZRgDIAEoCUID4EECEhgKEGVuYWJsZV93", @@ -40,79 +40,80 @@ static AudioConfigReflection() { "cGVlY2hfY29udGV4dHMYCyADKAsyKS5nb29nbGUuY2xvdWQuZGlhbG9nZmxv", "dy52Mi5TcGVlY2hDb250ZXh0Eg0KBW1vZGVsGAcgASgJEkUKDW1vZGVsX3Zh", "cmlhbnQYCiABKA4yLi5nb29nbGUuY2xvdWQuZGlhbG9nZmxvdy52Mi5TcGVl", - "Y2hNb2RlbFZhcmlhbnQSGAoQc2luZ2xlX3V0dGVyYW5jZRgIIAEoCBIqCiJk", - "aXNhYmxlX25vX3NwZWVjaF9yZWNvZ25pemVkX2V2ZW50GA4gASgIEiQKHGVu", - "YWJsZV9hdXRvbWF0aWNfcHVuY3R1YXRpb24YESABKAgSOQoLcGhyYXNlX3Nl", - "dHMYFCADKAlCJPpBIQofc3BlZWNoLmdvb2dsZWFwaXMuY29tL1BocmFzZVNl", - "dBIpCiFvcHRfb3V0X2NvbmZvcm1lcl9tb2RlbF9taWdyYXRpb24YGiABKAgi", - "cAoUVm9pY2VTZWxlY3R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AK", + "FFZvaWNlU2VsZWN0aW9uUGFyYW1zEhEKBG5hbWUYASABKAlCA+BBARJFCgtz", + "c21sX2dlbmRlchgCIAEoDjIrLmdvb2dsZS5jbG91ZC5kaWFsb2dmbG93LnYy", + "LlNzbWxWb2ljZUdlbmRlckID4EEBIqACChZTeW50aGVzaXplU3BlZWNoQ29u", + "ZmlnEhoKDXNwZWFraW5nX3JhdGUYASABKAFCA+BBARISCgVwaXRjaBgCIAEo", + "AUID4EEBEhsKDnZvbHVtZV9nYWluX2RiGAMgASgBQgPgQQESHwoSZWZmZWN0", + "c19wcm9maWxlX2lkGAUgAygJQgPgQQESRAoFdm9pY2UYBCABKAsyMC5nb29n", + "bGUuY2xvdWQuZGlhbG9nZmxvdy52Mi5Wb2ljZVNlbGVjdGlvblBhcmFtc0ID", + "4EEBElIKDnByb251bmNpYXRpb25zGAYgAygLMjUuZ29vZ2xlLmNsb3VkLmRp", + "YWxvZ2Zsb3cudjIuQ3VzdG9tUHJvbnVuY2lhdGlvblBhcmFtc0ID4EEBIpYC", + "ChlDdXN0b21Qcm9udW5jaWF0aW9uUGFyYW1zEg4KBnBocmFzZRgBIAEoCRJh", + "ChFwaG9uZXRpY19lbmNvZGluZxgCIAEoDjJGLmdvb2dsZS5jbG91ZC5kaWFs", + "b2dmbG93LnYyLkN1c3RvbVByb251bmNpYXRpb25QYXJhbXMuUGhvbmV0aWNF", + "bmNvZGluZxIVCg1wcm9udW5jaWF0aW9uGAMgASgJIm8KEFBob25ldGljRW5j", + "b2RpbmcSIQodUEhPTkVUSUNfRU5DT0RJTkdfVU5TUEVDSUZJRUQQABIZChVQ", + "SE9ORVRJQ19FTkNPRElOR19JUEEQARIdChlQSE9ORVRJQ19FTkNPRElOR19Y", + "X1NBTVBBEAIi0gEKEU91dHB1dEF1ZGlvQ29uZmlnEkwKDmF1ZGlvX2VuY29k", + "aW5nGAEgASgOMi8uZ29vZ2xlLmNsb3VkLmRpYWxvZ2Zsb3cudjIuT3V0cHV0", +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CRINCglE", + "VE1GX1pFUk8QChIKCgZEVE1GX0EQCxIKCgZEVE1GX0IQDBIKCgZEVE1GX0MQ", + "DRIKCgZEVE1GX0QQDhINCglEVE1GX1NUQVIQDxIOCgpEVE1GX1BPVU5EEBAq", + "lAIKDUF1ZGlvRW5jb2RpbmcSHgoaQVVESU9fRU5DT0RJTkdfVU5TUEVDSUZJ", + "RUQQABIcChhBVURJT19FTkNPRElOR19MSU5FQVJfMTYQARIXChNBVURJT19F", + "TkNPRElOR19GTEFDEAISGAoUQVVESU9fRU5DT0RJTkdfTVVMQVcQAxIWChJB", + "VURJT19FTkNPRElOR19BTVIQBBIZChVBVURJT19FTkNPRElOR19BTVJfV0IQ", + "BRIbChdBVURJT19FTkNPRElOR19PR0dfT1BVUxAGEikKJUFVRElPX0VOQ09E", + "SU5HX1NQRUVYX1dJVEhfSEVBREVSX0JZVEUQBxIXChNBVURJT19FTkNPRElO", + "R19BTEFXEAgqdgoSU3BlZWNoTW9kZWxWYXJpYW50EiQKIFNQRUVDSF9NT0RF", + "TF9WQVJJQU5UX1VOU1BFQ0lGSUVEEAASFgoSVVNFX0JFU1RfQVZBSUxBQkxF", + "EAESEAoMVVNFX1NUQU5EQVJEEAISEAoMVVNFX0VOSEFOQ0VEEAMqjQEKD1Nz", + "bWxWb2ljZUdlbmRlchIhCh1TU01MX1ZPSUNFX0dFTkRFUl9VTlNQRUNJRklF", + "RBAAEhoKFlNTTUxfVk9JQ0VfR0VOREVSX01BTEUQARIcChhTU01MX1ZPSUNF", + "X0dFTkRFUl9GRU1BTEUQAhIdChlTU01MX1ZPSUNFX0dFTkRFUl9ORVVUUkFM", + "EAMqkAIKE091dHB1dEF1ZGlvRW5jb2RpbmcSJQohT1VUUFVUX0FVRElPX0VO", + "Q09ESU5HX1VOU1BFQ0lGSUVEEAASIwofT1VUUFVUX0FVRElPX0VOQ09ESU5H", + "X0xJTkVBUl8xNhABEiEKGU9VVFBVVF9BVURJT19FTkNPRElOR19NUDMQAhoC", + "CAESJQohT1VUUFVUX0FVRElPX0VOQ09ESU5HX01QM182NF9LQlBTEAQSIgoe", + "T1VUUFVUX0FVRElPX0VOQ09ESU5HX09HR19PUFVTEAMSHwobT1VUUFVUX0FV", + "RElPX0VOQ09ESU5HX01VTEFXEAUSHgoaT1VUUFVUX0FVRElPX0VOQ09ESU5H", + "X0FMQVcQBkLTAgoeY29tLmdvb2dsZS5jbG91ZC5kaWFsb2dmbG93LnYyQhBB", + "dWRpb0NvbmZpZ1Byb3RvUAFaPmNsb3VkLmdvb2dsZS5jb20vZ28vZGlhbG9n", + "Zmxvdy9hcGl2Mi9kaWFsb2dmbG93cGI7ZGlhbG9nZmxvd3BiogICREaqAhpH", + "b29nbGUuQ2xvdWQuRGlhbG9nZmxvdy5WMupBVQobYXV0b21sLmdvb2dsZWFw", + "aXMuY29tL01vZGVsEjZwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3ts", + "b2NhdGlvbn0vbW9kZWxzL3ttb2RlbH3qQWIKH3NwZWVjaC5nb29nbGVhcGlz", + "LmNvbS9QaHJhc2VTZXQSP3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMv", + "e2xvY2F0aW9ufS9waHJhc2VTZXRzL3twaHJhc2Vfc2V0fWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.Dialogflow.V2.TelephonyDtmf), typeof(global::Google.Cloud.Dialogflow.V2.AudioEncoding), typeof(global::Google.Cloud.Dialogflow.V2.SpeechModelVariant), typeof(global::Google.Cloud.Dialogflow.V2.SsmlVoiceGender), typeof(global::Google.Cloud.Dialogflow.V2.OutputAudioEncoding), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SpeechContext), global::Google.Cloud.Dialogflow.V2.SpeechContext.Parser, new[]{ "Phrases", "Boost" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SpeechWordInfo), global::Google.Cloud.Dialogflow.V2.SpeechWordInfo.Parser, new[]{ "Word", "StartOffset", "EndOffset", "Confidence" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.InputAudioConfig), global::Google.Cloud.Dialogflow.V2.InputAudioConfig.Parser, new[]{ "AudioEncoding", "SampleRateHertz", "LanguageCode", "EnableWordInfo", "PhraseHints", "SpeechContexts", "Model", "ModelVariant", "SingleUtterance", "DisableNoSpeechRecognizedEvent", "EnableAutomaticPunctuation", "PhraseSets", "OptOutConformerModelMigration" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.InputAudioConfig), global::Google.Cloud.Dialogflow.V2.InputAudioConfig.Parser, new[]{ "AudioEncoding", "SampleRateHertz", "LanguageCode", "EnableWordInfo", "PhraseHints", "SpeechContexts", "Model", "ModelVariant", "SingleUtterance", "EnableVoiceActivityEvents", "DisableNoSpeechRecognizedEvent", "EnableAutomaticPunctuation", "PhraseSets", "OptOutConformerModelMigration" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.VoiceSelectionParams), global::Google.Cloud.Dialogflow.V2.VoiceSelectionParams.Parser, new[]{ "Name", "SsmlGender" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SynthesizeSpeechConfig), global::Google.Cloud.Dialogflow.V2.SynthesizeSpeechConfig.Parser, new[]{ "SpeakingRate", "Pitch", "VolumeGainDb", "EffectsProfileId", "Voice", "Pronunciations" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.CustomPronunciationParams), global::Google.Cloud.Dialogflow.V2.CustomPronunciationParams.Parser, new[]{ "Phrase", "PhoneticEncoding", "Pronunciation" }, null, new[]{ typeof(global::Google.Cloud.Dialogflow.V2.CustomPronunciationParams.Types.PhoneticEncoding) }, null, null), @@ -1034,6 +1035,7 @@ public InputAudioConfig(InputAudioConfig other) : this() { model_ = other.model_; modelVariant_ = other.modelVariant_; singleUtterance_ = other.singleUtterance_; + enableVoiceActivityEvents_ = other.enableVoiceActivityEvents_; disableNoSpeechRecognizedEvent_ = other.disableNoSpeechRecognizedEvent_; enableAutomaticPunctuation_ = other.enableAutomaticPunctuation_; phraseSets_ = other.phraseSets_.Clone(); @@ -1220,6 +1222,23 @@ public bool SingleUtterance { } } + /// Field number for the "enable_voice_activity_events" field. + public const int EnableVoiceActivityEventsFieldNumber = 27; + private bool enableVoiceActivityEvents_; + /// + /// Optional. If `true`, responses with voice activity speech events will be + /// returned as they are detected. + /// Note: This setting is relevant only for streaming methods. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableVoiceActivityEvents { + get { return enableVoiceActivityEvents_; } + set { + enableVoiceActivityEvents_ = value; + } + } + /// Field number for the "disable_no_speech_recognized_event" field. public const int DisableNoSpeechRecognizedEventFieldNumber = 14; private bool disableNoSpeechRecognizedEvent_; @@ -1311,6 +1330,7 @@ public bool Equals(InputAudioConfig other) { if (Model != other.Model) return false; if (ModelVariant != other.ModelVariant) return false; if (SingleUtterance != other.SingleUtterance) return false; + if (EnableVoiceActivityEvents != other.EnableVoiceActivityEvents) return false; if (DisableNoSpeechRecognizedEvent != other.DisableNoSpeechRecognizedEvent) return false; if (EnableAutomaticPunctuation != other.EnableAutomaticPunctuation) return false; if(!phraseSets_.Equals(other.phraseSets_)) return false; @@ -1331,6 +1351,7 @@ public override int GetHashCode() { if (Model.Length != 0) hash ^= Model.GetHashCode(); if (ModelVariant != global::Google.Cloud.Dialogflow.V2.SpeechModelVariant.Unspecified) hash ^= ModelVariant.GetHashCode(); if (SingleUtterance != false) hash ^= SingleUtterance.GetHashCode(); + if (EnableVoiceActivityEvents != false) hash ^= EnableVoiceActivityEvents.GetHashCode(); if (DisableNoSpeechRecognizedEvent != false) hash ^= DisableNoSpeechRecognizedEvent.GetHashCode(); if (EnableAutomaticPunctuation != false) hash ^= EnableAutomaticPunctuation.GetHashCode(); hash ^= phraseSets_.GetHashCode(); @@ -1396,6 +1417,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(208, 1); output.WriteBool(OptOutConformerModelMigration); } + if (EnableVoiceActivityEvents != false) { + output.WriteRawTag(216, 1); + output.WriteBool(EnableVoiceActivityEvents); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1449,6 +1474,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(208, 1); output.WriteBool(OptOutConformerModelMigration); } + if (EnableVoiceActivityEvents != false) { + output.WriteRawTag(216, 1); + output.WriteBool(EnableVoiceActivityEvents); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1482,6 +1511,9 @@ public int CalculateSize() { if (SingleUtterance != false) { size += 1 + 1; } + if (EnableVoiceActivityEvents != false) { + size += 2 + 1; + } if (DisableNoSpeechRecognizedEvent != false) { size += 1 + 1; } @@ -1527,6 +1559,9 @@ public void MergeFrom(InputAudioConfig other) { if (other.SingleUtterance != false) { SingleUtterance = other.SingleUtterance; } + if (other.EnableVoiceActivityEvents != false) { + EnableVoiceActivityEvents = other.EnableVoiceActivityEvents; + } if (other.DisableNoSpeechRecognizedEvent != false) { DisableNoSpeechRecognizedEvent = other.DisableNoSpeechRecognizedEvent; } @@ -1608,6 +1643,10 @@ public void MergeFrom(pb::CodedInputStream input) { OptOutConformerModelMigration = input.ReadBool(); break; } + case 216: { + EnableVoiceActivityEvents = input.ReadBool(); + break; + } } } #endif @@ -1679,6 +1718,10 @@ public void MergeFrom(pb::CodedInputStream input) { OptOutConformerModelMigration = input.ReadBool(); break; } + case 216: { + EnableVoiceActivityEvents = input.ReadBool(); + break; + } } } } diff --git a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Conversation.g.cs b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Conversation.g.cs index 69eae7d2e837..07ac615eaae9 100644 --- a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Conversation.g.cs +++ b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Conversation.g.cs @@ -245,7 +245,7 @@ static ConversationReflection() { "ABIKCgZMSU5FQVIQARo8CgtGaWx0ZXJTcGVjcxIYCgtkYXRhX3N0b3JlcxgB", "IAMoCUID4EEBEhMKBmZpbHRlchgCIAEoCUID4EEBIlEKC1F1ZXJ5U291cmNl", "EhwKGFFVRVJZX1NPVVJDRV9VTlNQRUNJRklFRBAAEg8KC0FHRU5UX1FVRVJZ", - "EAESEwoPU1VHR0VTVEVEX1FVRVJZEAIipAQKGFNlYXJjaEtub3dsZWRnZURl", + "EAESEwoPU1VHR0VTVEVEX1FVRVJZEAIi2gQKGFNlYXJjaEtub3dsZWRnZURl", "YnVnSW5mbxJWChlkYXRhc3RvcmVfcmVzcG9uc2VfcmVhc29uGAEgASgOMjMu", "Z29vZ2xlLmNsb3VkLmRpYWxvZ2Zsb3cudjIuRGF0YXN0b3JlUmVzcG9uc2VS", "ZWFzb24SbwoZc2VhcmNoX2tub3dsZWRnZV9iZWhhdmlvchgCIAEoCzJMLmdv", @@ -254,116 +254,117 @@ static ConversationReflection() { "ZXh0X3JlZmVyZW5jZV9kZWJ1Z19pbmZvGAMgASgLMj0uZ29vZ2xlLmNsb3Vk", "LmRpYWxvZ2Zsb3cudjIuSW5nZXN0ZWRDb250ZXh0UmVmZXJlbmNlRGVidWdJ", "bmZvEkMKD3NlcnZpY2VfbGF0ZW5jeRgEIAEoCzIqLmdvb2dsZS5jbG91ZC5k", - "aWFsb2dm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SP3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0", + "aW9ufS9kYXRhU3RvcmVzL3tkYXRhX3N0b3JlfepBWgoXY2VzLmdvb2dsZWFw", + "aXMuY29tL1Rvb2wSP3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xv", + "Y2F0aW9ufS9hcHBzL3thcHB9L3Rvb2xzL3t0b29sfWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.ConversationProfileReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.GeneratorReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.ParticipantReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.SessionReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -391,7 +392,7 @@ static ConversationReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionResponse), global::Google.Cloud.Dialogflow.V2.GenerateStatelessSuggestionResponse.Parser, new[]{ "GeneratorSuggestion" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Parser, new[]{ "Parent", "Query", "ConversationProfile", "SessionId", "Conversation", "LatestMessage", "QuerySource", "EndUserMetadata", "SearchConfig", "ExactSearch" }, null, new[]{ typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.QuerySource) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Parser, new[]{ "BoostSpecs", "FilterSpecs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Parser, new[]{ "DataStores", "Spec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Parser, new[]{ "ConditionBoostSpecs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Parser, new[]{ "Condition", "Boost", "BoostControlSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Parser, new[]{ "FieldName", "AttributeType", "InterpolationType", "ControlPoints" }, null, new[]{ typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.AttributeType), typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.InterpolationType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.ControlPoint), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.BoostSpecs.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.ControlPoint.Parser, new[]{ "AttributeValue", "BoostAmount" }, null, null, null, null)})})})}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.FilterSpecs), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeRequest.Types.SearchConfig.Types.FilterSpecs.Parser, new[]{ "DataStores", "Filter" }, null, null, null, null)})}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo.Parser, new[]{ "DatastoreResponseReason", "SearchKnowledgeBehavior", "IngestedContextReferenceDebugInfo", "ServiceLatency" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo.Types.SearchKnowledgeBehavior), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo.Types.SearchKnowledgeBehavior.Parser, new[]{ "AnswerGenerationRewriterOn", "EndUserMetadataIncluded", "ThirdPartyConnectorAllowed" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo.Parser, new[]{ "DatastoreResponseReason", "SearchKnowledgeBehavior", "IngestedContextReferenceDebugInfo", "ServiceLatency", "CesDebugInfo" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo.Types.SearchKnowledgeBehavior), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeDebugInfo.Types.SearchKnowledgeBehavior.Parser, new[]{ "AnswerGenerationRewriterOn", "EndUserMetadataIncluded", "ThirdPartyConnectorAllowed" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeResponse), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeResponse.Parser, new[]{ "Answers", "RewrittenQuery", "SearchKnowledgeDebugInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeAnswer), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeAnswer.Parser, new[]{ "Answer", "AnswerType", "AnswerSources", "AnswerRecord" }, null, new[]{ typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeAnswer.Types.AnswerType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.SearchKnowledgeAnswer.Types.AnswerSource), global::Google.Cloud.Dialogflow.V2.SearchKnowledgeAnswer.Types.AnswerSource.Parser, new[]{ "Title", "Uri", "Snippet", "Metadata" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2.GenerateSuggestionsRequest), global::Google.Cloud.Dialogflow.V2.GenerateSuggestionsRequest.Parser, new[]{ "Conversation", "LatestMessage", "TriggerEvents" }, null, null, null, null) @@ -11125,6 +11126,7 @@ public SearchKnowledgeDebugInfo(SearchKnowledgeDebugInfo other) : this() { searchKnowledgeBehavior_ = other.searchKnowledgeBehavior_ != null ? other.searchKnowledgeBehavior_.Clone() : null; ingestedContextReferenceDebugInfo_ = other.ingestedContextReferenceDebugInfo_ != null ? other.ingestedContextReferenceDebugInfo_.Clone() : null; serviceLatency_ = other.serviceLatency_ != null ? other.serviceLatency_.Clone() : null; + cesDebugInfo_ = other.cesDebugInfo_ != null ? other.cesDebugInfo_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -11195,6 +11197,21 @@ public SearchKnowledgeDebugInfo Clone() { } } + /// Field number for the "ces_debug_info" field. + public const int CesDebugInfoFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Struct cesDebugInfo_; + /// + /// Optional. Debug info from the Customer Engagement Suite (CES) execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Struct CesDebugInfo { + get { return cesDebugInfo_; } + set { + cesDebugInfo_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -11214,6 +11231,7 @@ public bool Equals(SearchKnowledgeDebugInfo other) { if (!object.Equals(SearchKnowledgeBehavior, other.SearchKnowledgeBehavior)) return false; if (!object.Equals(IngestedContextReferenceDebugInfo, other.IngestedContextReferenceDebugInfo)) return false; if (!object.Equals(ServiceLatency, other.ServiceLatency)) return false; + if (!object.Equals(CesDebugInfo, other.CesDebugInfo)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -11225,6 +11243,7 @@ public override int GetHashCode() { if (searchKnowledgeBehavior_ != null) hash ^= SearchKnowledgeBehavior.GetHashCode(); if (ingestedContextReferenceDebugInfo_ != null) hash ^= IngestedContextReferenceDebugInfo.GetHashCode(); if (serviceLatency_ != null) hash ^= ServiceLatency.GetHashCode(); + if (cesDebugInfo_ != null) hash ^= CesDebugInfo.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11259,6 +11278,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(34); output.WriteMessage(ServiceLatency); } + if (cesDebugInfo_ != null) { + output.WriteRawTag(42); + output.WriteMessage(CesDebugInfo); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -11285,6 +11308,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(34); output.WriteMessage(ServiceLatency); } + if (cesDebugInfo_ != null) { + output.WriteRawTag(42); + output.WriteMessage(CesDebugInfo); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -11307,6 +11334,9 @@ public int CalculateSize() { if (serviceLatency_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ServiceLatency); } + if (cesDebugInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CesDebugInfo); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -11340,6 +11370,12 @@ public void MergeFrom(SearchKnowledgeDebugInfo other) { } ServiceLatency.MergeFrom(other.ServiceLatency); } + if (other.cesDebugInfo_ != null) { + if (cesDebugInfo_ == null) { + CesDebugInfo = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + CesDebugInfo.MergeFrom(other.CesDebugInfo); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -11384,6 +11420,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ServiceLatency); break; } + case 42: { + if (cesDebugInfo_ == null) { + CesDebugInfo = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(CesDebugInfo); + break; + } } } #endif @@ -11428,6 +11471,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ServiceLatency); break; } + case 42: { + if (cesDebugInfo_ == null) { + CesDebugInfo = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(CesDebugInfo); + break; + } } } } diff --git a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Session.g.cs b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Session.g.cs index 4eb8c80263c7..c2e9da34cb15 100644 --- a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Session.g.cs +++ b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/Session.g.cs @@ -121,7 +121,7 @@ static SessionReflection() { "cHV0X2F1ZGlvGAUgASgMEkoKE291dHB1dF9hdWRpb19jb25maWcYBiABKAsy", "LS5nb29nbGUuY2xvdWQuZGlhbG9nZmxvdy52Mi5PdXRwdXRBdWRpb0NvbmZp", "ZxJSCg5kZWJ1Z2dpbmdfaW5mbxgIIAEoCzI6Lmdvb2dsZS5jbG91ZC5kaWFs", - "b2dmbG93LnYyLkNsb3VkQ29udmVyc2F0aW9uRGVidWdnaW5nSW5mbyKdAwoa", + "b2dmbG93LnYyLkNsb3VkQ29udmVyc2F0aW9uRGVidWdnaW5nSW5mbyL8Awoa", "U3RyZWFtaW5nUmVjb2duaXRpb25SZXN1bHQSWAoMbWVzc2FnZV90eXBlGAEg", "ASgOMkIuZ29vZ2xlLmNsb3VkLmRpYWxvZ2Zsb3cudjIuU3RyZWFtaW5nUmVj", "b2duaXRpb25SZXN1bHQuTWVzc2FnZVR5cGUSEgoKdHJhbnNjcmlwdBgCIAEo", @@ -129,45 +129,47 @@ static SessionReflection() { "ZWVjaF93b3JkX2luZm8YByADKAsyKi5nb29nbGUuY2xvdWQuZGlhbG9nZmxv", "dy52Mi5TcGVlY2hXb3JkSW5mbxI0ChFzcGVlY2hfZW5kX29mZnNldBgIIAEo", "CzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhIVCg1sYW5ndWFnZV9jb2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Ro", + "L2RpYWxvZ2Zsb3dC5wMKHmNvbS5nb29nbGUuY2xvdWQuZGlhbG9nZmxvdy52", + "MkIMU2Vzc2lvblByb3RvUAFaPmNsb3VkLmdvb2dsZS5jb20vZ28vZGlhbG9n", + "Zmxvdy9hcGl2Mi9kaWFsb2dmbG93cGI7ZGlhbG9nZmxvd3BiogICREaqAhpH", + "b29nbGUuQ2xvdWQuRGlhbG9nZmxvdy5WMupB0QIKIWRpYWxvZ2Zsb3cuZ29v", + "Z2xlYXBpcy5jb20vU2Vzc2lvbhIrcHJvamVjdHMve3Byb2plY3R9L2FnZW50", + "L3Nlc3Npb25zL3tzZXNzaW9ufRJTcHJvamVjdHMve3Byb2plY3R9L2FnZW50", + "L2Vudmlyb25tZW50cy97ZW52aXJvbm1lbnR9L3VzZXJzL3t1c2VyfS9zZXNz", + "aW9ucy97c2Vzc2lvbn0SQHByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMv", + "e2xvY2F0aW9ufS9hZ2VudC9zZXNzaW9ucy97c2Vzc2lvbn0SaHByb2plY3Rz", + "L3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9hZ2VudC9lbnZpcm9u", + "bWVudHMve2Vudmlyb25tZW50fS91c2Vycy97dXNlcn0vc2Vzc2lvbnMve3Nl", + "c3Npb259YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.AudioConfigReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.ContextReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.IntentReflection.Descriptor, global::Google.Cloud.Dialogflow.V2.SessionEntityTypeReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, global::Google.Type.LatlngReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -5400,6 +5402,10 @@ public enum MessageType { /// [pbr::OriginalName("TRANSCRIPT")] Transcript = 1, /// + /// Message contains DTMF digits. + /// + [pbr::OriginalName("DTMF_DIGITS")] DtmfDigits = 3, + /// /// This event indicates that the server has detected the end of the user's /// speech utterance and expects no additional inputs. /// Therefore, the server will not process additional audio (although it may @@ -5410,6 +5416,24 @@ public enum MessageType { /// used otherwise. /// [pbr::OriginalName("END_OF_SINGLE_UTTERANCE")] EndOfSingleUtterance = 2, + /// + /// Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, + /// a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected + /// up to the time of sending, which represents an intermediate result. + /// + [pbr::OriginalName("PARTIAL_DTMF_DIGITS")] PartialDtmfDigits = 4, + /// + /// This event indicates that the server has detected the beginning of human + /// voice activity in the stream. This event can be returned multiple times + /// if speech starts and stops repeatedly throughout the stream. + /// + [pbr::OriginalName("SPEECH_ACTIVITY_BEGIN")] SpeechActivityBegin = 5, + /// + /// This event indicates that the server has detected the end of human voice + /// activity in the stream. This event can be returned multiple times if + /// speech starts and stops repeatedly throughout the stream. + /// + [pbr::OriginalName("SPEECH_ACTIVITY_END")] SpeechActivityEnd = 6, } } diff --git a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/ToolCall.g.cs b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/ToolCall.g.cs index be83dcb0f059..d80a7a31212b 100644 --- a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/ToolCall.g.cs +++ b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/ToolCall.g.cs @@ -41,22 +41,22 @@ static To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sUHJvdG9Q", - "AVo+Y2xvdWQuZ29vZ2xlLmNvbS9nby9kaWFsb2dmbG93L2FwaXYyL2RpYWxv", - "Z2Zsb3dwYjtkaWFsb2dmbG93cGKiAgJERqoCGkdvb2dsZS5DbG91ZC5EaWFs", - "b2dmbG93LlYyYgZwcm90bzM=")); + "ABITCgZhY3Rpb24YAiABKAlCA+BBARJGCgVlcnJvchgDIAEoCzIwLmdvb2ds", + "ZS5jbG91ZC5kaWFsb2dmbG93LnYyLlRvb2xDYWxsUmVzdWx0LkVycm9yQgPg", + "QQFIARIaCgtyYXdfY29udGVudBgFIAEoDEID4EEBSAESFgoHY29udGVudBgG", + "IAEoCUID4EEBSAESNAoLY3JlYXRlX3RpbWUYByABKAsyGi5nb29nbGUucHJv", + "dG9idWYuVGltZXN0YW1wQgPgQQMSGgoNYW5zd2VyX3JlY29yZBgJIAEoCUID", + "4EEBGh0KBUVycm9yEhQKB21lc3NhZ2UYASABKAlCA+BBAUIICgZzb3VyY2VC", + "CAoGcmVzdWx0QpMBCh5jb20uZ29vZ2xlLmNsb3VkLmRpYWxvZ2Zsb3cudjJC", + "DVRvb2xDYWxsUHJvdG9QAVo+Y2xvdWQuZ29vZ2xlLmNvbS9nby9kaWFsb2dm", + "bG93L2FwaXYyL2RpYWxvZ2Zsb3dwYjtkaWFsb2dmbG93cGKiAgJERqoCGkdv", + "b2dsZS5DbG91ZC5EaWFsb2dmbG93LlYyYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -1038,7 +1038,7 @@ public string Action { /// Field number for the "error" field. public const int ErrorFieldNumber = 3; /// - /// The tool call's error. + /// Optional. The tool call's error. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1053,7 +1053,7 @@ public string Action { /// Field number for the "raw_content" field. public const int RawContentFieldNumber = 5; /// - /// Only populated if the response content is not utf-8 encoded. + /// Optional. Only populated if the response content is not utf-8 encoded. /// (by definition byte fields are base64 encoded). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1083,7 +1083,7 @@ public void ClearRawContent() { /// Field number for the "content" field. public const int ContentFieldNumber = 6; /// - /// Only populated if the response content is utf-8 encoded. + /// Optional. Only populated if the response content is utf-8 encoded. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/generator-input/pipeline-state.json b/generator-input/pipeline-state.json index 1bd86a2f3a7d..66cad3dfec72 100644 --- a/generator-input/pipeline-state.json +++ b/generator-input/pipeline-state.json @@ -1402,7 +1402,7 @@ "generationAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseTimestamp": "2026-06-22T17:58:17.121870293Z", - "lastGeneratedCommit": "f548abb6c8d16b0895dcb4ea2391e10e20fba4a0", + "lastGeneratedCommit": "8a2919cce0ab2cddb7659c797256f21c1a4a8b4b", "lastReleasedCommit": "f548abb6c8d16b0895dcb4ea2391e10e20fba4a0", "apiPaths": [ "google/cloud/dialogflow/v2" From 4a7aa46db05379535e91594622c275b78fdeaa44 Mon Sep 17 00:00:00 2001 From: Google Cloud SDK Librarian Date: Mon, 29 Jun 2026 07:10:55 +0000 Subject: [PATCH 3/5] regen: Regenerate Google.Cloud.Dialogflow.V2Beta1 at API commit 0a38d04 feat: speech activity event is configurable through InputAudioConfig.enable_voice_activity_events PiperOrigin-RevId: 938734679 Source-Link: https://github.com/googleapis/googleapis/commit/0a38d04e5f6c265e74a994240b762c22666329a5 --- .../AudioConfig.g.cs | 189 +++++++++++------- generator-input/pipeline-state.json | 2 +- 2 files changed, 117 insertions(+), 74 deletions(-) diff --git a/apis/Google.Cloud.Dialogflow.V2Beta1/Google.Cloud.Dialogflow.V2Beta1/AudioConfig.g.cs b/apis/Google.Cloud.Dialogflow.V2Beta1/Google.Cloud.Dialogflow.V2Beta1/AudioConfig.g.cs index f96e79a35a63..7f50d9eb3458 100644 --- a/apis/Google.Cloud.Dialogflow.V2Beta1/Google.Cloud.Dialogflow.V2Beta1/AudioConfig.g.cs +++ b/apis/Google.Cloud.Dialogflow.V2Beta1/Google.Cloud.Dialogflow.V2Beta1/AudioConfig.g.cs @@ -35,7 +35,7 @@ static AudioConfigReflection() { "YXRpb24SEgoKY29uZmlkZW5jZRgEIAEoAiJ7Cg1CYXJnZUluQ29uZmlnEjcK", "FG5vX2JhcmdlX2luX2R1cmF0aW9uGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVm", "LkR1cmF0aW9uEjEKDnRvdGFsX2R1cmF0aW9uGAIgASgLMhkuZ29vZ2xlLnBy", - "b3RvYnVmLkR1cmF0aW9uIswFChBJbnB1dEF1ZGlvQ29uZmlnEksKDmF1ZGlv", + "b3RvYnVmLkR1cmF0aW9uIvcFChBJbnB1dEF1ZGlvQ29uZmlnEksKDmF1ZGlv", "X2VuY29kaW5nGAEgASgOMi4uZ29vZ2xlLmNsb3VkLmRpYWxvZ2Zsb3cudjJi", "ZXRhMS5BdWRpb0VuY29kaW5nQgPgQQISHgoRc2FtcGxlX3JhdGVfaGVydHoY", "AiABKAVCA+BBAhIaCg1sYW5ndWFnZV9jb2RlGAMgASgJQgPgQQISGAoQZW5h", @@ -44,84 +44,85 @@ static AudioConfigReflection() { "b2dmbG93LnYyYmV0YTEuU3BlZWNoQ29udGV4dBINCgVtb2RlbBgHIAEoCRJK", "Cg1tb2RlbF92YXJpYW50GAogASgOMjMuZ29vZ2xlLmNsb3VkLmRpYWxvZ2Zs", "b3cudjJiZXRhMS5TcGVlY2hNb2RlbFZhcml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mdvb2dsZWFwaXMuY29tL1BocmFzZVNldBJGCg5h", - "dWRpb19lbmNvZGluZxgGIAEoDjIuLmdvb2dsZS5jbG91ZC5kaWFsb2dmbG93", - "LnYyYmV0YTEuQXVkaW9FbmNvZGluZxIZChFzYW1wbGVfcmF0ZV9oZXJ0ehgH", - "IAEoBRIVCg1sYW5ndWFnZV9jb2RlGAggASgJEhgKEGVuYWJsZV93b3JkX2lu", - "Zm8YCSABKAgSJQoddXNlX3RpbWVvdXRfYmFzZWRfZW5kcG9pbnRpbmcYCyAB", - "KAgqlAIKDVRlbGVwaG9ueUR0bWYSHgoaVEVMRVBIT05ZX0RUTUZfVU5TUEVD", - "SUZJRUQQABIMCghEVE1GX09ORRABEgwKCERUTUZfVFdPEAISDgoKRFRNRl9U", - "SFJFRRADEg0KCURUTUZfRk9VUhAEEg0KCURUTUZfRklWRRAFEgwKCERUTUZf", - "U0lYEAYSDgoKRFRNRl9TRVZFThAHEg4KCkRUTUZfRUlHSFQQCBINCglEVE1G", - "X05JTkUQCRINCglEVE1GX1pFUk8QChIKCgZEVE1GX0EQCxIKCgZEVE1GX0IQ", - "DBIKCgZEVE1GX0MQDRIKCgZEVE1GX0QQDhINCglEVE1GX1NUQVIQDxIOCgpE", - "VE1GX1BPVU5EEBAqlAIKDUF1ZGlvRW5jb2RpbmcSHgoaQVVESU9fRU5DT0RJ", - "TkdfVU5TUEVDSUZJRUQQABIcChhBVURJT19FTkNPRElOR19MSU5FQVJfMTYQ", - "ARIXChNBVURJT19FTkNPRElOR19GTEFDEAISGAoUQVVESU9fRU5DT0RJTkdf", - "TVVMQVcQAxIWChJBVURJT19FTkNPRElOR19BTVIQBBIZChVBVURJT19FTkNP", - "RElOR19BTVJfV0IQBRIbChdBVURJT19FTkNPRElOR19PR0dfT1BVUxAGEikK", - "JUFVRElPX0VOQ09ESU5HX1NQRUVYX1dJVEhfSEVBREVSX0JZVEUQBxIXChNB", - "VURJT19FTkNPRElOR19BTEFXEAgqdgoSU3BlZ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BQxACEhgKFEFVRElPX0VOQ09ESU5HX01V", + "TEFXEAMSFgoSQVVESU9fRU5DT0RJTkdfQU1SEAQSGQoVQVVESU9fRU5DT0RJ", + "TkdfQU1SX1dCEAUSGwoXQVVESU9fRU5DT0RJTkdfT0dHX09QVVMQBhIpCiVB", + "VURJT19FTkNPRElOR19TUEVFWF9XSVRIX0hFQURFUl9CWVRFEAcSFwoTQVVE", + "SU9fRU5DT0RJTkdfQUxBVxAIKnYKElNwZWVjaE1vZGVsVmFyaWFudBIkCiBT", + "UEVFQ0hfTU9ERUxfVkFSSUFOVF9VTlNQRUNJRklFRBAAEhYKElVTRV9CRVNU", + "X0FWQUlMQUJMRRABEhAKDFVTRV9TVEFOREFSRBACEhAKDFVTRV9FTkhBTkNF", + "RBADKo0BCg9Tc21sVm9pY2VHZW5kZXISIQodU1NNTF9WT0lDRV9HRU5ERVJf", + "VU5TUEVDSUZJRUQQABIaChZTU01MX1ZPSUNFX0dFTkRFUl9NQUxFEAESHAoY", + "U1NNTF9WT0lDRV9HRU5ERVJfRkVNQUxFEAISHQoZU1NNTF9WT0lDRV9HRU5E", + "RVJfTkVVVFJBTBADKpACChNPdXRwdXRBdWRpb0VuY29kaW5nEiUKIU9VVFBV", + "VF9BVURJT19FTkNPRElOR19VTlNQRUNJRklFRBAAEiMKH09VVFBVVF9BVURJ", + "T19FTkNPRElOR19MSU5FQVJfMTYQARIhChlPVVRQVVRfQVVESU9fRU5DT0RJ", + "TkdfTVAzEAIaAggBEiUKIU9VVFBVVF9BVURJT19FTkNPRElOR19NUDNfNjRf", + "S0JQUxAEEiIKHk9VVFBVVF9BVURJT19FTkNPRElOR19PR0dfT1BVUxADEh8K", + "G09VVFBVVF9BVURJT19FTkNPRElOR19NVUxBVxAFEh4KGk9VVFBVVF9BVURJ", + "T19FTkNPRElOR19BTEFXEAZC4gIKI2NvbS5nb29nbGUuY2xvdWQuZGlhbG9n", + "Zmxvdy52MmJldGExQhBBdWRpb0NvbmZpZ1Byb3RvUAFaQ2Nsb3VkLmdvb2ds", + "ZS5jb20vZ28vZGlhbG9nZmxvdy9hcGl2MmJldGExL2RpYWxvZ2Zsb3dwYjtk", + "aWFsb2dmbG93cGKiAgJERqoCH0dvb2dsZS5DbG91ZC5EaWFsb2dmbG93LlYy", + "QmV0YTHqQVUKG2F1dG9tbC5nb29nbGVhcGlzLmNvbS9Nb2RlbBI2cHJvamVj", + "dHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L21vZGVscy97bW9k", + "ZWx96kFiCh9zcGVlY2guZ29vZ2xlYXBpcy5jb20vUGhyYXNlU2V0Ej9wcm9q", + "ZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vcGhyYXNlU2V0", + "cy97cGhyYXNlX3NldH1iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.Dialogflow.V2Beta1.TelephonyDtmf), typeof(global::Google.Cloud.Dialogflow.V2Beta1.AudioEncoding), typeof(global::Google.Cloud.Dialogflow.V2Beta1.SpeechModelVariant), typeof(global::Google.Cloud.Dialogflow.V2Beta1.SsmlVoiceGender), typeof(global::Google.Cloud.Dialogflow.V2Beta1.OutputAudioEncoding), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.SpeechContext), global::Google.Cloud.Dialogflow.V2Beta1.SpeechContext.Parser, new[]{ "Phrases", "Boost" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.SpeechWordInfo), global::Google.Cloud.Dialogflow.V2Beta1.SpeechWordInfo.Parser, new[]{ "Word", "StartOffset", "EndOffset", "Confidence" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.BargeInConfig), global::Google.Cloud.Dialogflow.V2Beta1.BargeInConfig.Parser, new[]{ "NoBargeInDuration", "TotalDuration" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.InputAudioConfig), global::Google.Cloud.Dialogflow.V2Beta1.InputAudioConfig.Parser, new[]{ "AudioEncoding", "SampleRateHertz", "LanguageCode", "EnableWordInfo", "PhraseHints", "SpeechContexts", "Model", "ModelVariant", "SingleUtterance", "DisableNoSpeechRecognizedEvent", "BargeInConfig", "EnableAutomaticPunctuation", "DefaultNoSpeechTimeout", "PhraseSets", "OptOutConformerModelMigration" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.InputAudioConfig), global::Google.Cloud.Dialogflow.V2Beta1.InputAudioConfig.Parser, new[]{ "AudioEncoding", "SampleRateHertz", "LanguageCode", "EnableWordInfo", "PhraseHints", "SpeechContexts", "Model", "ModelVariant", "SingleUtterance", "EnableVoiceActivityEvents", "DisableNoSpeechRecognizedEvent", "BargeInConfig", "EnableAutomaticPunctuation", "DefaultNoSpeechTimeout", "PhraseSets", "OptOutConformerModelMigration" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.VoiceSelectionParams), global::Google.Cloud.Dialogflow.V2Beta1.VoiceSelectionParams.Parser, new[]{ "Name", "SsmlGender" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.SynthesizeSpeechConfig), global::Google.Cloud.Dialogflow.V2Beta1.SynthesizeSpeechConfig.Parser, new[]{ "SpeakingRate", "Pitch", "VolumeGainDb", "EffectsProfileId", "Voice", "Pronunciations" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dialogflow.V2Beta1.CustomPronunciationParams), global::Google.Cloud.Dialogflow.V2Beta1.CustomPronunciationParams.Parser, new[]{ "Phrase", "PhoneticEncoding", "Pronunciation" }, null, new[]{ typeof(global::Google.Cloud.Dialogflow.V2Beta1.CustomPronunciationParams.Types.PhoneticEncoding) }, null, null), @@ -1341,6 +1342,7 @@ public InputAudioConfig(InputAudioConfig other) : this() { model_ = other.model_; modelVariant_ = other.modelVariant_; singleUtterance_ = other.singleUtterance_; + enableVoiceActivityEvents_ = other.enableVoiceActivityEvents_; disableNoSpeechRecognizedEvent_ = other.disableNoSpeechRecognizedEvent_; bargeInConfig_ = other.bargeInConfig_ != null ? other.bargeInConfig_.Clone() : null; enableAutomaticPunctuation_ = other.enableAutomaticPunctuation_; @@ -1529,6 +1531,23 @@ public bool SingleUtterance { } } + /// Field number for the "enable_voice_activity_events" field. + public const int EnableVoiceActivityEventsFieldNumber = 27; + private bool enableVoiceActivityEvents_; + /// + /// Optional. If `true`, responses with voice activity speech events will be + /// returned as they are detected. + /// Note: This setting is relevant only for streaming methods. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableVoiceActivityEvents { + get { return enableVoiceActivityEvents_; } + set { + enableVoiceActivityEvents_ = value; + } + } + /// Field number for the "disable_no_speech_recognized_event" field. public const int DisableNoSpeechRecognizedEventFieldNumber = 14; private bool disableNoSpeechRecognizedEvent_; @@ -1651,6 +1670,7 @@ public bool Equals(InputAudioConfig other) { if (Model != other.Model) return false; if (ModelVariant != other.ModelVariant) return false; if (SingleUtterance != other.SingleUtterance) return false; + if (EnableVoiceActivityEvents != other.EnableVoiceActivityEvents) return false; if (DisableNoSpeechRecognizedEvent != other.DisableNoSpeechRecognizedEvent) return false; if (!object.Equals(BargeInConfig, other.BargeInConfig)) return false; if (EnableAutomaticPunctuation != other.EnableAutomaticPunctuation) return false; @@ -1673,6 +1693,7 @@ public override int GetHashCode() { if (Model.Length != 0) hash ^= Model.GetHashCode(); if (ModelVariant != global::Google.Cloud.Dialogflow.V2Beta1.SpeechModelVariant.Unspecified) hash ^= ModelVariant.GetHashCode(); if (SingleUtterance != false) hash ^= SingleUtterance.GetHashCode(); + if (EnableVoiceActivityEvents != false) hash ^= EnableVoiceActivityEvents.GetHashCode(); if (DisableNoSpeechRecognizedEvent != false) hash ^= DisableNoSpeechRecognizedEvent.GetHashCode(); if (bargeInConfig_ != null) hash ^= BargeInConfig.GetHashCode(); if (EnableAutomaticPunctuation != false) hash ^= EnableAutomaticPunctuation.GetHashCode(); @@ -1748,6 +1769,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(208, 1); output.WriteBool(OptOutConformerModelMigration); } + if (EnableVoiceActivityEvents != false) { + output.WriteRawTag(216, 1); + output.WriteBool(EnableVoiceActivityEvents); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1809,6 +1834,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(208, 1); output.WriteBool(OptOutConformerModelMigration); } + if (EnableVoiceActivityEvents != false) { + output.WriteRawTag(216, 1); + output.WriteBool(EnableVoiceActivityEvents); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1842,6 +1871,9 @@ public int CalculateSize() { if (SingleUtterance != false) { size += 1 + 1; } + if (EnableVoiceActivityEvents != false) { + size += 2 + 1; + } if (DisableNoSpeechRecognizedEvent != false) { size += 1 + 1; } @@ -1893,6 +1925,9 @@ public void MergeFrom(InputAudioConfig other) { if (other.SingleUtterance != false) { SingleUtterance = other.SingleUtterance; } + if (other.EnableVoiceActivityEvents != false) { + EnableVoiceActivityEvents = other.EnableVoiceActivityEvents; + } if (other.DisableNoSpeechRecognizedEvent != false) { DisableNoSpeechRecognizedEvent = other.DisableNoSpeechRecognizedEvent; } @@ -2000,6 +2035,10 @@ public void MergeFrom(pb::CodedInputStream input) { OptOutConformerModelMigration = input.ReadBool(); break; } + case 216: { + EnableVoiceActivityEvents = input.ReadBool(); + break; + } } } #endif @@ -2085,6 +2124,10 @@ public void MergeFrom(pb::CodedInputStream input) { OptOutConformerModelMigration = input.ReadBool(); break; } + case 216: { + EnableVoiceActivityEvents = input.ReadBool(); + break; + } } } } diff --git a/generator-input/pipeline-state.json b/generator-input/pipeline-state.json index 66cad3dfec72..f7a97f1668d7 100644 --- a/generator-input/pipeline-state.json +++ b/generator-input/pipeline-state.json @@ -1417,7 +1417,7 @@ "generationAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseTimestamp": "2026-06-22T18:00:16.427569482Z", - "lastGeneratedCommit": "21ebf267616ce5544deb088c6f8afb84271cf30c", + "lastGeneratedCommit": "0a38d04e5f6c265e74a994240b762c22666329a5", "lastReleasedCommit": "e9195b36c9896e43fc9fa38793b66b5cf1d59b50", "apiPaths": [ "google/cloud/dialogflow/v2beta1" From aa5806d5f6b239c56204c4cf12b6df35a6645961 Mon Sep 17 00:00:00 2001 From: Google Cloud SDK Librarian Date: Mon, 29 Jun 2026 07:11:50 +0000 Subject: [PATCH 4/5] regen: Regenerate Google.Cloud.DiscoveryEngine.V1Beta at API commit f054d2a feat(discoveryengine): regenerate v1beta proto snapshot for feature parity with v1 Publishes the full v1beta API surface including services and methods present in v1main but missing from the stale v1beta snapshot (engine_service, control_service, data_store_service, project_service, site_search_engine_service, rank_service, grounded_generation_service, search_tuning_service, etc.), plus v1beta-specific fields like region_code on SearchRequest. PiperOrigin-RevId: 932931724 Source-Link: https://github.com/googleapis/googleapis/commit/f054d2af61fffbfab799c6737315ceb613a80f2c --- ...erviceClient.GetAclConfigAsyncSnippet.g.cs | 44 + ...GetAclConfigRequestObjectAsyncSnippet.g.cs | 47 + ...ient.GetAclConfigRequestObjectSnippet.g.cs | 46 + ...GetAclConfigResourceNamesAsyncSnippet.g.cs | 44 + ...ient.GetAclConfigResourceNamesSnippet.g.cs | 43 + ...nfigServiceClient.GetAclConfigSnippet.g.cs | 43 + ...ateAclConfigRequestObjectAsyncSnippet.g.cs | 47 + ...t.UpdateAclConfigRequestObjectSnippet.g.cs | 46 + ...ateAssistantRequestObjectAsyncSnippet.g.cs | 49 + ...t.CreateAssistantRequestObjectSnippet.g.cs | 48 + ...iceClient.DeleteAssistantAsyncSnippet.g.cs | 44 + ...eteAssistantRequestObjectAsyncSnippet.g.cs | 47 + ...t.DeleteAssistantRequestObjectSnippet.g.cs | 46 + ...eteAssistantResourceNamesAsyncSnippet.g.cs | 44 + ...t.DeleteAssistantResourceNamesSnippet.g.cs | 43 + ...tServiceClient.DeleteAssistantSnippet.g.cs | 43 + ...erviceClient.GetAssistantAsyncSnippet.g.cs | 44 + ...GetAssistantRequestObjectAsyncSnippet.g.cs | 47 + ...ient.GetAssistantRequestObjectSnippet.g.cs | 46 + ...GetAssistantResourceNamesAsyncSnippet.g.cs | 44 + ...ient.GetAssistantResourceNamesSnippet.g.cs | 43 + ...tantServiceClient.GetAssistantSnippet.g.cs | 43 + ...viceClient.ListAssistantsAsyncSnippet.g.cs | 78 + ...stAssistantsRequestObjectAsyncSnippet.g.cs | 81 + ...nt.ListAssistantsRequestObjectSnippet.g.cs | 80 + ...stAssistantsResourceNamesAsyncSnippet.g.cs | 78 + ...nt.ListAssistantsResourceNamesSnippet.g.cs | 77 + ...ntServiceClient.ListAssistantsSnippet.g.cs | 77 + ...ient.StreamAssistRequestObjectSnippet.g.cs | 63 + ...iceClient.UpdateAssistantAsyncSnippet.g.cs | 46 + ...ateAssistantRequestObjectAsyncSnippet.g.cs | 49 + ...t.UpdateAssistantRequestObjectSnippet.g.cs | 48 + ...tServiceClient.UpdateAssistantSnippet.g.cs | 45 + ...ceClient.DeleteCmekConfigAsyncSnippet.g.cs | 62 + ...teCmekConfigRequestObjectAsyncSnippet.g.cs | 65 + ....DeleteCmekConfigRequestObjectSnippet.g.cs | 64 + ...teCmekConfigResourceNamesAsyncSnippet.g.cs | 62 + ....DeleteCmekConfigResourceNamesSnippet.g.cs | 61 + ...ServiceClient.DeleteCmekConfigSnippet.g.cs | 61 + ...rviceClient.GetCmekConfigAsyncSnippet.g.cs | 44 + ...etCmekConfigRequestObjectAsyncSnippet.g.cs | 47 + ...ent.GetCmekConfigRequestObjectSnippet.g.cs | 46 + ...etCmekConfigResourceNamesAsyncSnippet.g.cs | 44 + ...ent.GetCmekConfigResourceNamesSnippet.g.cs | 43 + ...figServiceClient.GetCmekConfigSnippet.g.cs | 43 + ...iceClient.ListCmekConfigsAsyncSnippet.g.cs | 44 + ...tCmekConfigsRequestObjectAsyncSnippet.g.cs | 47 + ...t.ListCmekConfigsRequestObjectSnippet.g.cs | 46 + ...tCmekConfigsResourceNamesAsyncSnippet.g.cs | 44 + ...t.ListCmekConfigsResourceNamesSnippet.g.cs | 43 + ...gServiceClient.ListCmekConfigsSnippet.g.cs | 43 + ...ceClient.UpdateCmekConfigAsyncSnippet.g.cs | 61 + ...teCmekConfigRequestObjectAsyncSnippet.g.cs | 65 + ....UpdateCmekConfigRequestObjectSnippet.g.cs | 64 + ...ServiceClient.UpdateCmekConfigSnippet.g.cs | 60 + ...ompleteQueryRequestObjectAsyncSnippet.g.cs | 5 + ...ncedCompleteQueryRequestObjectSnippet.g.cs | 5 + ...veSuggestionRequestObjectAsyncSnippet.g.cs | 52 + ....RemoveSuggestionRequestObjectSnippet.g.cs | 51 + ....AnswerQueryRequestObjectAsyncSnippet.g.cs | 1 + ...lient.AnswerQueryRequestObjectSnippet.g.cs | 1 + ...reateSessionRequestObjectAsyncSnippet.g.cs | 1 + ...ent.CreateSessionRequestObjectSnippet.g.cs | 1 + ...StreamAnswerQueryRequestObjectSnippet.g.cs | 69 + ...ateDataStoreRequestObjectAsyncSnippet.g.cs | 1 + ...t.CreateDataStoreRequestObjectSnippet.g.cs | 1 + ...ortDocumentsRequestObjectAsyncSnippet.g.cs | 1 + ...t.ImportDocumentsRequestObjectSnippet.g.cs | 1 + ...erviceClient.GetIamPolicyAsyncSnippet.g.cs | 45 + ...GetIamPolicyRequestObjectAsyncSnippet.g.cs | 50 + ...ient.GetIamPolicyRequestObjectSnippet.g.cs | 49 + ...GetIamPolicyResourceNamesAsyncSnippet.g.cs | 46 + ...ient.GetIamPolicyResourceNamesSnippet.g.cs | 45 + ...gineServiceClient.GetIamPolicySnippet.g.cs | 44 + ...erviceClient.SetIamPolicyAsyncSnippet.g.cs | 46 + ...SetIamPolicyRequestObjectAsyncSnippet.g.cs | 52 + ...ient.SetIamPolicyRequestObjectSnippet.g.cs | 51 + ...SetIamPolicyResourceNamesAsyncSnippet.g.cs | 47 + ...ient.SetIamPolicyResourceNamesSnippet.g.cs | 46 + ...gineServiceClient.SetIamPolicySnippet.g.cs | 45 + ...reateIdentityMappingStoreAsyncSnippet.g.cs | 46 + ...MappingStoreRequestObjectAsyncSnippet.g.cs | 50 + ...ntityMappingStoreRequestObjectSnippet.g.cs | 49 + ...MappingStoreResourceNamesAsyncSnippet.g.cs | 46 + ...ntityMappingStoreResourceNamesSnippet.g.cs | 45 + ...ent.CreateIdentityMappingStoreSnippet.g.cs | 45 + ...eleteIdentityMappingStoreAsyncSnippet.g.cs | 62 + ...MappingStoreRequestObjectAsyncSnippet.g.cs | 65 + ...ntityMappingStoreRequestObjectSnippet.g.cs | 64 + ...MappingStoreResourceNamesAsyncSnippet.g.cs | 62 + ...ntityMappingStoreResourceNamesSnippet.g.cs | 61 + ...ent.DeleteIdentityMappingStoreSnippet.g.cs | 61 + ...t.GetIdentityMappingStoreAsyncSnippet.g.cs | 44 + ...MappingStoreRequestObjectAsyncSnippet.g.cs | 47 + ...ntityMappingStoreRequestObjectSnippet.g.cs | 46 + ...MappingStoreResourceNamesAsyncSnippet.g.cs | 44 + ...ntityMappingStoreResourceNamesSnippet.g.cs | 43 + ...Client.GetIdentityMappingStoreSnippet.g.cs | 43 + ...tityMappingsRequestObjectAsyncSnippet.g.cs | 65 + ...tIdentityMappingsRequestObjectSnippet.g.cs | 64 + ...ListIdentityMappingStoresAsyncSnippet.g.cs | 78 + ...appingStoresRequestObjectAsyncSnippet.g.cs | 81 + ...tityMappingStoresRequestObjectSnippet.g.cs | 80 + ...appingStoresResourceNamesAsyncSnippet.g.cs | 78 + ...tityMappingStoresResourceNamesSnippet.g.cs | 77 + ...ient.ListIdentityMappingStoresSnippet.g.cs | 77 + ...tityMappingsRequestObjectAsyncSnippet.g.cs | 81 + ...tIdentityMappingsRequestObjectSnippet.g.cs | 80 + ...tityMappingsRequestObjectAsyncSnippet.g.cs | 68 + ...eIdentityMappingsRequestObjectSnippet.g.cs | 67 + ...lient.CreateLicenseConfigAsyncSnippet.g.cs | 46 + ...icenseConfigRequestObjectAsyncSnippet.g.cs | 49 + ...eateLicenseConfigRequestObjectSnippet.g.cs | 48 + ...icenseConfigResourceNamesAsyncSnippet.g.cs | 46 + ...eateLicenseConfigResourceNamesSnippet.g.cs | 45 + ...viceClient.CreateLicenseConfigSnippet.g.cs | 45 + ...t.DistributeLicenseConfigAsyncSnippet.g.cs | 48 + ...icenseConfigRequestObjectAsyncSnippet.g.cs | 51 + ...buteLicenseConfigRequestObjectSnippet.g.cs | 50 + ...icenseConfigResourceNamesAsyncSnippet.g.cs | 48 + ...buteLicenseConfigResourceNamesSnippet.g.cs | 47 + ...Client.DistributeLicenseConfigSnippet.g.cs | 47 + ...ceClient.GetLicenseConfigAsyncSnippet.g.cs | 44 + ...icenseConfigRequestObjectAsyncSnippet.g.cs | 47 + ....GetLicenseConfigRequestObjectSnippet.g.cs | 46 + ...icenseConfigResourceNamesAsyncSnippet.g.cs | 44 + ....GetLicenseConfigResourceNamesSnippet.g.cs | 43 + ...ServiceClient.GetLicenseConfigSnippet.g.cs | 43 + ...Client.ListLicenseConfigsAsyncSnippet.g.cs | 78 + ...censeConfigsRequestObjectAsyncSnippet.g.cs | 82 + ...istLicenseConfigsRequestObjectSnippet.g.cs | 81 + ...censeConfigsResourceNamesAsyncSnippet.g.cs | 78 + ...istLicenseConfigsResourceNamesSnippet.g.cs | 77 + ...rviceClient.ListLicenseConfigsSnippet.g.cs | 77 + ...ient.RetractLicenseConfigAsyncSnippet.g.cs | 47 + ...icenseConfigRequestObjectAsyncSnippet.g.cs | 50 + ...ractLicenseConfigRequestObjectSnippet.g.cs | 49 + ...icenseConfigResourceNamesAsyncSnippet.g.cs | 47 + ...ractLicenseConfigResourceNamesSnippet.g.cs | 46 + ...iceClient.RetractLicenseConfigSnippet.g.cs | 46 + ...lient.UpdateLicenseConfigAsyncSnippet.g.cs | 46 + ...icenseConfigRequestObjectAsyncSnippet.g.cs | 49 + ...dateLicenseConfigRequestObjectSnippet.g.cs | 48 + ...viceClient.UpdateLicenseConfigSnippet.g.cs | 45 + ...isionProjectRequestObjectAsyncSnippet.g.cs | 1 + ....ProvisionProjectRequestObjectSnippet.g.cs | 1 + ...t.SearchLiteRequestObjectAsyncSnippet.g.cs | 12 + ...Client.SearchLiteRequestObjectSnippet.g.cs | 12 + ...lient.SearchRequestObjectAsyncSnippet.g.cs | 12 + ...viceClient.SearchRequestObjectSnippet.g.cs | 12 + ...lient.CreateServingConfigAsyncSnippet.g.cs | 46 + ...ervingConfigRequestObjectAsyncSnippet.g.cs | 49 + ...eateServingConfigRequestObjectSnippet.g.cs | 48 + ...rvingConfigResourceNames1AsyncSnippet.g.cs | 46 + ...ateServingConfigResourceNames1Snippet.g.cs | 45 + ...rvingConfigResourceNames2AsyncSnippet.g.cs | 46 + ...ateServingConfigResourceNames2Snippet.g.cs | 45 + ...viceClient.CreateServingConfigSnippet.g.cs | 45 + ...lient.DeleteServingConfigAsyncSnippet.g.cs | 44 + ...ervingConfigRequestObjectAsyncSnippet.g.cs | 47 + ...leteServingConfigRequestObjectSnippet.g.cs | 46 + ...ervingConfigResourceNamesAsyncSnippet.g.cs | 44 + ...leteServingConfigResourceNamesSnippet.g.cs | 43 + ...viceClient.DeleteServingConfigSnippet.g.cs | 43 + ...reateSessionRequestObjectAsyncSnippet.g.cs | 1 + ...ent.CreateSessionRequestObjectSnippet.g.cs | 1 + ...UserLicensesRequestObjectAsyncSnippet.g.cs | 66 + ...pdateUserLicensesRequestObjectSnippet.g.cs | 65 + ...tLicenseConfigsUsageStatsAsyncSnippet.g.cs | 44 + ...gsUsageStatsRequestObjectAsyncSnippet.g.cs | 47 + ...ConfigsUsageStatsRequestObjectSnippet.g.cs | 46 + ...gsUsageStatsResourceNamesAsyncSnippet.g.cs | 44 + ...ConfigsUsageStatsResourceNamesSnippet.g.cs | 43 + ...t.ListLicenseConfigsUsageStatsSnippet.g.cs | 43 + ...ceClient.ListUserLicensesAsyncSnippet.g.cs | 78 + ...UserLicensesRequestObjectAsyncSnippet.g.cs | 83 + ....ListUserLicensesRequestObjectSnippet.g.cs | 82 + ...UserLicensesResourceNamesAsyncSnippet.g.cs | 78 + ....ListUserLicensesResourceNamesSnippet.g.cs | 77 + ...ServiceClient.ListUserLicensesSnippet.g.cs | 77 + ...erviceClient.GetUserStoreAsyncSnippet.g.cs | 44 + ...GetUserStoreRequestObjectAsyncSnippet.g.cs | 47 + ...ient.GetUserStoreRequestObjectSnippet.g.cs | 46 + ...GetUserStoreResourceNamesAsyncSnippet.g.cs | 44 + ...ient.GetUserStoreResourceNamesSnippet.g.cs | 43 + ...toreServiceClient.GetUserStoreSnippet.g.cs | 43 + ...iceClient.UpdateUserStoreAsyncSnippet.g.cs | 46 + ...ateUserStoreRequestObjectAsyncSnippet.g.cs | 49 + ...t.UpdateUserStoreRequestObjectSnippet.g.cs | 48 + ...eServiceClient.UpdateUserStoreSnippet.g.cs | 45 + ...a_google.cloud.discoveryengine.v1beta.json | 26395 ++++++++++------ .../AclConfigServiceClientSnippets.g.cs | 145 + .../AssistantServiceClientSnippets.g.cs | 611 + .../CmekConfigServiceClientSnippets.g.cs | 510 + .../CompletionServiceClientSnippets.g.cs | 52 + ...ersationalSearchServiceClientSnippets.g.cs | 42 + .../DataStoreServiceClientSnippets.g.cs | 2 + .../DocumentServiceClientSnippets.g.cs | 2 + .../EngineServiceClientSnippets.g.cs | 185 + ...tityMappingStoreServiceClientSnippets.g.cs | 910 + .../LicenseConfigServiceClientSnippets.g.cs | 772 + .../ProjectServiceClientSnippets.g.cs | 2 + .../SearchServiceClientSnippets.g.cs | 48 + .../ServingConfigServiceClientSnippets.g.cs | 217 + .../SessionServiceClientSnippets.g.cs | 2 + .../UserLicenseServiceClientSnippets.g.cs | 464 + .../UserStoreServiceClientSnippets.g.cs | 177 + .../AclConfig.g.cs | 315 + .../AclConfigResourceNames.g.cs | 266 + .../AclConfigService.g.cs | 493 + .../AclConfigServiceClient.g.cs | 529 + .../AclConfigServiceGrpc.g.cs | 289 + .../AclConfigServiceResourceNames.g.cs | 33 + .../AgentGatewaySetting.g.cs | 491 + .../AgentGatewaySettingResourceNames.g.cs | 39 + .../Answer.g.cs | 3603 ++- .../AssistAnswer.g.cs | 5527 ++++ .../AssistAnswerResourceNames.g.cs | 374 + .../Assistant.g.cs | 2624 ++ .../AssistantResourceNames.g.cs | 353 + .../AssistantService.g.cs | 4586 +++ .../AssistantServiceClient.g.cs | 1161 + .../AssistantServiceGrpc.g.cs | 555 + .../AssistantServiceResourceNames.g.cs | 104 + .../Chunk.g.cs | 719 +- .../CmekConfigService.g.cs | 2511 ++ .../CmekConfigServiceClient.g.cs | 1069 + .../CmekConfigServiceGrpc.g.cs | 447 + .../CmekConfigServiceResourceNames.g.cs | 390 + .../Common.g.cs | 2232 +- .../CommonResourceNames.g.cs | 2016 +- .../CompletionService.g.cs | 1625 +- .../CompletionServiceClient.g.cs | 107 + .../CompletionServiceGrpc.g.cs | 98 +- .../CompletionServiceResourceNames.g.cs | 13 + .../Control.g.cs | 1182 +- .../ControlResourceNames.g.cs | 12 + .../ControlService.g.cs | 24 +- .../ControlServiceClient.g.cs | 4 + .../ControlServiceGrpc.g.cs | 2 +- .../ConversationalSearchService.g.cs | 3290 +- .../ConversationalSearchServiceClient.g.cs | 71 + .../ConversationalSearchServiceGrpc.g.cs | 67 +- .../DataStore.g.cs | 2834 +- .../DataStoreResourceNames.g.cs | 10 + .../DataStoreService.g.cs | 292 +- .../DataStoreServiceClient.g.cs | 4 + .../DataStoreServiceGrpc.g.cs | 2 +- .../DataStoreServiceResourceNames.g.cs | 9 + .../Document.g.cs | 696 +- .../DocumentProcessingConfig.g.cs | 331 +- .../DocumentService.g.cs | 25 +- .../DocumentServiceClient.g.cs | 16 +- .../DocumentServiceGrpc.g.cs | 2 +- .../Engine.g.cs | 3875 ++- .../EngineService.g.cs | 183 +- .../EngineServiceClient.g.cs | 689 +- .../EngineServiceGrpc.g.cs | 300 +- .../Evaluation.g.cs | 8 +- .../EvaluationService.g.cs | 131 +- .../EvaluationServiceClient.g.cs | 34 +- .../EvaluationServiceGrpc.g.cs | 2 +- .../Feedback.g.cs | 1038 + ...Google.Cloud.DiscoveryEngine.V1Beta.csproj | 1 + .../GroundedGenerationService.g.cs | 5676 +++- .../GroundedGenerationServiceClient.g.cs | 4 + .../GroundedGenerationServiceGrpc.g.cs | 2 +- .../Grounding.g.cs | 143 +- .../IdentityMappingStore.g.cs | 763 + .../IdentityMappingStoreResourceNames.g.cs | 311 + .../IdentityMappingStoreService.g.cs | 3932 +++ .../IdentityMappingStoreServiceClient.g.cs | 1429 + .../IdentityMappingStoreServiceGrpc.g.cs | 650 + ...ntityMappingStoreServiceResourceNames.g.cs | 117 + .../ImportConfig.g.cs | 366 +- .../LicenseConfig.g.cs | 793 + .../LicenseConfigResourceNames.g.cs | 290 + .../LicenseConfigService.g.cs | 2645 ++ .../LicenseConfigServiceClient.g.cs | 1740 + .../LicenseConfigServiceGrpc.g.cs | 623 + .../LicenseConfigServiceResourceNames.g.cs | 92 + .../Logging.g.cs | 299 + .../PackageApiMetadata.g.cs | 26 +- .../Project.g.cs | 2511 +- .../ProjectResourceNames.g.cs | 57 + .../ProjectService.g.cs | 347 +- .../ProjectServiceClient.g.cs | 4 + .../ProjectServiceGrpc.g.cs | 2 +- .../PurgeConfig.g.cs | 14 +- .../RankService.g.cs | 31 +- .../RankServiceClient.g.cs | 4 + .../RankServiceGrpc.g.cs | 2 +- .../RecommendationService.g.cs | 27 +- .../RecommendationServiceClient.g.cs | 4 + .../RecommendationServiceGrpc.g.cs | 2 +- .../Safety.g.cs | 567 + .../SampleQueryService.g.cs | 23 +- .../SampleQueryServiceClient.g.cs | 4 + .../SampleQueryServiceGrpc.g.cs | 2 +- .../SampleQuerySetService.g.cs | 23 +- .../SampleQuerySetServiceClient.g.cs | 4 + .../SampleQuerySetServiceGrpc.g.cs | 2 +- .../SchemaService.g.cs | 24 +- .../SchemaServiceClient.g.cs | 4 + .../SchemaServiceGrpc.g.cs | 2 +- .../SearchService.g.cs | 10634 +++++-- .../SearchServiceClient.g.cs | 6 + .../SearchServiceGrpc.g.cs | 2 +- .../SearchTuningService.g.cs | 25 +- .../SearchTuningServiceClient.g.cs | 4 + .../SearchTuningServiceGrpc.g.cs | 2 +- .../ServiceCollectionExtensions.g.cs | 252 + .../ServingConfig.g.cs | 862 +- .../ServingConfigService.g.cs | 646 +- .../ServingConfigServiceClient.g.cs | 598 + .../ServingConfigServiceGrpc.g.cs | 200 +- .../ServingConfigServiceResourceNames.g.cs | 55 + .../Session.g.cs | 247 +- .../SessionResourceNames.g.cs | 90 +- .../SessionService.g.cs | 24 +- .../SessionServiceClient.g.cs | 6 + .../SessionServiceGrpc.g.cs | 2 +- .../SiteSearchEngine.g.cs | 77 +- .../SiteSearchEngineService.g.cs | 403 +- .../SiteSearchEngineServiceClient.g.cs | 4 + .../SiteSearchEngineServiceGrpc.g.cs | 2 +- .../UserEvent.g.cs | 342 +- .../UserEventService.g.cs | 52 +- .../UserEventServiceClient.g.cs | 6 + .../UserEventServiceGrpc.g.cs | 2 +- .../UserLicense.g.cs | 835 + .../UserLicenseResourceNames.g.cs | 32 + .../UserLicenseService.g.cs | 2319 ++ .../UserLicenseServiceClient.g.cs | 807 + .../UserLicenseServiceGrpc.g.cs | 370 + .../UserLicenseServiceResourceNames.g.cs | 56 + .../UserStore.g.cs | 443 + .../UserStoreResourceNames.g.cs | 295 + .../UserStoreService.g.cs | 549 + .../UserStoreServiceClient.g.cs | 552 + .../UserStoreServiceGrpc.g.cs | 279 + .../UserStoreServiceResourceNames.g.cs | 33 + .../gapic_metadata.json | 279 + generator-input/pipeline-state.json | 2 +- 344 files changed, 114500 insertions(+), 17941 deletions(-) create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.StreamAssistRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.StreamAnswerQueryRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicySnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicySnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1AsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1Snippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2AsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2Snippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectAsyncSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreSnippet.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AclConfigServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AssistantServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CmekConfigServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/IdentityMappingStoreServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/LicenseConfigServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserLicenseServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserStoreServiceClientSnippets.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfig.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySetting.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySettingResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswer.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswerResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Assistant.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Feedback.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStore.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfig.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Logging.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Safety.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicense.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStore.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreResourceNames.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreService.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceClient.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceGrpc.g.cs create mode 100644 apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceResourceNames.g.cs diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..ec463a5867f2 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for GetAclConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAclConfigAsync() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/aclConfig"; + // Make the request + AclConfig response = await aclConfigServiceClient.GetAclConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..fd15ee81090b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for GetAclConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAclConfigRequestObjectAsync() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + GetAclConfigRequest request = new GetAclConfigRequest + { + AclConfigName = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + AclConfig response = await aclConfigServiceClient.GetAclConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..813425394bdb --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for GetAclConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAclConfigRequestObject() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + GetAclConfigRequest request = new GetAclConfigRequest + { + AclConfigName = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + AclConfig response = aclConfigServiceClient.GetAclConfig(request); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..ae9b6cd05a93 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for GetAclConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAclConfigResourceNamesAsync() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + AclConfigName name = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + AclConfig response = await aclConfigServiceClient.GetAclConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..e754f822ed45 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for GetAclConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAclConfigResourceNames() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + AclConfigName name = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + AclConfig response = aclConfigServiceClient.GetAclConfig(name); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigSnippet.g.cs new file mode 100644 index 000000000000..3c6410a12e61 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.GetAclConfigSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for GetAclConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAclConfig() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/aclConfig"; + // Make the request + AclConfig response = aclConfigServiceClient.GetAclConfig(name); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..57c020ee0614 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_UpdateAclConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for UpdateAclConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateAclConfigRequestObjectAsync() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateAclConfigRequest request = new UpdateAclConfigRequest + { + AclConfig = new AclConfig(), + }; + // Make the request + AclConfig response = await aclConfigServiceClient.UpdateAclConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_UpdateAclConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..f3ea8ecc2444 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AclConfigServiceClient.UpdateAclConfigRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AclConfigService_UpdateAclConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAclConfigServiceClientSnippets + { + /// Snippet for UpdateAclConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateAclConfigRequestObject() + { + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + UpdateAclConfigRequest request = new UpdateAclConfigRequest + { + AclConfig = new AclConfig(), + }; + // Make the request + AclConfig response = aclConfigServiceClient.UpdateAclConfig(request); + } + } + // [END discoveryengine_v1beta_generated_AclConfigService_UpdateAclConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..e15aa76ab308 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_CreateAssistant_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for CreateAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateAssistantRequestObjectAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateAssistantRequest request = new CreateAssistantRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + Assistant = new Assistant(), + AssistantId = "", + }; + // Make the request + Assistant response = await assistantServiceClient.CreateAssistantAsync(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_CreateAssistant_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..22d70750b921 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.CreateAssistantRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_CreateAssistant_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for CreateAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateAssistantRequestObject() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + CreateAssistantRequest request = new CreateAssistantRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + Assistant = new Assistant(), + AssistantId = "", + }; + // Make the request + Assistant response = assistantServiceClient.CreateAssistant(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_CreateAssistant_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantAsyncSnippet.g.cs new file mode 100644 index 000000000000..bc635e40b461 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for DeleteAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAssistantAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + await assistantServiceClient.DeleteAssistantAsync(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..b2204eaa29dc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for DeleteAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAssistantRequestObjectAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteAssistantRequest request = new DeleteAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + await assistantServiceClient.DeleteAssistantAsync(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..8c7eca92b8a8 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for DeleteAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAssistantRequestObject() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + DeleteAssistantRequest request = new DeleteAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + assistantServiceClient.DeleteAssistant(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..5814a5651896 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for DeleteAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteAssistantResourceNamesAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + await assistantServiceClient.DeleteAssistantAsync(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..d577b150946e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for DeleteAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAssistantResourceNames() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + assistantServiceClient.DeleteAssistant(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantSnippet.g.cs new file mode 100644 index 000000000000..c0e45da81939 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.DeleteAssistantSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for DeleteAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteAssistant() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + assistantServiceClient.DeleteAssistant(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantAsyncSnippet.g.cs new file mode 100644 index 000000000000..0938f14a772c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_GetAssistant_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for GetAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAssistantAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + Assistant response = await assistantServiceClient.GetAssistantAsync(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_GetAssistant_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..c35f05aa608f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_GetAssistant_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for GetAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAssistantRequestObjectAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + GetAssistantRequest request = new GetAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + Assistant response = await assistantServiceClient.GetAssistantAsync(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_GetAssistant_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..73091cbda998 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for GetAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAssistantRequestObject() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + GetAssistantRequest request = new GetAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + Assistant response = assistantServiceClient.GetAssistant(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..30d3f319c4c0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_GetAssistant_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for GetAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetAssistantResourceNamesAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + Assistant response = await assistantServiceClient.GetAssistantAsync(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_GetAssistant_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..0ec7477a9ca4 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for GetAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAssistantResourceNames() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + Assistant response = assistantServiceClient.GetAssistant(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantSnippet.g.cs new file mode 100644 index 000000000000..176165fad886 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.GetAssistantSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for GetAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetAssistant() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + Assistant response = assistantServiceClient.GetAssistant(name); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsAsyncSnippet.g.cs new file mode 100644 index 000000000000..1f364437d06b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_ListAssistants_async_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for ListAssistantsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAssistantsAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + // Make the request + PagedAsyncEnumerable response = assistantServiceClient.ListAssistantsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_AssistantService_ListAssistants_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..14199b9b41d2 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_ListAssistants_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for ListAssistantsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAssistantsRequestObjectAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + ListAssistantsRequest request = new ListAssistantsRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + }; + // Make the request + PagedAsyncEnumerable response = assistantServiceClient.ListAssistantsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_AssistantService_ListAssistants_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..d28ba85f2bb1 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsRequestObjectSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for ListAssistants + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAssistantsRequestObject() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + ListAssistantsRequest request = new ListAssistantsRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + }; + // Make the request + PagedEnumerable response = assistantServiceClient.ListAssistants(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..ad39b9733b8e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_ListAssistants_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for ListAssistantsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListAssistantsResourceNamesAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + // Make the request + PagedAsyncEnumerable response = assistantServiceClient.ListAssistantsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_AssistantService_ListAssistants_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..5004870c1011 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for ListAssistants + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAssistantsResourceNames() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + // Make the request + PagedEnumerable response = assistantServiceClient.ListAssistants(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsSnippet.g.cs new file mode 100644 index 000000000000..af1a8423d453 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.ListAssistantsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for ListAssistants + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListAssistants() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + // Make the request + PagedEnumerable response = assistantServiceClient.ListAssistants(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.StreamAssistRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.StreamAssistRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..7ce6eedfbfec --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.StreamAssistRequestObjectSnippet.g.cs @@ -0,0 +1,63 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_StreamAssist_sync] + using Google.Api.Gax.Grpc; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for StreamAssist + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task StreamAssistRequestObject() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + StreamAssistRequest request = new StreamAssistRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + Query = new Query(), + SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), + UserMetadata = new AssistUserMetadata(), + ToolsSpec = new StreamAssistRequest.Types.ToolsSpec(), + GenerationSpec = new StreamAssistRequest.Types.GenerationSpec(), + }; + // Make the request, returning a streaming response + using AssistantServiceClient.StreamAssistStream response = assistantServiceClient.StreamAssist(request); + + // Read streaming responses from server until complete + // Note that C# 8 code can use await foreach + AsyncResponseStream responseStream = response.GetResponseStream(); + while (await responseStream.MoveNextAsync()) + { + StreamAssistResponse responseItem = responseStream.Current; + // Do something with streamed response + } + // The response stream has completed + } + } + // [END discoveryengine_v1beta_generated_AssistantService_StreamAssist_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantAsyncSnippet.g.cs new file mode 100644 index 000000000000..f5588e6e10dc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for UpdateAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateAssistantAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + Assistant assistant = new Assistant(); + FieldMask updateMask = new FieldMask(); + // Make the request + Assistant response = await assistantServiceClient.UpdateAssistantAsync(assistant, updateMask); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..6304f7029428 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for UpdateAssistantAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateAssistantRequestObjectAsync() + { + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateAssistantRequest request = new UpdateAssistantRequest + { + Assistant = new Assistant(), + UpdateMask = new FieldMask(), + }; + // Make the request + Assistant response = await assistantServiceClient.UpdateAssistantAsync(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..7daeb9260bd7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for UpdateAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateAssistantRequestObject() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + UpdateAssistantRequest request = new UpdateAssistantRequest + { + Assistant = new Assistant(), + UpdateMask = new FieldMask(), + }; + // Make the request + Assistant response = assistantServiceClient.UpdateAssistant(request); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantSnippet.g.cs new file mode 100644 index 000000000000..75e0d83e13ab --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/AssistantServiceClient.UpdateAssistantSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedAssistantServiceClientSnippets + { + /// Snippet for UpdateAssistant + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateAssistant() + { + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + Assistant assistant = new Assistant(); + FieldMask updateMask = new FieldMask(); + // Make the request + Assistant response = assistantServiceClient.UpdateAssistant(assistant, updateMask); + } + } + // [END discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..21c29b176f7e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for DeleteCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteCmekConfigAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + Operation response = await cmekConfigServiceClient.DeleteCmekConfigAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceDeleteCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..edc6a7a3fa2e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for DeleteCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteCmekConfigRequestObjectAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteCmekConfigRequest request = new DeleteCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Operation response = await cmekConfigServiceClient.DeleteCmekConfigAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceDeleteCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..aa81e6109604 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for DeleteCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteCmekConfigRequestObject() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + DeleteCmekConfigRequest request = new DeleteCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Operation response = cmekConfigServiceClient.DeleteCmekConfig(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceDeleteCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..5e9fb1f876c3 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for DeleteCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteCmekConfigResourceNamesAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await cmekConfigServiceClient.DeleteCmekConfigAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceDeleteCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..624f35edf0fe --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for DeleteCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteCmekConfigResourceNames() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = cmekConfigServiceClient.DeleteCmekConfig(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceDeleteCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigSnippet.g.cs new file mode 100644 index 000000000000..e3b4181368f5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.DeleteCmekConfigSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for DeleteCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteCmekConfig() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + Operation response = cmekConfigServiceClient.DeleteCmekConfig(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceDeleteCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..d6daf8e2d6d2 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for GetCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetCmekConfigAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + CmekConfig response = await cmekConfigServiceClient.GetCmekConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..ba08632966fc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for GetCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetCmekConfigRequestObjectAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + GetCmekConfigRequest request = new GetCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + CmekConfig response = await cmekConfigServiceClient.GetCmekConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..e9f8a549db2f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for GetCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetCmekConfigRequestObject() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + GetCmekConfigRequest request = new GetCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + CmekConfig response = cmekConfigServiceClient.GetCmekConfig(request); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..32fdf7a23a39 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for GetCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetCmekConfigResourceNamesAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CmekConfig response = await cmekConfigServiceClient.GetCmekConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..c0756d99dfcc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for GetCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetCmekConfigResourceNames() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CmekConfig response = cmekConfigServiceClient.GetCmekConfig(name); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigSnippet.g.cs new file mode 100644 index 000000000000..3ccecb69a14f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.GetCmekConfigSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for GetCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetCmekConfig() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + CmekConfig response = cmekConfigServiceClient.GetCmekConfig(name); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsAsyncSnippet.g.cs new file mode 100644 index 000000000000..84325c6a7d8a --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for ListCmekConfigsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListCmekConfigsAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListCmekConfigsResponse response = await cmekConfigServiceClient.ListCmekConfigsAsync(parent); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..20c97cabf438 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for ListCmekConfigsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListCmekConfigsRequestObjectAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + ListCmekConfigsRequest request = new ListCmekConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListCmekConfigsResponse response = await cmekConfigServiceClient.ListCmekConfigsAsync(request); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..4487a9adc21d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for ListCmekConfigs + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListCmekConfigsRequestObject() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + ListCmekConfigsRequest request = new ListCmekConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListCmekConfigsResponse response = cmekConfigServiceClient.ListCmekConfigs(request); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..bc3fbbf254fa --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for ListCmekConfigsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListCmekConfigsResourceNamesAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListCmekConfigsResponse response = await cmekConfigServiceClient.ListCmekConfigsAsync(parent); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..12010557b5b0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for ListCmekConfigs + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListCmekConfigsResourceNames() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListCmekConfigsResponse response = cmekConfigServiceClient.ListCmekConfigs(parent); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsSnippet.g.cs new file mode 100644 index 000000000000..f56818766dff --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.ListCmekConfigsSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for ListCmekConfigs + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListCmekConfigs() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListCmekConfigsResponse response = cmekConfigServiceClient.ListCmekConfigs(parent); + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..6e69cac38675 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigAsyncSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for UpdateCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateCmekConfigAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CmekConfig config = new CmekConfig(); + // Make the request + Operation response = await cmekConfigServiceClient.UpdateCmekConfigAsync(config); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceUpdateCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..0c9517220118 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for UpdateCmekConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateCmekConfigRequestObjectAsync() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateCmekConfigRequest request = new UpdateCmekConfigRequest + { + Config = new CmekConfig(), + SetDefault = false, + }; + // Make the request + Operation response = await cmekConfigServiceClient.UpdateCmekConfigAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceUpdateCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..6617dbdbb04b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for UpdateCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateCmekConfigRequestObject() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + UpdateCmekConfigRequest request = new UpdateCmekConfigRequest + { + Config = new CmekConfig(), + SetDefault = false, + }; + // Make the request + Operation response = cmekConfigServiceClient.UpdateCmekConfig(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceUpdateCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigSnippet.g.cs new file mode 100644 index 000000000000..302c1efa0e5a --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CmekConfigServiceClient.UpdateCmekConfigSnippet.g.cs @@ -0,0 +1,60 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + + public sealed partial class GeneratedCmekConfigServiceClientSnippets + { + /// Snippet for UpdateCmekConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateCmekConfig() + { + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + CmekConfig config = new CmekConfig(); + // Make the request + Operation response = cmekConfigServiceClient.UpdateCmekConfig(config); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceUpdateCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectAsyncSnippet.g.cs index dec3a1df48ea..efe9a7f87af9 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectAsyncSnippet.g.cs @@ -48,6 +48,11 @@ public async Task AdvancedCompleteQueryRequestObjectAsync() AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified, }, UserInfo = new UserInfo(), + SuggestionTypeSpecs = + { + new AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec(), + }, + ExperimentIds = { "", }, }; // Make the request AdvancedCompleteQueryResponse response = await completionServiceClient.AdvancedCompleteQueryAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectSnippet.g.cs index 49f5997261f1..751f8bc98022 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.AdvancedCompleteQueryRequestObjectSnippet.g.cs @@ -47,6 +47,11 @@ public void AdvancedCompleteQueryRequestObject() AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified, }, UserInfo = new UserInfo(), + SuggestionTypeSpecs = + { + new AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec(), + }, + ExperimentIds = { "", }, }; // Make the request AdvancedCompleteQueryResponse response = completionServiceClient.AdvancedCompleteQuery(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..b198be306884 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,52 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CompletionService_RemoveSuggestion_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedCompletionServiceClientSnippets + { + /// Snippet for RemoveSuggestionAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task RemoveSuggestionRequestObjectAsync() + { + // Create client + CompletionServiceClient completionServiceClient = await CompletionServiceClient.CreateAsync(); + // Initialize request argument(s) + RemoveSuggestionRequest request = new RemoveSuggestionRequest + { + CompletionConfigAsCompletionConfigName = CompletionConfigName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), + SearchHistorySuggestion = "", + UserPseudoId = "", + UserInfo = new UserInfo(), + RemoveTime = new Timestamp(), + }; + // Make the request + RemoveSuggestionResponse response = await completionServiceClient.RemoveSuggestionAsync(request); + } + } + // [END discoveryengine_v1beta_generated_CompletionService_RemoveSuggestion_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..213389cd2f08 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/CompletionServiceClient.RemoveSuggestionRequestObjectSnippet.g.cs @@ -0,0 +1,51 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_CompletionService_RemoveSuggestion_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedCompletionServiceClientSnippets + { + /// Snippet for RemoveSuggestion + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void RemoveSuggestionRequestObject() + { + // Create client + CompletionServiceClient completionServiceClient = CompletionServiceClient.Create(); + // Initialize request argument(s) + RemoveSuggestionRequest request = new RemoveSuggestionRequest + { + CompletionConfigAsCompletionConfigName = CompletionConfigName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), + SearchHistorySuggestion = "", + UserPseudoId = "", + UserInfo = new UserInfo(), + RemoveTime = new Timestamp(), + }; + // Make the request + RemoveSuggestionResponse response = completionServiceClient.RemoveSuggestion(request); + } + } + // [END discoveryengine_v1beta_generated_CompletionService_RemoveSuggestion_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectAsyncSnippet.g.cs index 2263957ba241..d0405d0fd5f6 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectAsyncSnippet.g.cs @@ -48,6 +48,7 @@ public async Task AnswerQueryRequestObjectAsync() QueryUnderstandingSpec = new AnswerQueryRequest.Types.QueryUnderstandingSpec(), UserPseudoId = "", UserLabels = { { "", "" }, }, + EndUserSpec = new AnswerQueryRequest.Types.EndUserSpec(), }; // Make the request AnswerQueryResponse response = await conversationalSearchServiceClient.AnswerQueryAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectSnippet.g.cs index 72152d4f64fb..62e90dbab186 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.AnswerQueryRequestObjectSnippet.g.cs @@ -47,6 +47,7 @@ public void AnswerQueryRequestObject() QueryUnderstandingSpec = new AnswerQueryRequest.Types.QueryUnderstandingSpec(), UserPseudoId = "", UserLabels = { { "", "" }, }, + EndUserSpec = new AnswerQueryRequest.Types.EndUserSpec(), }; // Make the request AnswerQueryResponse response = conversationalSearchServiceClient.AnswerQuery(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs index fcc367107cb6..2bcecefac66a 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs @@ -39,6 +39,7 @@ public async Task CreateSessionRequestObjectAsync() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = await conversationalSearchServiceClient.CreateSessionAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectSnippet.g.cs index d6035790100a..c9a167c8d52a 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.CreateSessionRequestObjectSnippet.g.cs @@ -38,6 +38,7 @@ public void CreateSessionRequestObject() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = conversationalSearchServiceClient.CreateSession(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.StreamAnswerQueryRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.StreamAnswerQueryRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..985ea5622d38 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ConversationalSearchServiceClient.StreamAnswerQueryRequestObjectSnippet.g.cs @@ -0,0 +1,69 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ConversationalSearchService_StreamAnswerQuery_sync] + using Google.Api.Gax.Grpc; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedConversationalSearchServiceClientSnippets + { + /// Snippet for StreamAnswerQuery + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task StreamAnswerQueryRequestObject() + { + // Create client + ConversationalSearchServiceClient conversationalSearchServiceClient = ConversationalSearchServiceClient.Create(); + // Initialize request argument(s) + AnswerQueryRequest request = new AnswerQueryRequest + { + ServingConfigAsServingConfigName = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"), + Query = new Query(), + SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), + SafetySpec = new AnswerQueryRequest.Types.SafetySpec(), + RelatedQuestionsSpec = new AnswerQueryRequest.Types.RelatedQuestionsSpec(), + GroundingSpec = new AnswerQueryRequest.Types.GroundingSpec(), + AnswerGenerationSpec = new AnswerQueryRequest.Types.AnswerGenerationSpec(), + SearchSpec = new AnswerQueryRequest.Types.SearchSpec(), + QueryUnderstandingSpec = new AnswerQueryRequest.Types.QueryUnderstandingSpec(), + UserPseudoId = "", + UserLabels = { { "", "" }, }, + EndUserSpec = new AnswerQueryRequest.Types.EndUserSpec(), + }; + // Make the request, returning a streaming response + using ConversationalSearchServiceClient.StreamAnswerQueryStream response = conversationalSearchServiceClient.StreamAnswerQuery(request); + + // Read streaming responses from server until complete + // Note that C# 8 code can use await foreach + AsyncResponseStream responseStream = response.GetResponseStream(); + while (await responseStream.MoveNextAsync()) + { + AnswerQueryResponse responseItem = responseStream.Current; + // Do something with streamed response + } + // The response stream has completed + } + } + // [END discoveryengine_v1beta_generated_ConversationalSearchService_StreamAnswerQuery_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectAsyncSnippet.g.cs index 0c6af1b1f0fa..e7d96b66ad06 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectAsyncSnippet.g.cs @@ -42,6 +42,7 @@ public async Task CreateDataStoreRequestObjectAsync() DataStore = new DataStore(), DataStoreId = "", CreateAdvancedSiteSearch = false, + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), SkipDefaultSchemaCreation = false, }; // Make the request diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectSnippet.g.cs index 3cd608d34359..b3e9efcb4950 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DataStoreServiceClient.CreateDataStoreRequestObjectSnippet.g.cs @@ -41,6 +41,7 @@ public void CreateDataStoreRequestObject() DataStore = new DataStore(), DataStoreId = "", CreateAdvancedSiteSearch = false, + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), SkipDefaultSchemaCreation = false, }; // Make the request diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectAsyncSnippet.g.cs index 610cabea26ed..dbd16f661f7d 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectAsyncSnippet.g.cs @@ -46,6 +46,7 @@ public async Task ImportDocumentsRequestObjectAsync() UpdateMask = new FieldMask(), AutoGenerateIds = false, IdField = "", + ForceRefreshContent = false, }; // Make the request Operation response = await documentServiceClient.ImportDocumentsAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectSnippet.g.cs index 92295071a36a..d876dad8a2df 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/DocumentServiceClient.ImportDocumentsRequestObjectSnippet.g.cs @@ -45,6 +45,7 @@ public void ImportDocumentsRequestObject() UpdateMask = new FieldMask(), AutoGenerateIds = false, IdField = "", + ForceRefreshContent = false, }; // Make the request Operation response = documentServiceClient.ImportDocuments(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyAsyncSnippet.g.cs new file mode 100644 index 000000000000..8fd1732fa9af --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyAsyncSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for GetIamPolicyAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIamPolicyAsync() + { + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + // Make the request + Policy response = await engineServiceClient.GetIamPolicyAsync(resource); + } + } + // [END discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..6a828969682b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,50 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for GetIamPolicyAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIamPolicyRequestObjectAsync() + { + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + GetIamPolicyRequest request = new GetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Options = new GetPolicyOptions(), + }; + // Make the request + Policy response = await engineServiceClient.GetIamPolicyAsync(request); + } + } + // [END discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..e734b0517bc6 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyRequestObjectSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for GetIamPolicy + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIamPolicyRequestObject() + { + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + GetIamPolicyRequest request = new GetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Options = new GetPolicyOptions(), + }; + // Make the request + Policy response = engineServiceClient.GetIamPolicy(request); + } + } + // [END discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..a5886b0cbb67 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for GetIamPolicyAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIamPolicyResourceNamesAsync() + { + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + // Make the request + Policy response = await engineServiceClient.GetIamPolicyAsync(resource); + } + } + // [END discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..57496fe431fe --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicyResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for GetIamPolicy + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIamPolicyResourceNames() + { + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + // Make the request + Policy response = engineServiceClient.GetIamPolicy(resource); + } + } + // [END discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicySnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicySnippet.g.cs new file mode 100644 index 000000000000..9aeb4c8e95bc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.GetIamPolicySnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for GetIamPolicy + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIamPolicy() + { + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + // Make the request + Policy response = engineServiceClient.GetIamPolicy(resource); + } + } + // [END discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyAsyncSnippet.g.cs new file mode 100644 index 000000000000..4ad7becbc515 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for SetIamPolicyAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task SetIamPolicyAsync() + { + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + Policy policy = new Policy(); + // Make the request + Policy response = await engineServiceClient.SetIamPolicyAsync(resource, policy); + } + } + // [END discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..7f60f228b75f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,52 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for SetIamPolicyAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task SetIamPolicyRequestObjectAsync() + { + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + SetIamPolicyRequest request = new SetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Policy = new Policy(), + UpdateMask = new FieldMask(), + }; + // Make the request + Policy response = await engineServiceClient.SetIamPolicyAsync(request); + } + } + // [END discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..ea5ee8aa3423 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyRequestObjectSnippet.g.cs @@ -0,0 +1,51 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for SetIamPolicy + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void SetIamPolicyRequestObject() + { + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + SetIamPolicyRequest request = new SetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Policy = new Policy(), + UpdateMask = new FieldMask(), + }; + // Make the request + Policy response = engineServiceClient.SetIamPolicy(request); + } + } + // [END discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..ff060c46ae8d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + using System.Threading.Tasks; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for SetIamPolicyAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task SetIamPolicyResourceNamesAsync() + { + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + Policy policy = new Policy(); + // Make the request + Policy response = await engineServiceClient.SetIamPolicyAsync(resource, policy); + } + } + // [END discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..10a08411de5b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicyResourceNamesSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for SetIamPolicy + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void SetIamPolicyResourceNames() + { + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + Policy policy = new Policy(); + // Make the request + Policy response = engineServiceClient.SetIamPolicy(resource, policy); + } + } + // [END discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicySnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicySnippet.g.cs new file mode 100644 index 000000000000..5c2ccc5a6270 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/EngineServiceClient.SetIamPolicySnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; + + public sealed partial class GeneratedEngineServiceClientSnippets + { + /// Snippet for SetIamPolicy + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void SetIamPolicy() + { + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + Policy policy = new Policy(); + // Make the request + Policy response = engineServiceClient.SetIamPolicy(resource, policy); + } + } + // [END discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsyncSnippet.g.cs new file mode 100644 index 000000000000..0e64639f8f68 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateIdentityMappingStoreAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.CreateIdentityMappingStoreAsync(parent, identityMappingStore, identityMappingStoreId); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..3e5251150aa3 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,50 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateIdentityMappingStoreRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateIdentityMappingStoreRequest request = new CreateIdentityMappingStoreRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IdentityMappingStoreId = "", + IdentityMappingStore = new IdentityMappingStore(), + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.CreateIdentityMappingStoreAsync(request); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..6fbaabd3e5a9 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateIdentityMappingStoreRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + CreateIdentityMappingStoreRequest request = new CreateIdentityMappingStoreRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IdentityMappingStoreId = "", + IdentityMappingStore = new IdentityMappingStore(), + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.CreateIdentityMappingStore(request); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..9918e7e182d2 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateIdentityMappingStoreResourceNamesAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.CreateIdentityMappingStoreAsync(parent, identityMappingStore, identityMappingStoreId); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..610b584d04fa --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateIdentityMappingStoreResourceNames() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.CreateIdentityMappingStore(parent, identityMappingStore, identityMappingStoreId); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreSnippet.g.cs new file mode 100644 index 000000000000..b4485ebe7189 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.CreateIdentityMappingStoreSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateIdentityMappingStore() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.CreateIdentityMappingStore(parent, identityMappingStore, identityMappingStoreId); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsyncSnippet.g.cs new file mode 100644 index 000000000000..152ab55513e6 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for DeleteIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIdentityMappingStoreAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + Operation response = await identityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStoreAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..583c9f1267b6 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for DeleteIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIdentityMappingStoreRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteIdentityMappingStoreRequest request = new DeleteIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + Operation response = await identityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStoreAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..eeeb6df8b924 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for DeleteIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIdentityMappingStoreRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + DeleteIdentityMappingStoreRequest request = new DeleteIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + Operation response = identityMappingStoreServiceClient.DeleteIdentityMappingStore(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStore(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..9c668c603c83 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,62 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for DeleteIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteIdentityMappingStoreResourceNamesAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + Operation response = await identityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStoreAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..9b0dfc2e5993 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for DeleteIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIdentityMappingStoreResourceNames() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + Operation response = identityMappingStoreServiceClient.DeleteIdentityMappingStore(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStore(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreSnippet.g.cs new file mode 100644 index 000000000000..7c35740c4ca5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreSnippet.g.cs @@ -0,0 +1,61 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for DeleteIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteIdentityMappingStore() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + Operation response = identityMappingStoreServiceClient.DeleteIdentityMappingStore(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStore(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsyncSnippet.g.cs new file mode 100644 index 000000000000..e3f4eb9ea53e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for GetIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIdentityMappingStoreAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.GetIdentityMappingStoreAsync(name); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..148c74ca80fc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for GetIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIdentityMappingStoreRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + GetIdentityMappingStoreRequest request = new GetIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.GetIdentityMappingStoreAsync(request); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..d8baf6b28e60 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for GetIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIdentityMappingStoreRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + GetIdentityMappingStoreRequest request = new GetIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.GetIdentityMappingStore(request); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..ae439f452d97 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for GetIdentityMappingStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetIdentityMappingStoreResourceNamesAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.GetIdentityMappingStoreAsync(name); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..f3cdfccddb9e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for GetIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIdentityMappingStoreResourceNames() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.GetIdentityMappingStore(name); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreSnippet.g.cs new file mode 100644 index 000000000000..67a496b85514 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.GetIdentityMappingStoreSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for GetIdentityMappingStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetIdentityMappingStore() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.GetIdentityMappingStore(name); + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..9befda39d54b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ImportIdentityMappings_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ImportIdentityMappingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ImportIdentityMappingsRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + ImportIdentityMappingsRequest request = new ImportIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new ImportIdentityMappingsRequest.Types.InlineSource(), + }; + // Make the request + Operation response = await identityMappingStoreServiceClient.ImportIdentityMappingsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIdentityMappingsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceImportIdentityMappingsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIdentityMappingsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ImportIdentityMappings_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..906cc462f9eb --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectSnippet.g.cs @@ -0,0 +1,64 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ImportIdentityMappings_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ImportIdentityMappings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ImportIdentityMappingsRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + ImportIdentityMappingsRequest request = new ImportIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new ImportIdentityMappingsRequest.Types.InlineSource(), + }; + // Make the request + Operation response = identityMappingStoreServiceClient.ImportIdentityMappings(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIdentityMappingsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceImportIdentityMappings(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIdentityMappingsResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ImportIdentityMappings_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsyncSnippet.g.cs new file mode 100644 index 000000000000..c60e7a6a243e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingStoresAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIdentityMappingStoresAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStoresAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..f278fb3ff08e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingStoresAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIdentityMappingStoresRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStoresAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..3a9e6fa36065 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingStores + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIdentityMappingStoresRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStores(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..063f279ebf18 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingStoresAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIdentityMappingStoresResourceNamesAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStoresAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..c84a6f3368db --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingStores + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIdentityMappingStoresResourceNames() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStores(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresSnippet.g.cs new file mode 100644 index 000000000000..6b117bf9b061 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingStoresSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingStores + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIdentityMappingStores() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStores(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..b828b77df5f0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappings_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListIdentityMappingsRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + ListIdentityMappingsRequest request = new ListIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingEntry item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingEntry item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingEntry item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappings_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..4c7f9632524d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectSnippet.g.cs @@ -0,0 +1,80 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappings_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for ListIdentityMappings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListIdentityMappingsRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + ListIdentityMappingsRequest request = new ListIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappings(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingEntry item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingEntry item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingEntry item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappings_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..7db7762f2eee --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,68 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_PurgeIdentityMappings_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for PurgeIdentityMappingsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task PurgeIdentityMappingsRequestObjectAsync() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + PurgeIdentityMappingsRequest request = new PurgeIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new PurgeIdentityMappingsRequest.Types.InlineSource(), + Filter = "", + Force = false, + }; + // Make the request + Operation response = await identityMappingStoreServiceClient.PurgeIdentityMappingsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOncePurgeIdentityMappingsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_PurgeIdentityMappings_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..26a5d22469e8 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectSnippet.g.cs @@ -0,0 +1,67 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_IdentityMappingStoreService_PurgeIdentityMappings_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for PurgeIdentityMappings + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void PurgeIdentityMappingsRequestObject() + { + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + PurgeIdentityMappingsRequest request = new PurgeIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new PurgeIdentityMappingsRequest.Types.InlineSource(), + Filter = "", + Force = false, + }; + // Make the request + Operation response = identityMappingStoreServiceClient.PurgeIdentityMappings(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOncePurgeIdentityMappings(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_IdentityMappingStoreService_PurgeIdentityMappings_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..1fd2062260bc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateLicenseConfigAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.CreateLicenseConfigAsync(parent, licenseConfig, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..471076aaabf7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateLicenseConfigRequestObjectAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateLicenseConfigRequest request = new CreateLicenseConfigRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + LicenseConfig = new LicenseConfig(), + LicenseConfigId = "", + }; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.CreateLicenseConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..269ad40aed57 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateLicenseConfigRequestObject() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + CreateLicenseConfigRequest request = new CreateLicenseConfigRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + LicenseConfig = new LicenseConfig(), + LicenseConfigId = "", + }; + // Make the request + LicenseConfig response = licenseConfigServiceClient.CreateLicenseConfig(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..7c9206073e4d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateLicenseConfigResourceNamesAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.CreateLicenseConfigAsync(parent, licenseConfig, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..b993b138d931 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigResourceNamesSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateLicenseConfigResourceNames() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = licenseConfigServiceClient.CreateLicenseConfig(parent, licenseConfig, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigSnippet.g.cs new file mode 100644 index 000000000000..2fe31b6c7cf4 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.CreateLicenseConfigSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateLicenseConfig() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = licenseConfigServiceClient.CreateLicenseConfig(parent, licenseConfig, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..8b645b2563e4 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for DistributeLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DistributeLicenseConfigAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = await licenseConfigServiceClient.DistributeLicenseConfigAsync(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..b12d1a4d46ac --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,51 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for DistributeLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DistributeLicenseConfigRequestObjectAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DistributeLicenseConfigRequest request = new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + ProjectNumber = 0L, + Location = "", + LicenseCount = 0L, + LicenseConfigId = "", + }; + // Make the request + DistributeLicenseConfigResponse response = await licenseConfigServiceClient.DistributeLicenseConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..7294848b7524 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectSnippet.g.cs @@ -0,0 +1,50 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for DistributeLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DistributeLicenseConfigRequestObject() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + DistributeLicenseConfigRequest request = new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + ProjectNumber = 0L, + Location = "", + LicenseCount = 0L, + LicenseConfigId = "", + }; + // Make the request + DistributeLicenseConfigResponse response = licenseConfigServiceClient.DistributeLicenseConfig(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..66f57486aa32 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for DistributeLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DistributeLicenseConfigResourceNamesAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = await licenseConfigServiceClient.DistributeLicenseConfigAsync(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..91b81fbd6cb7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for DistributeLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DistributeLicenseConfigResourceNames() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = licenseConfigServiceClient.DistributeLicenseConfig(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigSnippet.g.cs new file mode 100644 index 000000000000..69667bec4a05 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.DistributeLicenseConfigSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for DistributeLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DistributeLicenseConfig() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = licenseConfigServiceClient.DistributeLicenseConfig(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..c60b9c9d8334 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for GetLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetLicenseConfigAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.GetLicenseConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..ff038a1b8cfb --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for GetLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetLicenseConfigRequestObjectAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + GetLicenseConfigRequest request = new GetLicenseConfigRequest + { + LicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + }; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.GetLicenseConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..1822b274bfa7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for GetLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetLicenseConfigRequestObject() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + GetLicenseConfigRequest request = new GetLicenseConfigRequest + { + LicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + }; + // Make the request + LicenseConfig response = licenseConfigServiceClient.GetLicenseConfig(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..b29e9b557413 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for GetLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetLicenseConfigResourceNamesAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LicenseConfigName name = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + // Make the request + LicenseConfig response = await licenseConfigServiceClient.GetLicenseConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..db2bab941306 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for GetLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetLicenseConfigResourceNames() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LicenseConfigName name = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + // Make the request + LicenseConfig response = licenseConfigServiceClient.GetLicenseConfig(name); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigSnippet.g.cs new file mode 100644 index 000000000000..d1aeacf25a1d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.GetLicenseConfigSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for GetLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetLicenseConfig() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + // Make the request + LicenseConfig response = licenseConfigServiceClient.GetLicenseConfig(name); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsAsyncSnippet.g.cs new file mode 100644 index 000000000000..2fe6b59eeed7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for ListLicenseConfigsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListLicenseConfigsAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = licenseConfigServiceClient.ListLicenseConfigsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..0da032d903b1 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,82 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for ListLicenseConfigsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListLicenseConfigsRequestObjectAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = licenseConfigServiceClient.ListLicenseConfigsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..1270741630da --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsRequestObjectSnippet.g.cs @@ -0,0 +1,81 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for ListLicenseConfigs + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListLicenseConfigsRequestObject() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = licenseConfigServiceClient.ListLicenseConfigs(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..b81beeaf3adb --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for ListLicenseConfigsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListLicenseConfigsResourceNamesAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = licenseConfigServiceClient.ListLicenseConfigsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..3469f0ca3fd3 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for ListLicenseConfigs + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListLicenseConfigsResourceNames() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = licenseConfigServiceClient.ListLicenseConfigs(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsSnippet.g.cs new file mode 100644 index 000000000000..8d4c755a7dea --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.ListLicenseConfigsSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for ListLicenseConfigs + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListLicenseConfigs() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = licenseConfigServiceClient.ListLicenseConfigs(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..29990ac4fcee --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for RetractLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task RetractLicenseConfigAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + string licenseConfig = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = await licenseConfigServiceClient.RetractLicenseConfigAsync(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..96d5e0e70671 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,50 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for RetractLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task RetractLicenseConfigRequestObjectAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + RetractLicenseConfigRequest request = new RetractLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + LicenseConfigAsLicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + FullRetract = false, + LicenseCount = 0L, + }; + // Make the request + RetractLicenseConfigResponse response = await licenseConfigServiceClient.RetractLicenseConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..8d67b209dcda --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigRequestObjectSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for RetractLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void RetractLicenseConfigRequestObject() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + RetractLicenseConfigRequest request = new RetractLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + LicenseConfigAsLicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + FullRetract = false, + LicenseCount = 0L, + }; + // Make the request + RetractLicenseConfigResponse response = licenseConfigServiceClient.RetractLicenseConfig(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..a45c07fb49e4 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for RetractLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task RetractLicenseConfigResourceNamesAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + LicenseConfigName licenseConfig = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = await licenseConfigServiceClient.RetractLicenseConfigAsync(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..184c6f2568db --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigResourceNamesSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for RetractLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void RetractLicenseConfigResourceNames() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + LicenseConfigName licenseConfig = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = licenseConfigServiceClient.RetractLicenseConfig(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigSnippet.g.cs new file mode 100644 index 000000000000..6258980f0f53 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.RetractLicenseConfigSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for RetractLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void RetractLicenseConfig() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + string licenseConfig = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = licenseConfigServiceClient.RetractLicenseConfig(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..0c7650424c24 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for UpdateLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateLicenseConfigAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LicenseConfig licenseConfig = new LicenseConfig(); + FieldMask updateMask = new FieldMask(); + // Make the request + LicenseConfig response = await licenseConfigServiceClient.UpdateLicenseConfigAsync(licenseConfig, updateMask); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..d41a7bbb099f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for UpdateLicenseConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateLicenseConfigRequestObjectAsync() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateLicenseConfigRequest request = new UpdateLicenseConfigRequest + { + LicenseConfig = new LicenseConfig(), + UpdateMask = new FieldMask(), + }; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.UpdateLicenseConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..5515c130c80d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for UpdateLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateLicenseConfigRequestObject() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + UpdateLicenseConfigRequest request = new UpdateLicenseConfigRequest + { + LicenseConfig = new LicenseConfig(), + UpdateMask = new FieldMask(), + }; + // Make the request + LicenseConfig response = licenseConfigServiceClient.UpdateLicenseConfig(request); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigSnippet.g.cs new file mode 100644 index 000000000000..074f143fee3a --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/LicenseConfigServiceClient.UpdateLicenseConfigSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for UpdateLicenseConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateLicenseConfig() + { + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LicenseConfig licenseConfig = new LicenseConfig(); + FieldMask updateMask = new FieldMask(); + // Make the request + LicenseConfig response = licenseConfigServiceClient.UpdateLicenseConfig(licenseConfig, updateMask); + } + } + // [END discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectAsyncSnippet.g.cs index faf9c4d190e5..ad1f468369ef 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectAsyncSnippet.g.cs @@ -41,6 +41,7 @@ public async Task ProvisionProjectRequestObjectAsync() ProjectName = ProjectName.FromProject("[PROJECT]"), AcceptDataUseTerms = false, DataUseTermsVersion = "", + SaasParams = new ProvisionProjectRequest.Types.SaasParams(), }; // Make the request Operation response = await projectServiceClient.ProvisionProjectAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectSnippet.g.cs index 2e251e905bf4..9831cf9b07ae 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ProjectServiceClient.ProvisionProjectRequestObjectSnippet.g.cs @@ -40,6 +40,7 @@ public void ProvisionProjectRequestObject() ProjectName = ProjectName.FromProject("[PROJECT]"), AcceptDataUseTerms = false, DataUseTermsVersion = "", + SaasParams = new ProvisionProjectRequest.Types.SaasParams(), }; // Make the request Operation response = projectServiceClient.ProvisionProject(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectAsyncSnippet.g.cs index 8541645913a0..f85ebfda4557 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectAsyncSnippet.g.cs @@ -71,12 +71,24 @@ public async Task SearchLiteRequestObjectAsync() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedAsyncEnumerable response = searchServiceClient.SearchLiteAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectSnippet.g.cs index 35cfb71b499f..31a9e5c503c0 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchLiteRequestObjectSnippet.g.cs @@ -70,12 +70,24 @@ public void SearchLiteRequestObject() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedEnumerable response = searchServiceClient.SearchLite(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectAsyncSnippet.g.cs index f3e3a9bd1c45..75755e41b7ae 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectAsyncSnippet.g.cs @@ -71,12 +71,24 @@ public async Task SearchRequestObjectAsync() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedAsyncEnumerable response = searchServiceClient.SearchAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectSnippet.g.cs index 84fea7aedb2f..220c8958bf1e 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SearchServiceClient.SearchRequestObjectSnippet.g.cs @@ -70,12 +70,24 @@ public void SearchRequestObject() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedEnumerable response = searchServiceClient.Search(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..7f45186874d7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateServingConfigAsync() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(parent, servingConfig, servingConfigId); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..ae307a2fb36d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateServingConfigRequestObjectAsync() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateServingConfigRequest request = new CreateServingConfigRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + ServingConfig = new ServingConfig(), + ServingConfigId = "", + }; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..1891c356bd87 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateServingConfigRequestObject() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + CreateServingConfigRequest request = new CreateServingConfigRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + ServingConfig = new ServingConfig(), + ServingConfigId = "", + }; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(request); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1AsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1AsyncSnippet.g.cs new file mode 100644 index 000000000000..1051be1b40c1 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1AsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened_resourceNames1] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateServingConfigResourceNames1Async() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(parent, servingConfig, servingConfigId); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened_resourceNames1] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1Snippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1Snippet.g.cs new file mode 100644 index 000000000000..dc6d7cc800d5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames1Snippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened_resourceNames1] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateServingConfigResourceNames1() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(parent, servingConfig, servingConfigId); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened_resourceNames1] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2AsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2AsyncSnippet.g.cs new file mode 100644 index 000000000000..aa3297deceb0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2AsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened_resourceNames2] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task CreateServingConfigResourceNames2Async() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DataStoreName parent = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(parent, servingConfig, servingConfigId); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened_resourceNames2] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2Snippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2Snippet.g.cs new file mode 100644 index 000000000000..372d032bca45 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigResourceNames2Snippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened_resourceNames2] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateServingConfigResourceNames2() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + DataStoreName parent = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(parent, servingConfig, servingConfigId); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened_resourceNames2] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigSnippet.g.cs new file mode 100644 index 000000000000..4e4e06318f99 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.CreateServingConfigSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for CreateServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void CreateServingConfig() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(parent, servingConfig, servingConfigId); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigAsyncSnippet.g.cs new file mode 100644 index 000000000000..36d3f3c9162c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for DeleteServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteServingConfigAsync() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/dataStores/[DATA_STORE]/servingConfigs/[SERVING_CONFIG]"; + // Make the request + await servingConfigServiceClient.DeleteServingConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..165ef5556b87 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for DeleteServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteServingConfigRequestObjectAsync() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteServingConfigRequest request = new DeleteServingConfigRequest + { + ServingConfigName = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"), + }; + // Make the request + await servingConfigServiceClient.DeleteServingConfigAsync(request); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..4be7d8f76b2d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for DeleteServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteServingConfigRequestObject() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + DeleteServingConfigRequest request = new DeleteServingConfigRequest + { + ServingConfigName = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"), + }; + // Make the request + servingConfigServiceClient.DeleteServingConfig(request); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..0d40f3983171 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for DeleteServingConfigAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task DeleteServingConfigResourceNamesAsync() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + ServingConfigName name = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"); + // Make the request + await servingConfigServiceClient.DeleteServingConfigAsync(name); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..c21faf392d56 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for DeleteServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteServingConfigResourceNames() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + ServingConfigName name = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"); + // Make the request + servingConfigServiceClient.DeleteServingConfig(name); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigSnippet.g.cs new file mode 100644 index 000000000000..eacae3ad4c4c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/ServingConfigServiceClient.DeleteServingConfigSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedServingConfigServiceClientSnippets + { + /// Snippet for DeleteServingConfig + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void DeleteServingConfig() + { + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/dataStores/[DATA_STORE]/servingConfigs/[SERVING_CONFIG]"; + // Make the request + servingConfigServiceClient.DeleteServingConfig(name); + } + } + // [END discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs index 8fe9100ef878..b57bee06fc86 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs @@ -39,6 +39,7 @@ public async Task CreateSessionRequestObjectAsync() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = await sessionServiceClient.CreateSessionAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectSnippet.g.cs index b06e49fea20d..c817d897b45e 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectSnippet.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/SessionServiceClient.CreateSessionRequestObjectSnippet.g.cs @@ -38,6 +38,7 @@ public void CreateSessionRequestObject() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = sessionServiceClient.CreateSession(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..5abbf150cf94 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,66 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_BatchUpdateUserLicenses_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for BatchUpdateUserLicensesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task BatchUpdateUserLicensesRequestObjectAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + BatchUpdateUserLicensesRequest request = new BatchUpdateUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + InlineSource = new BatchUpdateUserLicensesRequest.Types.InlineSource(), + DeleteUnassignedUserLicenses = false, + }; + // Make the request + Operation response = await userLicenseServiceClient.BatchUpdateUserLicensesAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BatchUpdateUserLicensesResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await userLicenseServiceClient.PollOnceBatchUpdateUserLicensesAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BatchUpdateUserLicensesResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_BatchUpdateUserLicenses_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..594bf0e3be1d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectSnippet.g.cs @@ -0,0 +1,65 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_BatchUpdateUserLicenses_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for BatchUpdateUserLicenses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void BatchUpdateUserLicensesRequestObject() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + BatchUpdateUserLicensesRequest request = new BatchUpdateUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + InlineSource = new BatchUpdateUserLicensesRequest.Types.InlineSource(), + DeleteUnassignedUserLicenses = false, + }; + // Make the request + Operation response = userLicenseServiceClient.BatchUpdateUserLicenses(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BatchUpdateUserLicensesResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = userLicenseServiceClient.PollOnceBatchUpdateUserLicenses(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BatchUpdateUserLicensesResponse retrievedResult = retrievedResponse.Result; + } + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_BatchUpdateUserLicenses_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsyncSnippet.g.cs new file mode 100644 index 000000000000..39c7c9aecac7 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListLicenseConfigsUsageStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListLicenseConfigsUsageStatsAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + ListLicenseConfigsUsageStatsResponse response = await userLicenseServiceClient.ListLicenseConfigsUsageStatsAsync(parent); + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..818d1c814dca --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListLicenseConfigsUsageStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListLicenseConfigsUsageStatsRequestObjectAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + ListLicenseConfigsUsageStatsRequest request = new ListLicenseConfigsUsageStatsRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + ListLicenseConfigsUsageStatsResponse response = await userLicenseServiceClient.ListLicenseConfigsUsageStatsAsync(request); + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..5d4b0ea81700 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListLicenseConfigsUsageStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListLicenseConfigsUsageStatsRequestObject() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + ListLicenseConfigsUsageStatsRequest request = new ListLicenseConfigsUsageStatsRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + ListLicenseConfigsUsageStatsResponse response = userLicenseServiceClient.ListLicenseConfigsUsageStats(request); + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..fb7c90db4540 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListLicenseConfigsUsageStatsAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListLicenseConfigsUsageStatsResourceNamesAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + ListLicenseConfigsUsageStatsResponse response = await userLicenseServiceClient.ListLicenseConfigsUsageStatsAsync(parent); + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..5a2e137fc350 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListLicenseConfigsUsageStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListLicenseConfigsUsageStatsResourceNames() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + ListLicenseConfigsUsageStatsResponse response = userLicenseServiceClient.ListLicenseConfigsUsageStats(parent); + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsSnippet.g.cs new file mode 100644 index 000000000000..36e9307a1cf8 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListLicenseConfigsUsageStatsSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListLicenseConfigsUsageStats + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListLicenseConfigsUsageStats() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + ListLicenseConfigsUsageStatsResponse response = userLicenseServiceClient.ListLicenseConfigsUsageStats(parent); + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesAsyncSnippet.g.cs new file mode 100644 index 000000000000..0f3316ba392b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicensesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListUserLicensesAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + PagedAsyncEnumerable response = userLicenseServiceClient.ListUserLicensesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..21041e01a9ff --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,83 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicensesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListUserLicensesRequestObjectAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + ListUserLicensesRequest request = new ListUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + Filter = "", + OrderBy = "", + }; + // Make the request + PagedAsyncEnumerable response = userLicenseServiceClient.ListUserLicensesAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..2cec63b77adf --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesRequestObjectSnippet.g.cs @@ -0,0 +1,82 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicenses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListUserLicensesRequestObject() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + ListUserLicensesRequest request = new ListUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + Filter = "", + OrderBy = "", + }; + // Make the request + PagedEnumerable response = userLicenseServiceClient.ListUserLicenses(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..c376dd04452b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,78 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicensesAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task ListUserLicensesResourceNamesAsync() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + PagedAsyncEnumerable response = userLicenseServiceClient.ListUserLicensesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..d602afe9ef2b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesResourceNamesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync_flattened_resourceNames] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicenses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListUserLicensesResourceNames() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + PagedEnumerable response = userLicenseServiceClient.ListUserLicenses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesSnippet.g.cs new file mode 100644 index 000000000000..7bb9e263abcf --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserLicenseServiceClient.ListUserLicensesSnippet.g.cs @@ -0,0 +1,77 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync_flattened] + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using System; + + public sealed partial class GeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicenses + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void ListUserLicenses() + { + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + PagedEnumerable response = userLicenseServiceClient.ListUserLicenses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + } + } + // [END discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreAsyncSnippet.g.cs new file mode 100644 index 000000000000..69ae8910b12b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetUserStoreAsync() + { + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + UserStore response = await userStoreServiceClient.GetUserStoreAsync(name); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..bfef1be2f60c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,47 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetUserStoreRequestObjectAsync() + { + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + GetUserStoreRequest request = new GetUserStoreRequest + { + UserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + UserStore response = await userStoreServiceClient.GetUserStoreAsync(request); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..c9dd61808aa9 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreRequestObjectSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetUserStoreRequestObject() + { + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + GetUserStoreRequest request = new GetUserStoreRequest + { + UserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + UserStore response = userStoreServiceClient.GetUserStore(request); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesAsyncSnippet.g.cs new file mode 100644 index 000000000000..acf22a80cc7b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesAsyncSnippet.g.cs @@ -0,0 +1,44 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task GetUserStoreResourceNamesAsync() + { + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStoreName name = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + UserStore response = await userStoreServiceClient.GetUserStoreAsync(name); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesSnippet.g.cs new file mode 100644 index 000000000000..e430ad298c75 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreResourceNamesSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync_flattened_resourceNames] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetUserStoreResourceNames() + { + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + UserStoreName name = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + UserStore response = userStoreServiceClient.GetUserStore(name); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync_flattened_resourceNames] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreSnippet.g.cs new file mode 100644 index 000000000000..5779f9157d1c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.GetUserStoreSnippet.g.cs @@ -0,0 +1,43 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void GetUserStore() + { + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + UserStore response = userStoreServiceClient.GetUserStore(name); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreAsyncSnippet.g.cs new file mode 100644 index 000000000000..b2f77669f6b0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreAsyncSnippet.g.cs @@ -0,0 +1,46 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_async_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for UpdateUserStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateUserStoreAsync() + { + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStore userStore = new UserStore(); + FieldMask updateMask = new FieldMask(); + // Make the request + UserStore response = await userStoreServiceClient.UpdateUserStoreAsync(userStore, updateMask); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_async_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectAsyncSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectAsyncSnippet.g.cs new file mode 100644 index 000000000000..e54bca8ae65b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectAsyncSnippet.g.cs @@ -0,0 +1,49 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_async] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for UpdateUserStoreAsync + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public async Task UpdateUserStoreRequestObjectAsync() + { + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateUserStoreRequest request = new UpdateUserStoreRequest + { + UserStore = new UserStore(), + UpdateMask = new FieldMask(), + }; + // Make the request + UserStore response = await userStoreServiceClient.UpdateUserStoreAsync(request); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_async] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectSnippet.g.cs new file mode 100644 index 000000000000..81ac98936b04 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreRequestObjectSnippet.g.cs @@ -0,0 +1,48 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_sync] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for UpdateUserStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateUserStoreRequestObject() + { + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + UpdateUserStoreRequest request = new UpdateUserStoreRequest + { + UserStore = new UserStore(), + UpdateMask = new FieldMask(), + }; + // Make the request + UserStore response = userStoreServiceClient.UpdateUserStore(request); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_sync] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreSnippet.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreSnippet.g.cs new file mode 100644 index 000000000000..2718cf2c04cd --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/UserStoreServiceClient.UpdateUserStoreSnippet.g.cs @@ -0,0 +1,45 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + // [START discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_sync_flattened] + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + + public sealed partial class GeneratedUserStoreServiceClientSnippets + { + /// Snippet for UpdateUserStore + /// + /// This snippet has been automatically generated and should be regarded as a code template only. + /// It will require modifications to work: + /// - It may require correct/in-range values for request initialization. + /// - It may require specifying regional endpoints when creating the service client as shown in + /// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. + /// + public void UpdateUserStore() + { + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + UserStore userStore = new UserStore(); + FieldMask updateMask = new FieldMask(); + // Make the request + UserStore response = userStoreServiceClient.UpdateUserStore(userStore, updateMask); + } + } + // [END discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_sync_flattened] +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/snippet_metadata_google.cloud.discoveryengine.v1beta.json b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/snippet_metadata_google.cloud.discoveryengine.v1beta.json index 46700520084d..a3e313266208 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/snippet_metadata_google.cloud.discoveryengine.v1beta.json +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.GeneratedSnippets/snippet_metadata_google.cloud.discoveryengine.v1beta.json @@ -11,17 +11,17 @@ }, "snippets": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_sync", - "title": "CompleteQueryRequestObject", - "description": "Snippet for CompleteQuery", - "file": "CompletionServiceClient.CompleteQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_UpdateAclConfig_sync", + "title": "UpdateAclConfigRequestObject", + "description": "Snippet for UpdateAclConfig", + "file": "AclConfigServiceClient.UpdateAclConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CompleteQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.CompleteQuery", + "shortName": "UpdateAclConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.UpdateAclConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest", "name": "request" }, { @@ -29,17 +29,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfig", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", + "shortName": "UpdateAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.UpdateAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, @@ -48,29 +48,29 @@ "segments": [ { "start": 20, - "end": 48, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 46, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_async", - "title": "CompleteQueryRequestObjectAsync", - "description": "Snippet for CompleteQueryAsync", - "file": "CompletionServiceClient.CompleteQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_UpdateAclConfig_async", + "title": "UpdateAclConfigRequestObjectAsync", + "description": "Snippet for UpdateAclConfigAsync", + "file": "AclConfigServiceClient.UpdateAclConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CompleteQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.CompleteQueryAsync", + "shortName": "UpdateAclConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.UpdateAclConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest", "name": "request" }, { @@ -78,17 +78,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", + "shortName": "UpdateAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.UpdateAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, @@ -97,28 +97,28 @@ "segments": [ { "start": 20, - "end": 49, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 47, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_sync", - "title": "AdvancedCompleteQueryRequestObject", - "description": "Snippet for AdvancedCompleteQuery", - "file": "CompletionServiceClient.AdvancedCompleteQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync", + "title": "GetAclConfigRequestObject", + "description": "Snippet for GetAclConfig", + "file": "AclConfigServiceClient.GetAclConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "AdvancedCompleteQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.AdvancedCompleteQuery", + "shortName": "GetAclConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.GetAclConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest", "name": "request" }, { @@ -126,17 +126,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfig", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "AdvancedCompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.GetAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, @@ -145,29 +145,29 @@ "segments": [ { "start": 20, - "end": 54, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 52, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_async", - "title": "AdvancedCompleteQueryRequestObjectAsync", - "description": "Snippet for AdvancedCompleteQueryAsync", - "file": "CompletionServiceClient.AdvancedCompleteQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async", + "title": "GetAclConfigRequestObjectAsync", + "description": "Snippet for GetAclConfigAsync", + "file": "AclConfigServiceClient.GetAclConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "AdvancedCompleteQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.AdvancedCompleteQueryAsync", + "shortName": "GetAclConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.GetAclConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest", "name": "request" }, { @@ -175,17 +175,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "AdvancedCompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.GetAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, @@ -194,222 +194,218 @@ "segments": [ { "start": 20, - "end": 55, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 53, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_sync", - "title": "ImportSuggestionDenyListEntriesRequestObject", - "description": "Snippet for ImportSuggestionDenyListEntries", - "file": "CompletionServiceClient.ImportSuggestionDenyListEntriesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync_flattened", + "title": "GetAclConfig", + "description": "Snippet for GetAclConfig", + "file": "AclConfigServiceClient.GetAclConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportSuggestionDenyListEntries", + "shortName": "GetAclConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.GetAclConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfig", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.GetAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 60, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async", - "title": "ImportSuggestionDenyListEntriesRequestObjectAsync", - "description": "Snippet for ImportSuggestionDenyListEntriesAsync", - "file": "CompletionServiceClient.ImportSuggestionDenyListEntriesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async_flattened", + "title": "GetAclConfigAsync", + "description": "Snippet for GetAclConfigAsync", + "file": "AclConfigServiceClient.GetAclConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportSuggestionDenyListEntriesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportSuggestionDenyListEntriesAsync", + "shortName": "GetAclConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.GetAclConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.GetAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 61, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", - "title": "PurgeSuggestionDenyListEntriesRequestObject", - "description": "Snippet for PurgeSuggestionDenyListEntries", - "file": "CompletionServiceClient.PurgeSuggestionDenyListEntriesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_sync_flattened_resourceNames", + "title": "GetAclConfigResourceNames", + "description": "Snippet for GetAclConfig", + "file": "AclConfigServiceClient.GetAclConfigResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeSuggestionDenyListEntries", + "shortName": "GetAclConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.GetAclConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfig", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.GetAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 59, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async", - "title": "PurgeSuggestionDenyListEntriesRequestObjectAsync", - "description": "Snippet for PurgeSuggestionDenyListEntriesAsync", - "file": "CompletionServiceClient.PurgeSuggestionDenyListEntriesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AclConfigService_GetAclConfig_async_flattened_resourceNames", + "title": "GetAclConfigResourceNamesAsync", + "description": "Snippet for GetAclConfigAsync", + "file": "AclConfigServiceClient.GetAclConfigResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntriesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeSuggestionDenyListEntriesAsync", + "shortName": "GetAclConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient.GetAclConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AclConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceClient" }, "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService.GetAclConfig", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.AclConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_sync", - "title": "ImportCompletionSuggestionsRequestObject", - "description": "Snippet for ImportCompletionSuggestions", - "file": "CompletionServiceClient.ImportCompletionSuggestionsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_StreamAssist_sync", + "title": "StreamAssistRequestObject", + "description": "Snippet for StreamAssist", + "file": "AssistantServiceClient.StreamAssistRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportCompletionSuggestions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportCompletionSuggestions", + "shortName": "StreamAssist", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.StreamAssist", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest", "name": "request" }, { @@ -417,17 +413,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient+StreamAssistStream", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", + "shortName": "StreamAssist", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.StreamAssist", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -436,29 +432,28 @@ "segments": [ { "start": 20, - "end": 63, + "end": 61, "type": "FULL" }, { - "start": 35, - "end": 61, + "start": 36, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_async", - "title": "ImportCompletionSuggestionsRequestObjectAsync", - "description": "Snippet for ImportCompletionSuggestionsAsync", - "file": "CompletionServiceClient.ImportCompletionSuggestionsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_CreateAssistant_sync", + "title": "CreateAssistantRequestObject", + "description": "Snippet for CreateAssistant", + "file": "AssistantServiceClient.CreateAssistantRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportCompletionSuggestionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportCompletionSuggestionsAsync", - "async": true, + "shortName": "CreateAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.CreateAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest", "name": "request" }, { @@ -466,17 +461,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", + "shortName": "CreateAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.CreateAssistant", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -485,28 +480,29 @@ "segments": [ { "start": 20, - "end": 64, + "end": 46, "type": "FULL" }, { - "start": 36, - "end": 62, + "start": 34, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_sync", - "title": "PurgeCompletionSuggestionsRequestObject", - "description": "Snippet for PurgeCompletionSuggestions", - "file": "CompletionServiceClient.PurgeCompletionSuggestionsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_CreateAssistant_async", + "title": "CreateAssistantRequestObjectAsync", + "description": "Snippet for CreateAssistantAsync", + "file": "AssistantServiceClient.CreateAssistantRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeCompletionSuggestions", + "shortName": "CreateAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.CreateAssistantAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest", "name": "request" }, { @@ -514,17 +510,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", + "shortName": "CreateAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.CreateAssistant", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -533,29 +529,28 @@ "segments": [ { "start": 20, - "end": 61, + "end": 47, "type": "FULL" }, { "start": 35, - "end": 59, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_async", - "title": "PurgeCompletionSuggestionsRequestObjectAsync", - "description": "Snippet for PurgeCompletionSuggestionsAsync", - "file": "CompletionServiceClient.PurgeCompletionSuggestionsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync", + "title": "DeleteAssistantRequestObject", + "description": "Snippet for DeleteAssistant", + "file": "AssistantServiceClient.DeleteAssistantRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeCompletionSuggestionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeCompletionSuggestionsAsync", - "async": true, + "shortName": "DeleteAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.DeleteAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest", "name": "request" }, { @@ -563,17 +558,16 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "CompletionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", + "shortName": "DeleteAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant", "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -582,28 +576,29 @@ "segments": [ { "start": 20, - "end": 62, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync", - "title": "CreateControlRequestObject", - "description": "Snippet for CreateControl", - "file": "ControlServiceClient.CreateControlRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async", + "title": "DeleteAssistantRequestObjectAsync", + "description": "Snippet for DeleteAssistantAsync", + "file": "AssistantServiceClient.DeleteAssistantRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", + "shortName": "DeleteAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.DeleteAssistantAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateControlRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest", "name": "request" }, { @@ -611,17 +606,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "DeleteAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -630,103 +625,139 @@ "segments": [ { "start": 20, - "end": 46, + "end": 45, "type": "FULL" }, { - "start": 34, - "end": 44, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async", - "title": "CreateControlRequestObjectAsync", - "description": "Snippet for CreateControlAsync", - "file": "ControlServiceClient.CreateControlRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync_flattened", + "title": "DeleteAssistant", + "description": "Snippet for DeleteAssistant", + "file": "AssistantServiceClient.DeleteAssistantSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", - "async": true, + "shortName": "DeleteAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.DeleteAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateControlRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "DeleteAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 45, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync_flattened", - "title": "CreateControl", - "description": "Snippet for CreateControl", - "file": "ControlServiceClient.CreateControlSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async_flattened", + "title": "DeleteAssistantAsync", + "description": "Snippet for DeleteAssistantAsync", + "file": "AssistantServiceClient.DeleteAssistantAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", + "shortName": "DeleteAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.DeleteAssistantAsync", + "async": true, "parameters": [ { "type": "System.String", - "name": "parent" + "name": "name" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" - }, + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" + }, + "method": { + "shortName": "DeleteAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant", + "service": { + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_sync_flattened_resourceNames", + "title": "DeleteAssistantResourceNames", + "description": "Snippet for DeleteAssistant", + "file": "AssistantServiceClient.DeleteAssistantResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.DeleteAssistant", + "parameters": [ { - "type": "System.String", - "name": "controlId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "DeleteAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -734,55 +765,47 @@ "segments": [ { "start": 20, - "end": 43, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 41, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async_flattened", - "title": "CreateControlAsync", - "description": "Snippet for CreateControlAsync", - "file": "ControlServiceClient.CreateControlAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_DeleteAssistant_async_flattened_resourceNames", + "title": "DeleteAssistantResourceNamesAsync", + "description": "Snippet for DeleteAssistantAsync", + "file": "AssistantServiceClient.DeleteAssistantResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", + "shortName": "DeleteAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.DeleteAssistantAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" - }, - { - "type": "System.String", - "name": "controlId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "DeleteAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -790,165 +813,147 @@ "segments": [ { "start": 20, - "end": 44, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 42, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync_flattened_resourceNames1", - "title": "CreateControlResourceNames1", - "description": "Snippet for CreateControl", - "file": "ControlServiceClient.CreateControlResourceNames1Snippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_sync", + "title": "UpdateAssistantRequestObject", + "description": "Snippet for UpdateAssistant", + "file": "AssistantServiceClient.UpdateAssistantRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", + "shortName": "UpdateAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.UpdateAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" - }, - { - "type": "System.String", - "name": "controlId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "UpdateAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.UpdateAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 46, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async_flattened_resourceNames1", - "title": "CreateControlResourceNames1Async", - "description": "Snippet for CreateControlAsync", - "file": "ControlServiceClient.CreateControlResourceNames1AsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_async", + "title": "UpdateAssistantRequestObjectAsync", + "description": "Snippet for UpdateAssistantAsync", + "file": "AssistantServiceClient.UpdateAssistantRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", + "shortName": "UpdateAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.UpdateAssistantAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" - }, - { - "type": "System.String", - "name": "controlId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "UpdateAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.UpdateAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 47, "type": "FULL" }, { - "start": 35, - "end": 42, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync_flattened_resourceNames2", - "title": "CreateControlResourceNames2", - "description": "Snippet for CreateControl", - "file": "ControlServiceClient.CreateControlResourceNames2Snippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_sync_flattened", + "title": "UpdateAssistant", + "description": "Snippet for UpdateAssistant", + "file": "AssistantServiceClient.UpdateAssistantSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", + "shortName": "UpdateAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.UpdateAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", + "name": "assistant" }, { - "type": "System.String", - "name": "controlId" + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "UpdateAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.UpdateAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -960,51 +965,47 @@ "type": "FULL" }, { - "start": 34, + "start": 35, "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async_flattened_resourceNames2", - "title": "CreateControlResourceNames2Async", - "description": "Snippet for CreateControlAsync", - "file": "ControlServiceClient.CreateControlResourceNames2AsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_UpdateAssistant_async_flattened", + "title": "UpdateAssistantAsync", + "description": "Snippet for UpdateAssistantAsync", + "file": "AssistantServiceClient.UpdateAssistantAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", + "shortName": "UpdateAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.UpdateAssistantAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", + "name": "assistant" }, { - "type": "System.String", - "name": "controlId" + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "shortName": "UpdateAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.UpdateAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1016,24 +1017,24 @@ "type": "FULL" }, { - "start": 35, + "start": 36, "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync", - "title": "DeleteControlRequestObject", - "description": "Snippet for DeleteControl", - "file": "ControlServiceClient.DeleteControlRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync", + "title": "GetAssistantRequestObject", + "description": "Snippet for GetAssistant", + "file": "AssistantServiceClient.GetAssistantRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControl", + "shortName": "GetAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.GetAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteControlRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest", "name": "request" }, { @@ -1041,16 +1042,17 @@ "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "shortName": "GetAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1070,18 +1072,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async", - "title": "DeleteControlRequestObjectAsync", - "description": "Snippet for DeleteControlAsync", - "file": "ControlServiceClient.DeleteControlRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_GetAssistant_async", + "title": "GetAssistantRequestObjectAsync", + "description": "Snippet for GetAssistantAsync", + "file": "AssistantServiceClient.GetAssistantRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControlAsync", + "shortName": "GetAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.GetAssistantAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteControlRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest", "name": "request" }, { @@ -1089,17 +1091,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "shortName": "GetAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1119,14 +1121,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync_flattened", - "title": "DeleteControl", - "description": "Snippet for DeleteControl", - "file": "ControlServiceClient.DeleteControlSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync_flattened", + "title": "GetAssistant", + "description": "Snippet for GetAssistant", + "file": "AssistantServiceClient.GetAssistantSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControl", + "shortName": "GetAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.GetAssistant", "parameters": [ { "type": "System.String", @@ -1137,16 +1139,17 @@ "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "shortName": "GetAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1165,14 +1168,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async_flattened", - "title": "DeleteControlAsync", - "description": "Snippet for DeleteControlAsync", - "file": "ControlServiceClient.DeleteControlAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_GetAssistant_async_flattened", + "title": "GetAssistantAsync", + "description": "Snippet for GetAssistantAsync", + "file": "AssistantServiceClient.GetAssistantAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControlAsync", + "shortName": "GetAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.GetAssistantAsync", "async": true, "parameters": [ { @@ -1184,17 +1187,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "shortName": "GetAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1213,17 +1216,17 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync_flattened_resourceNames", - "title": "DeleteControlResourceNames", - "description": "Snippet for DeleteControl", - "file": "ControlServiceClient.DeleteControlResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_GetAssistant_sync_flattened_resourceNames", + "title": "GetAssistantResourceNames", + "description": "Snippet for GetAssistant", + "file": "AssistantServiceClient.GetAssistantResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControl", + "shortName": "GetAssistant", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.GetAssistant", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantName", "name": "name" }, { @@ -1231,16 +1234,17 @@ "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Assistant", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "shortName": "GetAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1259,18 +1263,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async_flattened_resourceNames", - "title": "DeleteControlResourceNamesAsync", - "description": "Snippet for DeleteControlAsync", - "file": "ControlServiceClient.DeleteControlResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_GetAssistant_async_flattened_resourceNames", + "title": "GetAssistantResourceNamesAsync", + "description": "Snippet for GetAssistantAsync", + "file": "AssistantServiceClient.GetAssistantResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControlAsync", + "shortName": "GetAssistantAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.GetAssistantAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantName", "name": "name" }, { @@ -1278,17 +1282,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "shortName": "GetAssistant", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1307,17 +1311,17 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_sync", - "title": "UpdateControlRequestObject", - "description": "Snippet for UpdateControl", - "file": "ControlServiceClient.UpdateControlRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync", + "title": "ListAssistantsRequestObject", + "description": "Snippet for ListAssistants", + "file": "AssistantServiceClient.ListAssistantsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControl", + "shortName": "ListAssistants", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.ListAssistants", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateControlRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest", "name": "request" }, { @@ -1325,17 +1329,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "shortName": "ListAssistants", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1344,29 +1348,29 @@ "segments": [ { "start": 20, - "end": 46, + "end": 78, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 36, + "end": 76, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_async", - "title": "UpdateControlRequestObjectAsync", - "description": "Snippet for UpdateControlAsync", - "file": "ControlServiceClient.UpdateControlRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_ListAssistants_async", + "title": "ListAssistantsRequestObjectAsync", + "description": "Snippet for ListAssistantsAsync", + "file": "AssistantServiceClient.ListAssistantsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControlAsync", + "shortName": "ListAssistantsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.ListAssistantsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateControlRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest", "name": "request" }, { @@ -1374,17 +1378,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "shortName": "ListAssistants", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1393,50 +1397,54 @@ "segments": [ { "start": 20, - "end": 47, + "end": 79, "type": "FULL" }, { - "start": 36, - "end": 45, + "start": 37, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_sync_flattened", - "title": "UpdateControl", - "description": "Snippet for UpdateControl", - "file": "ControlServiceClient.UpdateControlSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync_flattened", + "title": "ListAssistants", + "description": "Snippet for ListAssistants", + "file": "AssistantServiceClient.ListAssistantsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControl", + "shortName": "ListAssistants", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.ListAssistants", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" + "type": "System.String", + "name": "parent" }, { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "shortName": "ListAssistants", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1444,51 +1452,55 @@ "segments": [ { "start": 20, - "end": 43, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_async_flattened", - "title": "UpdateControlAsync", - "description": "Snippet for UpdateControlAsync", - "file": "ControlServiceClient.UpdateControlAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_ListAssistants_async_flattened", + "title": "ListAssistantsAsync", + "description": "Snippet for ListAssistantsAsync", + "file": "AssistantServiceClient.ListAssistantsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControlAsync", + "shortName": "ListAssistantsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.ListAssistantsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", - "name": "control" + "type": "System.String", + "name": "parent" }, { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "shortName": "ListAssistants", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, @@ -1496,238 +1508,254 @@ "segments": [ { "start": 20, - "end": 44, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 42, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync", - "title": "GetControlRequestObject", - "description": "Snippet for GetControl", - "file": "ControlServiceClient.GetControlRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_ListAssistants_sync_flattened_resourceNames", + "title": "ListAssistantsResourceNames", + "description": "Snippet for ListAssistants", + "file": "AssistantServiceClient.ListAssistantsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControl", + "shortName": "ListAssistants", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.ListAssistants", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetControlRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "shortName": "ListAssistants", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async", - "title": "GetControlRequestObjectAsync", - "description": "Snippet for GetControlAsync", - "file": "ControlServiceClient.GetControlRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_AssistantService_ListAssistants_async_flattened_resourceNames", + "title": "ListAssistantsResourceNamesAsync", + "description": "Snippet for ListAssistantsAsync", + "file": "AssistantServiceClient.ListAssistantsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControlAsync", + "shortName": "ListAssistantsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient.ListAssistantsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetControlRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "AssistantServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceClient" }, "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "shortName": "ListAssistants", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1beta.AssistantService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync_flattened", - "title": "GetControl", - "description": "Snippet for GetControl", - "file": "ControlServiceClient.GetControlSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_sync", + "title": "UpdateCmekConfigRequestObject", + "description": "Snippet for UpdateCmekConfig", + "file": "CmekConfigServiceClient.UpdateCmekConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControl", + "shortName": "UpdateCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.UpdateCmekConfig", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "shortName": "UpdateCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.UpdateCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 62, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async_flattened", - "title": "GetControlAsync", - "description": "Snippet for GetControlAsync", - "file": "ControlServiceClient.GetControlAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_async", + "title": "UpdateCmekConfigRequestObjectAsync", + "description": "Snippet for UpdateCmekConfigAsync", + "file": "CmekConfigServiceClient.UpdateCmekConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControlAsync", + "shortName": "UpdateCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.UpdateCmekConfigAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "shortName": "UpdateCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.UpdateCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 63, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync_flattened_resourceNames", - "title": "GetControlResourceNames", - "description": "Snippet for GetControl", - "file": "ControlServiceClient.GetControlResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_sync_flattened", + "title": "UpdateCmekConfig", + "description": "Snippet for UpdateCmekConfig", + "file": "CmekConfigServiceClient.UpdateCmekConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetControl", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControl", + "shortName": "UpdateCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.UpdateCmekConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig", + "name": "config" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "shortName": "UpdateCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.UpdateCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -1735,47 +1763,47 @@ "segments": [ { "start": 20, - "end": 41, + "end": 58, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 56, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async_flattened_resourceNames", - "title": "GetControlResourceNamesAsync", - "description": "Snippet for GetControlAsync", - "file": "ControlServiceClient.GetControlResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_UpdateCmekConfig_async_flattened", + "title": "UpdateCmekConfigAsync", + "description": "Snippet for UpdateCmekConfigAsync", + "file": "CmekConfigServiceClient.UpdateCmekConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetControlAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControlAsync", + "shortName": "UpdateCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.UpdateCmekConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig", + "name": "config" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "shortName": "UpdateCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.UpdateCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -1783,28 +1811,28 @@ "segments": [ { "start": 20, - "end": 42, + "end": 59, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync", - "title": "ListControlsRequestObject", - "description": "Snippet for ListControls", - "file": "ControlServiceClient.ListControlsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync", + "title": "GetCmekConfigRequestObject", + "description": "Snippet for GetCmekConfig", + "file": "CmekConfigServiceClient.GetCmekConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControls", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", + "shortName": "GetCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.GetCmekConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListControlsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest", "name": "request" }, { @@ -1812,17 +1840,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.GetCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -1831,29 +1859,29 @@ "segments": [ { "start": 20, - "end": 79, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 77, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async", - "title": "ListControlsRequestObjectAsync", - "description": "Snippet for ListControlsAsync", - "file": "ControlServiceClient.ListControlsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async", + "title": "GetCmekConfigRequestObjectAsync", + "description": "Snippet for GetCmekConfigAsync", + "file": "CmekConfigServiceClient.GetCmekConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControlsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", + "shortName": "GetCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.GetCmekConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListControlsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest", "name": "request" }, { @@ -1861,17 +1889,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.GetCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -1880,54 +1908,46 @@ "segments": [ { "start": 20, - "end": 80, + "end": 45, "type": "FULL" }, { - "start": 37, - "end": 78, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync_flattened", - "title": "ListControls", - "description": "Snippet for ListControls", - "file": "ControlServiceClient.ListControlsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync_flattened", + "title": "GetCmekConfig", + "description": "Snippet for GetCmekConfig", + "file": "CmekConfigServiceClient.GetCmekConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControls", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", + "shortName": "GetCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.GetCmekConfig", "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.GetCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -1935,55 +1955,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async_flattened", - "title": "ListControlsAsync", - "description": "Snippet for ListControlsAsync", - "file": "ControlServiceClient.ListControlsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async_flattened", + "title": "GetCmekConfigAsync", + "description": "Snippet for GetCmekConfigAsync", + "file": "CmekConfigServiceClient.GetCmekConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControlsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", + "shortName": "GetCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.GetCmekConfigAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.GetCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -1991,54 +2003,46 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync_flattened_resourceNames1", - "title": "ListControlsResourceNames1", - "description": "Snippet for ListControls", - "file": "ControlServiceClient.ListControlsResourceNames1Snippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_sync_flattened_resourceNames", + "title": "GetCmekConfigResourceNames", + "description": "Snippet for GetCmekConfig", + "file": "CmekConfigServiceClient.GetCmekConfigResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControls", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", + "shortName": "GetCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.GetCmekConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.GetCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -2046,55 +2050,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async_flattened_resourceNames1", - "title": "ListControlsResourceNames1Async", - "description": "Snippet for ListControlsAsync", - "file": "ControlServiceClient.ListControlsResourceNames1AsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_GetCmekConfig_async_flattened_resourceNames", + "title": "GetCmekConfigResourceNamesAsync", + "description": "Snippet for GetCmekConfigAsync", + "file": "CmekConfigServiceClient.GetCmekConfigResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControlsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", + "shortName": "GetCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.GetCmekConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.GetCmekConfig", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -2102,258 +2098,238 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync_flattened_resourceNames2", - "title": "ListControlsResourceNames2", - "description": "Snippet for ListControls", - "file": "ControlServiceClient.ListControlsResourceNames2Snippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync", + "title": "ListCmekConfigsRequestObject", + "description": "Snippet for ListCmekConfigs", + "file": "CmekConfigServiceClient.ListCmekConfigsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControls", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", + "shortName": "ListCmekConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.ListCmekConfigs", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async_flattened_resourceNames2", - "title": "ListControlsResourceNames2Async", - "description": "Snippet for ListControlsAsync", - "file": "ControlServiceClient.ListControlsResourceNames2AsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async", + "title": "ListCmekConfigsRequestObjectAsync", + "description": "Snippet for ListCmekConfigsAsync", + "file": "CmekConfigServiceClient.ListCmekConfigsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListControlsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", + "shortName": "ListCmekConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.ListCmekConfigsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ControlServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs", "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 45, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync", - "title": "ConverseConversationRequestObject", - "description": "Snippet for ConverseConversation", - "file": "ConversationalSearchServiceClient.ConverseConversationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync_flattened", + "title": "ListCmekConfigs", + "description": "Snippet for ListCmekConfigs", + "file": "CmekConfigServiceClient.ListCmekConfigsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ConverseConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversation", + "shortName": "ListCmekConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.ListCmekConfigs", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationRequest", - "name": "request" + "type": "System.String", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 52, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 50, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async", - "title": "ConverseConversationRequestObjectAsync", - "description": "Snippet for ConverseConversationAsync", - "file": "ConversationalSearchServiceClient.ConverseConversationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async_flattened", + "title": "ListCmekConfigsAsync", + "description": "Snippet for ListCmekConfigsAsync", + "file": "CmekConfigServiceClient.ListCmekConfigsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ConverseConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversationAsync", + "shortName": "ListCmekConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.ListCmekConfigsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationRequest", - "name": "request" + "type": "System.String", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 53, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 51, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync_flattened", - "title": "ConverseConversation", - "description": "Snippet for ConverseConversation", - "file": "ConversationalSearchServiceClient.ConverseConversationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_sync_flattened_resourceNames", + "title": "ListCmekConfigsResourceNames", + "description": "Snippet for ListCmekConfigs", + "file": "CmekConfigServiceClient.ListCmekConfigsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ConverseConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversation", + "shortName": "ListCmekConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.ListCmekConfigs", "parameters": [ { - "type": "System.String", - "name": "name" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", - "name": "query" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -2361,51 +2337,47 @@ "segments": [ { "start": 20, - "end": 42, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 40, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async_flattened", - "title": "ConverseConversationAsync", - "description": "Snippet for ConverseConversationAsync", - "file": "ConversationalSearchServiceClient.ConverseConversationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_ListCmekConfigs_async_flattened_resourceNames", + "title": "ListCmekConfigsResourceNamesAsync", + "description": "Snippet for ListCmekConfigsAsync", + "file": "CmekConfigServiceClient.ListCmekConfigsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ConverseConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversationAsync", + "shortName": "ListCmekConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.ListCmekConfigsAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", - "name": "query" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -2413,250 +2385,238 @@ "segments": [ { "start": 20, - "end": 43, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync_flattened_resourceNames", - "title": "ConverseConversationResourceNames", - "description": "Snippet for ConverseConversation", - "file": "ConversationalSearchServiceClient.ConverseConversationResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync", + "title": "DeleteCmekConfigRequestObject", + "description": "Snippet for DeleteCmekConfig", + "file": "CmekConfigServiceClient.DeleteCmekConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ConverseConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversation", + "shortName": "DeleteCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.DeleteCmekConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", - "name": "name" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", - "name": "query" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 62, "type": "FULL" }, { - "start": 34, - "end": 40, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async_flattened_resourceNames", - "title": "ConverseConversationResourceNamesAsync", - "description": "Snippet for ConverseConversationAsync", - "file": "ConversationalSearchServiceClient.ConverseConversationResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async", + "title": "DeleteCmekConfigRequestObjectAsync", + "description": "Snippet for DeleteCmekConfigAsync", + "file": "CmekConfigServiceClient.DeleteCmekConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ConverseConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversationAsync", + "shortName": "DeleteCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.DeleteCmekConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", - "name": "name" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", - "name": "query" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 63, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 37, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync", - "title": "CreateConversationRequestObject", - "description": "Snippet for CreateConversation", - "file": "ConversationalSearchServiceClient.CreateConversationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync_flattened", + "title": "DeleteCmekConfig", + "description": "Snippet for DeleteCmekConfig", + "file": "CmekConfigServiceClient.DeleteCmekConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversation", + "shortName": "DeleteCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.DeleteCmekConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateConversationRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 43, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async", - "title": "CreateConversationRequestObjectAsync", - "description": "Snippet for CreateConversationAsync", - "file": "ConversationalSearchServiceClient.CreateConversationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async_flattened", + "title": "DeleteCmekConfigAsync", + "description": "Snippet for DeleteCmekConfigAsync", + "file": "CmekConfigServiceClient.DeleteCmekConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversationAsync", + "shortName": "DeleteCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.DeleteCmekConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateConversationRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync_flattened", - "title": "CreateConversation", - "description": "Snippet for CreateConversation", - "file": "ConversationalSearchServiceClient.CreateConversationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_sync_flattened_resourceNames", + "title": "DeleteCmekConfigResourceNames", + "description": "Snippet for DeleteCmekConfig", + "file": "CmekConfigServiceClient.DeleteCmekConfigResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversation", + "shortName": "DeleteCmekConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.DeleteCmekConfig", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", - "name": "conversation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -2664,51 +2624,47 @@ "segments": [ { "start": 20, - "end": 42, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 40, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async_flattened", - "title": "CreateConversationAsync", - "description": "Snippet for CreateConversationAsync", - "file": "ConversationalSearchServiceClient.CreateConversationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CmekConfigService_DeleteCmekConfig_async_flattened_resourceNames", + "title": "DeleteCmekConfigResourceNamesAsync", + "description": "Snippet for DeleteCmekConfigAsync", + "file": "CmekConfigServiceClient.DeleteCmekConfigResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversationAsync", + "shortName": "DeleteCmekConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient.DeleteCmekConfigAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", - "name": "conversation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CmekConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceClient" }, "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.CmekConfigService" } } }, @@ -2716,131 +2672,125 @@ "segments": [ { "start": 20, - "end": 43, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync_flattened_resourceNames", - "title": "CreateConversationResourceNames", - "description": "Snippet for CreateConversation", - "file": "ConversationalSearchServiceClient.CreateConversationResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_sync", + "title": "CompleteQueryRequestObject", + "description": "Snippet for CompleteQuery", + "file": "CompletionServiceClient.CompleteQueryRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversation", + "shortName": "CompleteQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.CompleteQuery", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", - "name": "conversation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 48, "type": "FULL" }, { "start": 34, - "end": 40, + "end": 46, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async_flattened_resourceNames", - "title": "CreateConversationResourceNamesAsync", - "description": "Snippet for CreateConversationAsync", - "file": "ConversationalSearchServiceClient.CreateConversationResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_async", + "title": "CompleteQueryRequestObjectAsync", + "description": "Snippet for CompleteQueryAsync", + "file": "CompletionServiceClient.CompleteQueryRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversationAsync", + "shortName": "CompleteQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.CompleteQueryAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", - "name": "conversation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 49, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 47, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync", - "title": "DeleteConversationRequestObject", - "description": "Snippet for DeleteConversation", - "file": "ConversationalSearchServiceClient.DeleteConversationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_sync", + "title": "AdvancedCompleteQueryRequestObject", + "description": "Snippet for AdvancedCompleteQuery", + "file": "CompletionServiceClient.AdvancedCompleteQueryRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversation", + "shortName": "AdvancedCompleteQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.AdvancedCompleteQuery", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteConversationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest", "name": "request" }, { @@ -2848,16 +2798,17 @@ "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "shortName": "AdvancedCompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, @@ -2866,29 +2817,29 @@ "segments": [ { "start": 20, - "end": 44, + "end": 59, "type": "FULL" }, { "start": 34, - "end": 42, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async", - "title": "DeleteConversationRequestObjectAsync", - "description": "Snippet for DeleteConversationAsync", - "file": "ConversationalSearchServiceClient.DeleteConversationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_async", + "title": "AdvancedCompleteQueryRequestObjectAsync", + "description": "Snippet for AdvancedCompleteQueryAsync", + "file": "CompletionServiceClient.AdvancedCompleteQueryRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversationAsync", + "shortName": "AdvancedCompleteQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.AdvancedCompleteQueryAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteConversationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest", "name": "request" }, { @@ -2896,17 +2847,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "shortName": "AdvancedCompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, @@ -2915,216 +2866,222 @@ "segments": [ { "start": 20, - "end": 45, + "end": 60, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync_flattened", - "title": "DeleteConversation", - "description": "Snippet for DeleteConversation", - "file": "ConversationalSearchServiceClient.DeleteConversationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_sync", + "title": "ImportSuggestionDenyListEntriesRequestObject", + "description": "Snippet for ImportSuggestionDenyListEntries", + "file": "CompletionServiceClient.ImportSuggestionDenyListEntriesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversation", + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportSuggestionDenyListEntries", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 62, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async_flattened", - "title": "DeleteConversationAsync", - "description": "Snippet for DeleteConversationAsync", - "file": "ConversationalSearchServiceClient.DeleteConversationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async", + "title": "ImportSuggestionDenyListEntriesRequestObjectAsync", + "description": "Snippet for ImportSuggestionDenyListEntriesAsync", + "file": "CompletionServiceClient.ImportSuggestionDenyListEntriesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversationAsync", + "shortName": "ImportSuggestionDenyListEntriesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportSuggestionDenyListEntriesAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 63, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync_flattened_resourceNames", - "title": "DeleteConversationResourceNames", - "description": "Snippet for DeleteConversation", - "file": "ConversationalSearchServiceClient.DeleteConversationResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", + "title": "PurgeSuggestionDenyListEntriesRequestObject", + "description": "Snippet for PurgeSuggestionDenyListEntries", + "file": "CompletionServiceClient.PurgeSuggestionDenyListEntriesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversation", + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeSuggestionDenyListEntries", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 61, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async_flattened_resourceNames", - "title": "DeleteConversationResourceNamesAsync", - "description": "Snippet for DeleteConversationAsync", - "file": "ConversationalSearchServiceClient.DeleteConversationResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async", + "title": "PurgeSuggestionDenyListEntriesRequestObjectAsync", + "description": "Snippet for PurgeSuggestionDenyListEntriesAsync", + "file": "CompletionServiceClient.PurgeSuggestionDenyListEntriesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversationAsync", + "shortName": "PurgeSuggestionDenyListEntriesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeSuggestionDenyListEntriesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 62, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_sync", - "title": "UpdateConversationRequestObject", - "description": "Snippet for UpdateConversation", - "file": "ConversationalSearchServiceClient.UpdateConversationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_sync", + "title": "ImportCompletionSuggestionsRequestObject", + "description": "Snippet for ImportCompletionSuggestions", + "file": "CompletionServiceClient.ImportCompletionSuggestionsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversation", + "shortName": "ImportCompletionSuggestions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportCompletionSuggestions", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateConversationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest", "name": "request" }, { @@ -3132,17 +3089,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, @@ -3151,29 +3108,29 @@ "segments": [ { "start": 20, - "end": 46, + "end": 63, "type": "FULL" }, { "start": 35, - "end": 44, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_async", - "title": "UpdateConversationRequestObjectAsync", - "description": "Snippet for UpdateConversationAsync", - "file": "ConversationalSearchServiceClient.UpdateConversationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_async", + "title": "ImportCompletionSuggestionsRequestObjectAsync", + "description": "Snippet for ImportCompletionSuggestionsAsync", + "file": "CompletionServiceClient.ImportCompletionSuggestionsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversationAsync", + "shortName": "ImportCompletionSuggestionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.ImportCompletionSuggestionsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateConversationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest", "name": "request" }, { @@ -3181,17 +3138,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, @@ -3200,131 +3157,125 @@ "segments": [ { "start": 20, - "end": 47, + "end": 64, "type": "FULL" }, { "start": 36, - "end": 45, + "end": 62, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_sync_flattened", - "title": "UpdateConversation", - "description": "Snippet for UpdateConversation", - "file": "ConversationalSearchServiceClient.UpdateConversationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_sync", + "title": "PurgeCompletionSuggestionsRequestObject", + "description": "Snippet for PurgeCompletionSuggestions", + "file": "CompletionServiceClient.PurgeCompletionSuggestionsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversation", + "shortName": "PurgeCompletionSuggestions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeCompletionSuggestions", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", - "name": "conversation" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 61, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_async_flattened", - "title": "UpdateConversationAsync", - "description": "Snippet for UpdateConversationAsync", - "file": "ConversationalSearchServiceClient.UpdateConversationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_async", + "title": "PurgeCompletionSuggestionsRequestObjectAsync", + "description": "Snippet for PurgeCompletionSuggestionsAsync", + "file": "CompletionServiceClient.PurgeCompletionSuggestionsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversationAsync", + "shortName": "PurgeCompletionSuggestionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.PurgeCompletionSuggestionsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", - "name": "conversation" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 62, "type": "FULL" }, { "start": 36, - "end": 42, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync", - "title": "GetConversationRequestObject", - "description": "Snippet for GetConversation", - "file": "ConversationalSearchServiceClient.GetConversationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_RemoveSuggestion_sync", + "title": "RemoveSuggestionRequestObject", + "description": "Snippet for RemoveSuggestion", + "file": "CompletionServiceClient.RemoveSuggestionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversation", + "shortName": "RemoveSuggestion", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.RemoveSuggestion", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetConversationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest", "name": "request" }, { @@ -3332,17 +3283,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "shortName": "RemoveSuggestion", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.RemoveSuggestion", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, @@ -3351,29 +3302,29 @@ "segments": [ { "start": 20, - "end": 44, + "end": 49, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 35, + "end": 47, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async", - "title": "GetConversationRequestObjectAsync", - "description": "Snippet for GetConversationAsync", - "file": "ConversationalSearchServiceClient.GetConversationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_RemoveSuggestion_async", + "title": "RemoveSuggestionRequestObjectAsync", + "description": "Snippet for RemoveSuggestionAsync", + "file": "CompletionServiceClient.RemoveSuggestionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversationAsync", + "shortName": "RemoveSuggestionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient.RemoveSuggestionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetConversationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest", "name": "request" }, { @@ -3381,17 +3332,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "CompletionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient" }, "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "shortName": "RemoveSuggestion", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.RemoveSuggestion", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" } } }, @@ -3400,141 +3351,151 @@ "segments": [ { "start": 20, - "end": 45, + "end": 50, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 36, + "end": 48, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync_flattened", - "title": "GetConversation", - "description": "Snippet for GetConversation", - "file": "ConversationalSearchServiceClient.GetConversationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync", + "title": "CreateControlRequestObject", + "description": "Snippet for CreateControl", + "file": "ControlServiceClient.CreateControlRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversation", + "shortName": "CreateControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateControlRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 46, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async_flattened", - "title": "GetConversationAsync", - "description": "Snippet for GetConversationAsync", - "file": "ConversationalSearchServiceClient.GetConversationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async", + "title": "CreateControlRequestObjectAsync", + "description": "Snippet for CreateControlAsync", + "file": "ControlServiceClient.CreateControlRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversationAsync", + "shortName": "CreateControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateControlRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 47, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync_flattened_resourceNames", - "title": "GetConversationResourceNames", - "description": "Snippet for GetConversation", - "file": "ConversationalSearchServiceClient.GetConversationResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync_flattened", + "title": "CreateControl", + "description": "Snippet for CreateControl", + "file": "ControlServiceClient.CreateControlSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetConversation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversation", + "shortName": "CreateControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" + }, + { + "type": "System.String", + "name": "controlId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -3542,47 +3503,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async_flattened_resourceNames", - "title": "GetConversationResourceNamesAsync", - "description": "Snippet for GetConversationAsync", - "file": "ConversationalSearchServiceClient.GetConversationResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async_flattened", + "title": "CreateControlAsync", + "description": "Snippet for CreateControlAsync", + "file": "ControlServiceClient.CreateControlAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetConversationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversationAsync", + "shortName": "CreateControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" + }, + { + "type": "System.String", + "name": "controlId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -3590,207 +3559,221 @@ "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync", - "title": "ListConversationsRequestObject", - "description": "Snippet for ListConversations", - "file": "ConversationalSearchServiceClient.ListConversationsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync_flattened_resourceNames1", + "title": "CreateControlResourceNames1", + "description": "Snippet for CreateControl", + "file": "ControlServiceClient.CreateControlResourceNames1Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListConversations", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversations", + "shortName": "CreateControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" + }, + { + "type": "System.String", + "name": "controlId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 80, + "end": 43, "type": "FULL" }, { - "start": 36, - "end": 78, + "start": 34, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async", - "title": "ListConversationsRequestObjectAsync", - "description": "Snippet for ListConversationsAsync", - "file": "ConversationalSearchServiceClient.ListConversationsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async_flattened_resourceNames1", + "title": "CreateControlResourceNames1Async", + "description": "Snippet for CreateControlAsync", + "file": "ControlServiceClient.CreateControlResourceNames1AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListConversationsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversationsAsync", + "shortName": "CreateControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" + }, + { + "type": "System.String", + "name": "controlId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 81, + "end": 44, "type": "FULL" }, { - "start": 37, - "end": 79, + "start": 35, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync_flattened", - "title": "ListConversations", - "description": "Snippet for ListConversations", - "file": "ConversationalSearchServiceClient.ListConversationsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync_flattened_resourceNames2", + "title": "CreateControlResourceNames2", + "description": "Snippet for CreateControl", + "file": "ControlServiceClient.CreateControlResourceNames2Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListConversations", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversations", + "shortName": "CreateControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControl", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", "name": "parent" }, { - "type": "System.String", - "name": "pageToken" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" }, { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "System.String", + "name": "controlId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + } } }, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 43, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async_flattened", - "title": "ListConversationsAsync", - "description": "Snippet for ListConversationsAsync", - "file": "ConversationalSearchServiceClient.ListConversationsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async_flattened_resourceNames2", + "title": "CreateControlResourceNames2Async", + "description": "Snippet for CreateControlAsync", + "file": "ControlServiceClient.CreateControlResourceNames2AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListConversationsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversationsAsync", + "shortName": "CreateControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.CreateControlAsync", "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", "name": "parent" }, { - "type": "System.String", - "name": "pageToken" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" }, { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "System.String", + "name": "controlId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -3798,446 +3781,431 @@ "segments": [ { "start": 20, - "end": 76, + "end": 44, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync_flattened_resourceNames", - "title": "ListConversationsResourceNames", - "description": "Snippet for ListConversations", - "file": "ConversationalSearchServiceClient.ListConversationsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync", + "title": "DeleteControlRequestObject", + "description": "Snippet for DeleteControl", + "file": "ControlServiceClient.DeleteControlRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListConversations", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversations", + "shortName": "DeleteControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteControlRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async_flattened_resourceNames", - "title": "ListConversationsResourceNamesAsync", - "description": "Snippet for ListConversationsAsync", - "file": "ConversationalSearchServiceClient.ListConversationsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async", + "title": "DeleteControlRequestObjectAsync", + "description": "Snippet for DeleteControlAsync", + "file": "ControlServiceClient.DeleteControlRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListConversationsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversationsAsync", + "shortName": "DeleteControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteControlRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 45, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_sync", - "title": "AnswerQueryRequestObject", - "description": "Snippet for AnswerQuery", - "file": "ConversationalSearchServiceClient.AnswerQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync_flattened", + "title": "DeleteControl", + "description": "Snippet for DeleteControl", + "file": "ControlServiceClient.DeleteControlSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "AnswerQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.AnswerQuery", + "shortName": "DeleteControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryResponse", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 54, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 52, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_async", - "title": "AnswerQueryRequestObjectAsync", - "description": "Snippet for AnswerQueryAsync", - "file": "ConversationalSearchServiceClient.AnswerQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async_flattened", + "title": "DeleteControlAsync", + "description": "Snippet for DeleteControlAsync", + "file": "ControlServiceClient.DeleteControlAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "AnswerQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.AnswerQueryAsync", + "shortName": "DeleteControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 55, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 53, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync", - "title": "GetAnswerRequestObject", - "description": "Snippet for GetAnswer", - "file": "ConversationalSearchServiceClient.GetAnswerRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync_flattened_resourceNames", + "title": "DeleteControlResourceNames", + "description": "Snippet for DeleteControl", + "file": "ControlServiceClient.DeleteControlResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetAnswer", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswer", + "shortName": "DeleteControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAnswerRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Answer", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 42, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async", - "title": "GetAnswerRequestObjectAsync", - "description": "Snippet for GetAnswerAsync", - "file": "ConversationalSearchServiceClient.GetAnswerRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async_flattened_resourceNames", + "title": "DeleteControlResourceNamesAsync", + "description": "Snippet for DeleteControlAsync", + "file": "ControlServiceClient.DeleteControlResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetAnswerAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswerAsync", + "shortName": "DeleteControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.DeleteControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAnswerRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync_flattened", - "title": "GetAnswer", - "description": "Snippet for GetAnswer", - "file": "ConversationalSearchServiceClient.GetAnswerSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_sync", + "title": "UpdateControlRequestObject", + "description": "Snippet for UpdateControl", + "file": "ControlServiceClient.UpdateControlRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetAnswer", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswer", + "shortName": "UpdateControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControl", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateControlRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Answer", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 46, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async_flattened", - "title": "GetAnswerAsync", - "description": "Snippet for GetAnswerAsync", - "file": "ConversationalSearchServiceClient.GetAnswerAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_async", + "title": "UpdateControlRequestObjectAsync", + "description": "Snippet for UpdateControlAsync", + "file": "ControlServiceClient.UpdateControlRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetAnswerAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswerAsync", + "shortName": "UpdateControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControlAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateControlRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 47, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync_flattened_resourceNames", - "title": "GetAnswerResourceNames", - "description": "Snippet for GetAnswer", - "file": "ConversationalSearchServiceClient.GetAnswerResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_sync_flattened", + "title": "UpdateControl", + "description": "Snippet for UpdateControl", + "file": "ControlServiceClient.UpdateControlSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetAnswer", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswer", + "shortName": "UpdateControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Answer", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4245,47 +4213,51 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async_flattened_resourceNames", - "title": "GetAnswerResourceNamesAsync", - "description": "Snippet for GetAnswerAsync", - "file": "ConversationalSearchServiceClient.GetAnswerResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_async_flattened", + "title": "UpdateControlAsync", + "description": "Snippet for UpdateControlAsync", + "file": "ControlServiceClient.UpdateControlAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetAnswerAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswerAsync", + "shortName": "UpdateControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.UpdateControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Control", + "name": "control" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4293,28 +4265,28 @@ "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync", - "title": "CreateSessionRequestObject", - "description": "Snippet for CreateSession", - "file": "ConversationalSearchServiceClient.CreateSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync", + "title": "GetControlRequestObject", + "description": "Snippet for GetControl", + "file": "ControlServiceClient.GetControlRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSession", + "shortName": "GetControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetControlRequest", "name": "request" }, { @@ -4322,17 +4294,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4341,29 +4313,29 @@ "segments": [ { "start": 20, - "end": 45, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 43, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async", - "title": "CreateSessionRequestObjectAsync", - "description": "Snippet for CreateSessionAsync", - "file": "ConversationalSearchServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async", + "title": "GetControlRequestObjectAsync", + "description": "Snippet for GetControlAsync", + "file": "ControlServiceClient.GetControlRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSessionAsync", + "shortName": "GetControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetControlRequest", "name": "request" }, { @@ -4371,17 +4343,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4390,50 +4362,46 @@ "segments": [ { "start": 20, - "end": 46, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 44, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync_flattened", - "title": "CreateSession", - "description": "Snippet for CreateSession", - "file": "ConversationalSearchServiceClient.CreateSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync_flattened", + "title": "GetControl", + "description": "Snippet for GetControl", + "file": "ControlServiceClient.GetControlSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSession", + "shortName": "GetControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControl", "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4441,51 +4409,47 @@ "segments": [ { "start": 20, - "end": 42, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 40, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async_flattened", - "title": "CreateSessionAsync", - "description": "Snippet for CreateSessionAsync", - "file": "ConversationalSearchServiceClient.CreateSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async_flattened", + "title": "GetControlAsync", + "description": "Snippet for GetControlAsync", + "file": "ControlServiceClient.GetControlAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSessionAsync", + "shortName": "GetControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControlAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4493,50 +4457,46 @@ "segments": [ { "start": 20, - "end": 43, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync_flattened_resourceNames", - "title": "CreateSessionResourceNames", - "description": "Snippet for CreateSession", - "file": "ConversationalSearchServiceClient.CreateSessionResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync_flattened_resourceNames", + "title": "GetControlResourceNames", + "description": "Snippet for GetControl", + "file": "ControlServiceClient.GetControlResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSession", + "shortName": "GetControl", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControl", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Control", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4544,51 +4504,47 @@ "segments": [ { "start": 20, - "end": 42, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 40, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async_flattened_resourceNames", - "title": "CreateSessionResourceNamesAsync", - "description": "Snippet for CreateSessionAsync", - "file": "ConversationalSearchServiceClient.CreateSessionResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async_flattened_resourceNames", + "title": "GetControlResourceNamesAsync", + "description": "Snippet for GetControlAsync", + "file": "ControlServiceClient.GetControlResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSessionAsync", + "shortName": "GetControlAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.GetControlAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ControlName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4596,28 +4552,28 @@ "segments": [ { "start": 20, - "end": 43, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync", - "title": "DeleteSessionRequestObject", - "description": "Snippet for DeleteSession", - "file": "ConversationalSearchServiceClient.DeleteSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync", + "title": "ListControlsRequestObject", + "description": "Snippet for ListControls", + "file": "ControlServiceClient.ListControlsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSession", + "shortName": "ListControls", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListControlsRequest", "name": "request" }, { @@ -4625,16 +4581,17 @@ "name": "callSettings" } ], + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4643,29 +4600,29 @@ "segments": [ { "start": 20, - "end": 44, + "end": 79, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 36, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async", - "title": "DeleteSessionRequestObjectAsync", - "description": "Snippet for DeleteSessionAsync", - "file": "ConversationalSearchServiceClient.DeleteSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async", + "title": "ListControlsRequestObjectAsync", + "description": "Snippet for ListControlsAsync", + "file": "ControlServiceClient.ListControlsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSessionAsync", + "shortName": "ListControlsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListControlsRequest", "name": "request" }, { @@ -4673,17 +4630,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4692,45 +4649,54 @@ "segments": [ { "start": 20, - "end": 45, + "end": 80, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 37, + "end": 78, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync_flattened", - "title": "DeleteSession", - "description": "Snippet for DeleteSession", - "file": "ConversationalSearchServiceClient.DeleteSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync_flattened", + "title": "ListControls", + "description": "Snippet for ListControls", + "file": "ControlServiceClient.ListControlsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSession", + "shortName": "ListControls", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4738,47 +4704,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async_flattened", - "title": "DeleteSessionAsync", - "description": "Snippet for DeleteSessionAsync", - "file": "ConversationalSearchServiceClient.DeleteSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async_flattened", + "title": "ListControlsAsync", + "description": "Snippet for ListControlsAsync", + "file": "ControlServiceClient.ListControlsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSessionAsync", + "shortName": "ListControlsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" }, { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4786,45 +4760,54 @@ "segments": [ { "start": 20, - "end": 42, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync_flattened_resourceNames", - "title": "DeleteSessionResourceNames", - "description": "Snippet for DeleteSession", - "file": "ConversationalSearchServiceClient.DeleteSessionResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync_flattened_resourceNames1", + "title": "ListControlsResourceNames1", + "description": "Snippet for ListControls", + "file": "ControlServiceClient.ListControlsResourceNames1Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSession", + "shortName": "ListControls", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4832,47 +4815,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async_flattened_resourceNames", - "title": "DeleteSessionResourceNamesAsync", - "description": "Snippet for DeleteSessionAsync", - "file": "ConversationalSearchServiceClient.DeleteSessionResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async_flattened_resourceNames1", + "title": "ListControlsResourceNames1Async", + "description": "Snippet for ListControlsAsync", + "file": "ControlServiceClient.ListControlsResourceNames1AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSessionAsync", + "shortName": "ListControlsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, @@ -4880,340 +4871,358 @@ "segments": [ { "start": 20, - "end": 42, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_sync", - "title": "UpdateSessionRequestObject", - "description": "Snippet for UpdateSession", - "file": "ConversationalSearchServiceClient.UpdateSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync_flattened_resourceNames2", + "title": "ListControlsResourceNames2", + "description": "Snippet for ListControls", + "file": "ControlServiceClient.ListControlsResourceNames2Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSession", + "shortName": "ListControls", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControls", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async", - "title": "UpdateSessionRequestObjectAsync", - "description": "Snippet for UpdateSessionAsync", - "file": "ConversationalSearchServiceClient.UpdateSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async_flattened_resourceNames2", + "title": "ListControlsResourceNames2Async", + "description": "Snippet for ListControlsAsync", + "file": "ControlServiceClient.ListControlsResourceNames2AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSessionAsync", + "shortName": "ListControlsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient.ListControlsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + "shortName": "ControlServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 45, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_sync_flattened", - "title": "UpdateSession", - "description": "Snippet for UpdateSession", - "file": "ConversationalSearchServiceClient.UpdateSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync", + "title": "ConverseConversationRequestObject", + "description": "Snippet for ConverseConversation", + "file": "ConversationalSearchServiceClient.ConverseConversationRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSession", + "shortName": "ConverseConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 52, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 34, + "end": 50, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async_flattened", - "title": "UpdateSessionAsync", - "description": "Snippet for UpdateSessionAsync", - "file": "ConversationalSearchServiceClient.UpdateSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async", + "title": "ConverseConversationRequestObjectAsync", + "description": "Snippet for ConverseConversationAsync", + "file": "ConversationalSearchServiceClient.ConverseConversationRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSessionAsync", + "shortName": "ConverseConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 53, "type": "FULL" }, { - "start": 36, - "end": 42, + "start": 35, + "end": 51, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync", - "title": "GetSessionRequestObject", - "description": "Snippet for GetSession", - "file": "ConversationalSearchServiceClient.GetSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync_flattened", + "title": "ConverseConversation", + "description": "Snippet for ConverseConversation", + "file": "ConversationalSearchServiceClient.ConverseConversationSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSession", + "shortName": "ConverseConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", - "name": "request" + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", + "name": "query" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 42, "type": "FULL" }, { "start": 34, - "end": 43, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async", - "title": "GetSessionRequestObjectAsync", - "description": "Snippet for GetSessionAsync", - "file": "ConversationalSearchServiceClient.GetSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async_flattened", + "title": "ConverseConversationAsync", + "description": "Snippet for ConverseConversationAsync", + "file": "ConversationalSearchServiceClient.ConverseConversationAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSessionAsync", + "shortName": "ConverseConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", - "name": "request" + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", + "name": "query" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 44, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync_flattened", - "title": "GetSession", - "description": "Snippet for GetSession", - "file": "ConversationalSearchServiceClient.GetSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync_flattened_resourceNames", + "title": "ConverseConversationResourceNames", + "description": "Snippet for ConverseConversation", + "file": "ConversationalSearchServiceClient.ConverseConversationResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSession", + "shortName": "ConverseConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversation", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", "name": "name" }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", + "name": "query" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" @@ -5224,44 +5233,48 @@ "segments": [ { "start": 20, - "end": 41, + "end": 42, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async_flattened", - "title": "GetSessionAsync", - "description": "Snippet for GetSessionAsync", - "file": "ConversationalSearchServiceClient.GetSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async_flattened_resourceNames", + "title": "ConverseConversationResourceNamesAsync", + "description": "Snippet for ConverseConversationAsync", + "file": "ConversationalSearchServiceClient.ConverseConversationResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSessionAsync", + "shortName": "ConverseConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ConverseConversationAsync", "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", "name": "name" }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TextInput", + "name": "query" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" @@ -5272,243 +5285,247 @@ "segments": [ { "start": 20, - "end": 42, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync_flattened_resourceNames", - "title": "GetSessionResourceNames", - "description": "Snippet for GetSession", - "file": "ConversationalSearchServiceClient.GetSessionResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync", + "title": "CreateConversationRequestObject", + "description": "Snippet for CreateConversation", + "file": "ConversationalSearchServiceClient.CreateConversationRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSession", + "shortName": "CreateConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 45, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async_flattened_resourceNames", - "title": "GetSessionResourceNamesAsync", - "description": "Snippet for GetSessionAsync", - "file": "ConversationalSearchServiceClient.GetSessionResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async", + "title": "CreateConversationRequestObjectAsync", + "description": "Snippet for CreateConversationAsync", + "file": "ConversationalSearchServiceClient.CreateConversationRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSessionAsync", + "shortName": "CreateConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 46, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync", - "title": "ListSessionsRequestObject", - "description": "Snippet for ListSessions", - "file": "ConversationalSearchServiceClient.ListSessionsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync_flattened", + "title": "CreateConversation", + "description": "Snippet for CreateConversation", + "file": "ConversationalSearchServiceClient.CreateConversationSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessions", + "shortName": "CreateConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "name": "conversation" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 80, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 78, + "start": 34, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async", - "title": "ListSessionsRequestObjectAsync", - "description": "Snippet for ListSessionsAsync", - "file": "ConversationalSearchServiceClient.ListSessionsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async_flattened", + "title": "CreateConversationAsync", + "description": "Snippet for CreateConversationAsync", + "file": "ConversationalSearchServiceClient.CreateConversationAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessionsAsync", + "shortName": "CreateConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "name": "conversation" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 81, + "end": 43, "type": "FULL" }, { - "start": 37, - "end": 79, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync_flattened", - "title": "ListSessions", - "description": "Snippet for ListSessions", - "file": "ConversationalSearchServiceClient.ListSessionsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync_flattened_resourceNames", + "title": "CreateConversationResourceNames", + "description": "Snippet for CreateConversation", + "file": "ConversationalSearchServiceClient.CreateConversationResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessions", + "shortName": "CreateConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversation", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", "name": "parent" }, { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "name": "conversation" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" @@ -5519,52 +5536,48 @@ "segments": [ { "start": 20, - "end": 75, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async_flattened", - "title": "ListSessionsAsync", - "description": "Snippet for ListSessionsAsync", - "file": "ConversationalSearchServiceClient.ListSessionsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async_flattened_resourceNames", + "title": "CreateConversationResourceNamesAsync", + "description": "Snippet for CreateConversationAsync", + "file": "ConversationalSearchServiceClient.CreateConversationResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessionsAsync", + "shortName": "CreateConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateConversationAsync", "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", "name": "parent" }, { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "name": "conversation" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" @@ -5575,262 +5588,235 @@ "segments": [ { "start": 20, - "end": 76, + "end": 43, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync_flattened_resourceNames", - "title": "ListSessionsResourceNames", - "description": "Snippet for ListSessions", - "file": "ConversationalSearchServiceClient.ListSessionsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync", + "title": "DeleteConversationRequestObject", + "description": "Snippet for DeleteConversation", + "file": "ConversationalSearchServiceClient.DeleteConversationRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessions", + "shortName": "DeleteConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async_flattened_resourceNames", - "title": "ListSessionsResourceNamesAsync", - "description": "Snippet for ListSessionsAsync", - "file": "ConversationalSearchServiceClient.ListSessionsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async", + "title": "DeleteConversationRequestObjectAsync", + "description": "Snippet for DeleteConversationAsync", + "file": "ConversationalSearchServiceClient.DeleteConversationRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessionsAsync", + "shortName": "DeleteConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "ConversationalSearchServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "service": { "shortName": "ConversationalSearchService", "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 45, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync", - "title": "CreateDataStoreRequestObject", - "description": "Snippet for CreateDataStore", - "file": "DataStoreServiceClient.CreateDataStoreRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync_flattened", + "title": "DeleteConversation", + "description": "Snippet for DeleteConversation", + "file": "ConversationalSearchServiceClient.DeleteConversationSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStore", + "shortName": "DeleteConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 65, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 63, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async", - "title": "CreateDataStoreRequestObjectAsync", - "description": "Snippet for CreateDataStoreAsync", - "file": "DataStoreServiceClient.CreateDataStoreRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async_flattened", + "title": "DeleteConversationAsync", + "description": "Snippet for DeleteConversationAsync", + "file": "ConversationalSearchServiceClient.DeleteConversationAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStoreAsync", + "shortName": "DeleteConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 66, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 64, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync_flattened", - "title": "CreateDataStore", - "description": "Snippet for CreateDataStore", - "file": "DataStoreServiceClient.CreateDataStoreSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync_flattened_resourceNames", + "title": "DeleteConversationResourceNames", + "description": "Snippet for DeleteConversation", + "file": "ConversationalSearchServiceClient.DeleteConversationResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStore", + "shortName": "DeleteConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversation", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", - "name": "dataStore" - }, - { - "type": "System.String", - "name": "dataStoreId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -5838,55 +5824,47 @@ "segments": [ { "start": 20, - "end": 60, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 58, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async_flattened", - "title": "CreateDataStoreAsync", - "description": "Snippet for CreateDataStoreAsync", - "file": "DataStoreServiceClient.CreateDataStoreAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async_flattened_resourceNames", + "title": "DeleteConversationResourceNamesAsync", + "description": "Snippet for DeleteConversationAsync", + "file": "ConversationalSearchServiceClient.DeleteConversationResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStoreAsync", + "shortName": "DeleteConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteConversationAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", - "name": "dataStore" - }, - { - "type": "System.String", - "name": "dataStoreId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -5894,331 +5872,325 @@ "segments": [ { "start": 20, - "end": 61, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 59, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync_flattened_resourceNames", - "title": "CreateDataStoreResourceNames", - "description": "Snippet for CreateDataStore", - "file": "DataStoreServiceClient.CreateDataStoreResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_sync", + "title": "UpdateConversationRequestObject", + "description": "Snippet for UpdateConversation", + "file": "ConversationalSearchServiceClient.UpdateConversationRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStore", + "shortName": "UpdateConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", - "name": "dataStore" - }, - { - "type": "System.String", - "name": "dataStoreId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 46, "type": "FULL" }, { "start": 35, - "end": 58, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async_flattened_resourceNames", - "title": "CreateDataStoreResourceNamesAsync", - "description": "Snippet for CreateDataStoreAsync", - "file": "DataStoreServiceClient.CreateDataStoreResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_async", + "title": "UpdateConversationRequestObjectAsync", + "description": "Snippet for UpdateConversationAsync", + "file": "ConversationalSearchServiceClient.UpdateConversationRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStoreAsync", + "shortName": "UpdateConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", - "name": "dataStore" - }, - { - "type": "System.String", - "name": "dataStoreId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 47, "type": "FULL" }, { "start": 36, - "end": 59, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync", - "title": "GetDataStoreRequestObject", - "description": "Snippet for GetDataStore", - "file": "DataStoreServiceClient.GetDataStoreRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_sync_flattened", + "title": "UpdateConversation", + "description": "Snippet for UpdateConversation", + "file": "ConversationalSearchServiceClient.UpdateConversationSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStore", + "shortName": "UpdateConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "name": "conversation" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async", - "title": "GetDataStoreRequestObjectAsync", - "description": "Snippet for GetDataStoreAsync", - "file": "DataStoreServiceClient.GetDataStoreRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_async_flattened", + "title": "UpdateConversationAsync", + "description": "Snippet for UpdateConversationAsync", + "file": "ConversationalSearchServiceClient.UpdateConversationAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStoreAsync", + "shortName": "UpdateConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", + "name": "conversation" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync_flattened", - "title": "GetDataStore", - "description": "Snippet for GetDataStore", - "file": "DataStoreServiceClient.GetDataStoreSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync", + "title": "GetConversationRequestObject", + "description": "Snippet for GetConversation", + "file": "ConversationalSearchServiceClient.GetConversationRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStore", + "shortName": "GetConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversation", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async_flattened", - "title": "GetDataStoreAsync", - "description": "Snippet for GetDataStoreAsync", - "file": "DataStoreServiceClient.GetDataStoreAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async", + "title": "GetConversationRequestObjectAsync", + "description": "Snippet for GetConversationAsync", + "file": "ConversationalSearchServiceClient.GetConversationRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStoreAsync", + "shortName": "GetConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversationAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetConversationRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync_flattened_resourceNames", - "title": "GetDataStoreResourceNames", - "description": "Snippet for GetDataStore", - "file": "DataStoreServiceClient.GetDataStoreResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync_flattened", + "title": "GetConversation", + "description": "Snippet for GetConversation", + "file": "ConversationalSearchServiceClient.GetConversationSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStore", + "shortName": "GetConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "type": "System.String", "name": "name" }, { @@ -6226,17 +6198,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -6255,18 +6227,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async_flattened_resourceNames", - "title": "GetDataStoreResourceNamesAsync", - "description": "Snippet for GetDataStoreAsync", - "file": "DataStoreServiceClient.GetDataStoreResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async_flattened", + "title": "GetConversationAsync", + "description": "Snippet for GetConversationAsync", + "file": "ConversationalSearchServiceClient.GetConversationAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStoreAsync", + "shortName": "GetConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "type": "System.String", "name": "name" }, { @@ -6274,17 +6246,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -6303,225 +6275,209 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync", - "title": "ListDataStoresRequestObject", - "description": "Snippet for ListDataStores", - "file": "DataStoreServiceClient.ListDataStoresRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync_flattened_resourceNames", + "title": "GetConversationResourceNames", + "description": "Snippet for GetConversation", + "file": "ConversationalSearchServiceClient.GetConversationResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDataStores", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStores", + "shortName": "GetConversation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDataStoresRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Conversation", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 79, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 77, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async", - "title": "ListDataStoresRequestObjectAsync", - "description": "Snippet for ListDataStoresAsync", - "file": "DataStoreServiceClient.ListDataStoresRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async_flattened_resourceNames", + "title": "GetConversationResourceNamesAsync", + "description": "Snippet for GetConversationAsync", + "file": "ConversationalSearchServiceClient.GetConversationResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDataStoresAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStoresAsync", + "shortName": "GetConversationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetConversationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDataStoresRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 80, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 78, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync_flattened", - "title": "ListDataStores", - "description": "Snippet for ListDataStores", - "file": "DataStoreServiceClient.ListDataStoresSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync", + "title": "ListConversationsRequestObject", + "description": "Snippet for ListConversations", + "file": "ConversationalSearchServiceClient.ListConversationsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDataStores", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStores", + "shortName": "ListConversations", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversations", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 80, "type": "FULL" }, { "start": 36, - "end": 73, + "end": 78, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async_flattened", - "title": "ListDataStoresAsync", - "description": "Snippet for ListDataStoresAsync", - "file": "DataStoreServiceClient.ListDataStoresAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async", + "title": "ListConversationsRequestObjectAsync", + "description": "Snippet for ListConversationsAsync", + "file": "ConversationalSearchServiceClient.ListConversationsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDataStoresAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStoresAsync", + "shortName": "ListConversationsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversationsAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 81, "type": "FULL" }, { "start": 37, - "end": 74, + "end": 79, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync_flattened_resourceNames", - "title": "ListDataStoresResourceNames", - "description": "Snippet for ListDataStores", - "file": "DataStoreServiceClient.ListDataStoresResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync_flattened", + "title": "ListConversations", + "description": "Snippet for ListConversations", + "file": "ConversationalSearchServiceClient.ListConversationsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDataStores", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStores", + "shortName": "ListConversations", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversations", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "type": "System.String", "name": "parent" }, { @@ -6537,17 +6493,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -6566,18 +6522,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async_flattened_resourceNames", - "title": "ListDataStoresResourceNamesAsync", - "description": "Snippet for ListDataStoresAsync", - "file": "DataStoreServiceClient.ListDataStoresResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async_flattened", + "title": "ListConversationsAsync", + "description": "Snippet for ListConversationsAsync", + "file": "ConversationalSearchServiceClient.ListConversationsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDataStoresAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStoresAsync", + "shortName": "ListConversationsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversationsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "type": "System.String", "name": "parent" }, { @@ -6593,17 +6549,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -6622,304 +6578,322 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync", - "title": "DeleteDataStoreRequestObject", - "description": "Snippet for DeleteDataStore", - "file": "DataStoreServiceClient.DeleteDataStoreRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync_flattened_resourceNames", + "title": "ListConversationsResourceNames", + "description": "Snippet for ListConversations", + "file": "ConversationalSearchServiceClient.ListConversationsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStore", + "shortName": "ListConversations", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversations", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDataStoreRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 75, "type": "FULL" }, { "start": 36, - "end": 60, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async", - "title": "DeleteDataStoreRequestObjectAsync", - "description": "Snippet for DeleteDataStoreAsync", - "file": "DataStoreServiceClient.DeleteDataStoreRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async_flattened_resourceNames", + "title": "ListConversationsResourceNamesAsync", + "description": "Snippet for ListConversationsAsync", + "file": "ConversationalSearchServiceClient.ListConversationsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStoreAsync", + "shortName": "ListConversationsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListConversationsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDataStoreRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 76, "type": "FULL" }, { "start": 37, - "end": 61, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync_flattened", - "title": "DeleteDataStore", - "description": "Snippet for DeleteDataStore", - "file": "DataStoreServiceClient.DeleteDataStoreSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_sync", + "title": "AnswerQueryRequestObject", + "description": "Snippet for AnswerQuery", + "file": "ConversationalSearchServiceClient.AnswerQueryRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStore", + "shortName": "AnswerQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.AnswerQuery", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryResponse", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 55, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 34, + "end": 53, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async_flattened", - "title": "DeleteDataStoreAsync", - "description": "Snippet for DeleteDataStoreAsync", - "file": "DataStoreServiceClient.DeleteDataStoreAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_async", + "title": "AnswerQueryRequestObjectAsync", + "description": "Snippet for AnswerQueryAsync", + "file": "ConversationalSearchServiceClient.AnswerQueryRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStoreAsync", + "shortName": "AnswerQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.AnswerQueryAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 56, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 35, + "end": 54, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync_flattened_resourceNames", - "title": "DeleteDataStoreResourceNames", - "description": "Snippet for DeleteDataStore", - "file": "DataStoreServiceClient.DeleteDataStoreResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_StreamAnswerQuery_sync", + "title": "StreamAnswerQueryRequestObject", + "description": "Snippet for StreamAnswerQuery", + "file": "ConversationalSearchServiceClient.StreamAnswerQueryRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStore", + "shortName": "StreamAnswerQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.StreamAnswerQuery", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient+StreamAnswerQueryStream", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "shortName": "StreamAnswerQuery", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.StreamAnswerQuery", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 67, "type": "FULL" }, { "start": 36, - "end": 57, + "end": 65, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async_flattened_resourceNames", - "title": "DeleteDataStoreResourceNamesAsync", - "description": "Snippet for DeleteDataStoreAsync", - "file": "DataStoreServiceClient.DeleteDataStoreResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync", + "title": "GetAnswerRequestObject", + "description": "Snippet for GetAnswer", + "file": "ConversationalSearchServiceClient.GetAnswerRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStoreAsync", - "async": true, + "shortName": "GetAnswer", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswer", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAnswerRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Answer", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 44, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_sync", - "title": "UpdateDataStoreRequestObject", - "description": "Snippet for UpdateDataStore", - "file": "DataStoreServiceClient.UpdateDataStoreRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async", + "title": "GetAnswerRequestObjectAsync", + "description": "Snippet for GetAnswerAsync", + "file": "ConversationalSearchServiceClient.GetAnswerRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStore", + "shortName": "GetAnswerAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswerAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetAnswerRequest", "name": "request" }, { @@ -6927,17 +6901,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -6946,99 +6920,94 @@ "segments": [ { "start": 20, - "end": 46, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 44, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_async", - "title": "UpdateDataStoreRequestObjectAsync", - "description": "Snippet for UpdateDataStoreAsync", - "file": "DataStoreServiceClient.UpdateDataStoreRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync_flattened", + "title": "GetAnswer", + "description": "Snippet for GetAnswer", + "file": "ConversationalSearchServiceClient.GetAnswerSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStoreAsync", - "async": true, + "shortName": "GetAnswer", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswer", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Answer", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 45, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_sync_flattened", - "title": "UpdateDataStore", - "description": "Snippet for UpdateDataStore", - "file": "DataStoreServiceClient.UpdateDataStoreSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async_flattened", + "title": "GetAnswerAsync", + "description": "Snippet for GetAnswerAsync", + "file": "ConversationalSearchServiceClient.GetAnswerAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDataStore", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStore", + "shortName": "GetAnswerAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswerAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", - "name": "dataStore" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7046,51 +7015,46 @@ "segments": [ { "start": 20, - "end": 43, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_async_flattened", - "title": "UpdateDataStoreAsync", - "description": "Snippet for UpdateDataStoreAsync", - "file": "DataStoreServiceClient.UpdateDataStoreAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync_flattened_resourceNames", + "title": "GetAnswerResourceNames", + "description": "Snippet for GetAnswer", + "file": "ConversationalSearchServiceClient.GetAnswerResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDataStoreAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStoreAsync", - "async": true, + "shortName": "GetAnswer", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswer", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", - "name": "dataStore" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Answer", "client": { - "shortName": "DataStoreServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7098,77 +7062,76 @@ "segments": [ { "start": 20, - "end": 44, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 42, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync", - "title": "GetDocumentRequestObject", - "description": "Snippet for GetDocument", - "file": "DocumentServiceClient.GetDocumentRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async_flattened_resourceNames", + "title": "GetAnswerResourceNamesAsync", + "description": "Snippet for GetAnswerAsync", + "file": "ConversationalSearchServiceClient.GetAnswerResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocument", + "shortName": "GetAnswerAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetAnswerAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDocumentRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.AnswerName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 42, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async", - "title": "GetDocumentRequestObjectAsync", - "description": "Snippet for GetDocumentAsync", - "file": "DocumentServiceClient.GetDocumentRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync", + "title": "CreateSessionRequestObject", + "description": "Snippet for CreateSession", + "file": "ConversationalSearchServiceClient.CreateSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocumentAsync", - "async": true, + "shortName": "CreateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDocumentRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", "name": "request" }, { @@ -7176,17 +7139,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7195,94 +7158,99 @@ "segments": [ { "start": 20, - "end": 45, + "end": 46, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 34, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync_flattened", - "title": "GetDocument", - "description": "Snippet for GetDocument", - "file": "DocumentServiceClient.GetDocumentSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async", + "title": "CreateSessionRequestObjectAsync", + "description": "Snippet for CreateSessionAsync", + "file": "ConversationalSearchServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocument", + "shortName": "CreateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSessionAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" - }, + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" + }, "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 47, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async_flattened", - "title": "GetDocumentAsync", - "description": "Snippet for GetDocumentAsync", - "file": "DocumentServiceClient.GetDocumentAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync_flattened", + "title": "CreateSession", + "description": "Snippet for CreateSession", + "file": "ConversationalSearchServiceClient.CreateSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocumentAsync", - "async": true, + "shortName": "CreateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSession", "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7294,42 +7262,47 @@ "type": "FULL" }, { - "start": 35, + "start": 34, "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync_flattened_resourceNames", - "title": "GetDocumentResourceNames", - "description": "Snippet for GetDocument", - "file": "DocumentServiceClient.GetDocumentResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async_flattened", + "title": "CreateSessionAsync", + "description": "Snippet for CreateSessionAsync", + "file": "ConversationalSearchServiceClient.CreateSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocument", + "shortName": "CreateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7337,47 +7310,50 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async_flattened_resourceNames", - "title": "GetDocumentResourceNamesAsync", - "description": "Snippet for GetDocumentAsync", - "file": "DocumentServiceClient.GetDocumentResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync_flattened_resourceNames", + "title": "CreateSessionResourceNames", + "description": "Snippet for CreateSession", + "file": "ConversationalSearchServiceClient.CreateSessionResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocumentAsync", - "async": true, + "shortName": "CreateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7389,73 +7365,76 @@ "type": "FULL" }, { - "start": 35, + "start": 34, "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync", - "title": "ListDocumentsRequestObject", - "description": "Snippet for ListDocuments", - "file": "DocumentServiceClient.ListDocumentsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async_flattened_resourceNames", + "title": "CreateSessionResourceNamesAsync", + "description": "Snippet for CreateSessionAsync", + "file": "ConversationalSearchServiceClient.CreateSessionResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDocuments", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocuments", + "shortName": "CreateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.CreateSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDocumentsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 78, + "end": 43, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async", - "title": "ListDocumentsRequestObjectAsync", - "description": "Snippet for ListDocumentsAsync", - "file": "DocumentServiceClient.ListDocumentsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync", + "title": "DeleteSessionRequestObject", + "description": "Snippet for DeleteSession", + "file": "ConversationalSearchServiceClient.DeleteSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDocumentsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocumentsAsync", - "async": true, + "shortName": "DeleteSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDocumentsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", "name": "request" }, { @@ -7463,17 +7442,16 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7482,110 +7460,94 @@ "segments": [ { "start": 20, - "end": 79, + "end": 44, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync_flattened", - "title": "ListDocuments", - "description": "Snippet for ListDocuments", - "file": "DocumentServiceClient.ListDocumentsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async", + "title": "DeleteSessionRequestObjectAsync", + "description": "Snippet for DeleteSessionAsync", + "file": "ConversationalSearchServiceClient.DeleteSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDocuments", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocuments", + "shortName": "DeleteSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSessionAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async_flattened", - "title": "ListDocumentsAsync", - "description": "Snippet for ListDocumentsAsync", - "file": "DocumentServiceClient.ListDocumentsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync_flattened", + "title": "DeleteSession", + "description": "Snippet for DeleteSession", + "file": "ConversationalSearchServiceClient.DeleteSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDocumentsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocumentsAsync", - "async": true, + "shortName": "DeleteSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSession", "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7593,54 +7555,47 @@ "segments": [ { "start": 20, - "end": 76, + "end": 41, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync_flattened_resourceNames", - "title": "ListDocumentsResourceNames", - "description": "Snippet for ListDocuments", - "file": "DocumentServiceClient.ListDocumentsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async_flattened", + "title": "DeleteSessionAsync", + "description": "Snippet for DeleteSessionAsync", + "file": "ConversationalSearchServiceClient.DeleteSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDocuments", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocuments", + "shortName": "DeleteSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSessionAsync", + "async": true, "parameters": [ - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", - "name": "parent" - }, { "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7648,55 +7603,45 @@ "segments": [ { "start": 20, - "end": 75, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async_flattened_resourceNames", - "title": "ListDocumentsResourceNamesAsync", - "description": "Snippet for ListDocumentsAsync", - "file": "DocumentServiceClient.ListDocumentsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync_flattened_resourceNames", + "title": "DeleteSessionResourceNames", + "description": "Snippet for DeleteSession", + "file": "ConversationalSearchServiceClient.DeleteSessionResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListDocumentsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocumentsAsync", - "async": true, + "shortName": "DeleteSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7704,77 +7649,76 @@ "segments": [ { "start": 20, - "end": 76, + "end": 41, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync", - "title": "CreateDocumentRequestObject", - "description": "Snippet for CreateDocument", - "file": "DocumentServiceClient.CreateDocumentRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async_flattened_resourceNames", + "title": "DeleteSessionResourceNamesAsync", + "description": "Snippet for DeleteSessionAsync", + "file": "ConversationalSearchServiceClient.DeleteSessionResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocument", + "shortName": "DeleteSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.DeleteSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDocumentRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 42, "type": "FULL" }, { - "start": 34, - "end": 44, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async", - "title": "CreateDocumentRequestObjectAsync", - "description": "Snippet for CreateDocumentAsync", - "file": "DocumentServiceClient.CreateDocumentRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_sync", + "title": "UpdateSessionRequestObject", + "description": "Snippet for UpdateSession", + "file": "ConversationalSearchServiceClient.UpdateSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocumentAsync", - "async": true, + "shortName": "UpdateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDocumentRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", "name": "request" }, { @@ -7782,17 +7726,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7801,110 +7745,99 @@ "segments": [ { "start": 20, - "end": 47, + "end": 46, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync_flattened", - "title": "CreateDocument", - "description": "Snippet for CreateDocument", - "file": "DocumentServiceClient.CreateDocumentSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async", + "title": "UpdateSessionRequestObjectAsync", + "description": "Snippet for UpdateSessionAsync", + "file": "ConversationalSearchServiceClient.UpdateSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocument", + "shortName": "UpdateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSessionAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", - "name": "document" - }, - { - "type": "System.String", - "name": "documentId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 47, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async_flattened", - "title": "CreateDocumentAsync", - "description": "Snippet for CreateDocumentAsync", - "file": "DocumentServiceClient.CreateDocumentAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_sync_flattened", + "title": "UpdateSession", + "description": "Snippet for UpdateSession", + "file": "ConversationalSearchServiceClient.UpdateSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocumentAsync", - "async": true, + "shortName": "UpdateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSession", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", - "name": "document" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { - "type": "System.String", - "name": "documentId" + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7912,54 +7845,51 @@ "segments": [ { "start": 20, - "end": 44, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 42, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync_flattened_resourceNames", - "title": "CreateDocumentResourceNames", - "description": "Snippet for CreateDocument", - "file": "DocumentServiceClient.CreateDocumentResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async_flattened", + "title": "UpdateSessionAsync", + "description": "Snippet for UpdateSessionAsync", + "file": "ConversationalSearchServiceClient.UpdateSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocument", + "shortName": "UpdateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.UpdateSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", - "name": "document" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { - "type": "System.String", - "name": "documentId" + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -7967,84 +7897,77 @@ "segments": [ { "start": 20, - "end": 43, + "end": 44, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async_flattened_resourceNames", - "title": "CreateDocumentResourceNamesAsync", - "description": "Snippet for CreateDocumentAsync", - "file": "DocumentServiceClient.CreateDocumentResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync", + "title": "GetSessionRequestObject", + "description": "Snippet for GetSession", + "file": "ConversationalSearchServiceClient.GetSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocumentAsync", - "async": true, + "shortName": "GetSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", - "name": "document" - }, - { - "type": "System.String", - "name": "documentId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 45, "type": "FULL" }, { - "start": 35, - "end": 42, + "start": 34, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_sync", - "title": "UpdateDocumentRequestObject", - "description": "Snippet for UpdateDocument", - "file": "DocumentServiceClient.UpdateDocumentRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async", + "title": "GetSessionRequestObjectAsync", + "description": "Snippet for GetSessionAsync", + "file": "ConversationalSearchServiceClient.GetSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocument", + "shortName": "GetSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDocumentRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", "name": "request" }, { @@ -8052,17 +7975,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8071,99 +7994,94 @@ "segments": [ { "start": 20, - "end": 47, + "end": 46, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_async", - "title": "UpdateDocumentRequestObjectAsync", - "description": "Snippet for UpdateDocumentAsync", - "file": "DocumentServiceClient.UpdateDocumentRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync_flattened", + "title": "GetSession", + "description": "Snippet for GetSession", + "file": "ConversationalSearchServiceClient.GetSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocumentAsync", - "async": true, + "shortName": "GetSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDocumentRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 48, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 46, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_sync_flattened", - "title": "UpdateDocument", - "description": "Snippet for UpdateDocument", - "file": "DocumentServiceClient.UpdateDocumentSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async_flattened", + "title": "GetSessionAsync", + "description": "Snippet for GetSessionAsync", + "file": "ConversationalSearchServiceClient.GetSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocument", + "shortName": "GetSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", - "name": "document" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8171,51 +8089,46 @@ "segments": [ { "start": 20, - "end": 43, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_async_flattened", - "title": "UpdateDocumentAsync", - "description": "Snippet for UpdateDocumentAsync", - "file": "DocumentServiceClient.UpdateDocumentAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync_flattened_resourceNames", + "title": "GetSessionResourceNames", + "description": "Snippet for GetSession", + "file": "ConversationalSearchServiceClient.GetSessionResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocumentAsync", - "async": true, + "shortName": "GetSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", - "name": "document" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8223,76 +8136,76 @@ "segments": [ { "start": 20, - "end": 44, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 42, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync", - "title": "DeleteDocumentRequestObject", - "description": "Snippet for DeleteDocument", - "file": "DocumentServiceClient.DeleteDocumentRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async_flattened_resourceNames", + "title": "GetSessionResourceNamesAsync", + "description": "Snippet for GetSessionAsync", + "file": "ConversationalSearchServiceClient.GetSessionResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocument", + "shortName": "GetSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.GetSessionAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDocumentRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 42, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async", - "title": "DeleteDocumentRequestObjectAsync", - "description": "Snippet for DeleteDocumentAsync", - "file": "DocumentServiceClient.DeleteDocumentRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync", + "title": "ListSessionsRequestObject", + "description": "Snippet for ListSessions", + "file": "ConversationalSearchServiceClient.ListSessionsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocumentAsync", - "async": true, + "shortName": "ListSessions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessions", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDocumentRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", "name": "request" }, { @@ -8300,17 +8213,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8319,93 +8232,103 @@ "segments": [ { "start": 20, - "end": 45, + "end": 80, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 36, + "end": 78, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync_flattened", - "title": "DeleteDocument", - "description": "Snippet for DeleteDocument", - "file": "DocumentServiceClient.DeleteDocumentSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async", + "title": "ListSessionsRequestObjectAsync", + "description": "Snippet for ListSessionsAsync", + "file": "ConversationalSearchServiceClient.ListSessionsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocument", + "shortName": "ListSessionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessionsAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 81, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 37, + "end": 79, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async_flattened", - "title": "DeleteDocumentAsync", - "description": "Snippet for DeleteDocumentAsync", - "file": "DocumentServiceClient.DeleteDocumentAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync_flattened", + "title": "ListSessions", + "description": "Snippet for ListSessions", + "file": "ConversationalSearchServiceClient.ListSessionsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocumentAsync", - "async": true, + "shortName": "ListSessions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessions", "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8413,45 +8336,55 @@ "segments": [ { "start": 20, - "end": 42, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync_flattened_resourceNames", - "title": "DeleteDocumentResourceNames", - "description": "Snippet for DeleteDocument", - "file": "DocumentServiceClient.DeleteDocumentResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async_flattened", + "title": "ListSessionsAsync", + "description": "Snippet for ListSessionsAsync", + "file": "ConversationalSearchServiceClient.ListSessionsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocument", + "shortName": "ListSessionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessionsAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8459,47 +8392,54 @@ "segments": [ { "start": 20, - "end": 41, + "end": 76, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async_flattened_resourceNames", - "title": "DeleteDocumentResourceNamesAsync", - "description": "Snippet for DeleteDocumentAsync", - "file": "DocumentServiceClient.DeleteDocumentResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync_flattened_resourceNames", + "title": "ListSessionsResourceNames", + "description": "Snippet for ListSessions", + "file": "ConversationalSearchServiceClient.ListSessionsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteDocumentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocumentAsync", - "async": true, + "shortName": "ListSessions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessions", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, @@ -8507,77 +8447,84 @@ "segments": [ { "start": 20, - "end": 42, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 40, - "type": "SHORT" + "start": 36, + "end": 73, + "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_sync", - "title": "ImportDocumentsRequestObject", - "description": "Snippet for ImportDocuments", - "file": "DocumentServiceClient.ImportDocumentsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async_flattened_resourceNames", + "title": "ListSessionsResourceNamesAsync", + "description": "Snippet for ListSessionsAsync", + "file": "ConversationalSearchServiceClient.ListSessionsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportDocuments", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ImportDocuments", + "shortName": "ListSessionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient.ListSessionsAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "ConversationalSearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceClient" }, "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 68, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 66, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_async", - "title": "ImportDocumentsRequestObjectAsync", - "description": "Snippet for ImportDocumentsAsync", - "file": "DocumentServiceClient.ImportDocumentsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync", + "title": "CreateDataStoreRequestObject", + "description": "Snippet for CreateDataStore", + "file": "DataStoreServiceClient.CreateDataStoreRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportDocumentsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ImportDocumentsAsync", - "async": true, + "shortName": "CreateDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest", "name": "request" }, { @@ -8585,17 +8532,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -8604,28 +8551,29 @@ "segments": [ { "start": 20, - "end": 69, + "end": 66, "type": "FULL" }, { - "start": 37, - "end": 67, + "start": 35, + "end": 64, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_sync", - "title": "PurgeDocumentsRequestObject", - "description": "Snippet for PurgeDocuments", - "file": "DocumentServiceClient.PurgeDocumentsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async", + "title": "CreateDataStoreRequestObjectAsync", + "description": "Snippet for CreateDataStoreAsync", + "file": "DataStoreServiceClient.CreateDataStoreRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeDocuments", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.PurgeDocuments", + "shortName": "CreateDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeDocumentsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest", "name": "request" }, { @@ -8633,17 +8581,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -8652,192 +8600,221 @@ "segments": [ { "start": 20, - "end": 65, + "end": 67, "type": "FULL" }, { - "start": 35, - "end": 63, + "start": 36, + "end": 65, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_async", - "title": "PurgeDocumentsRequestObjectAsync", - "description": "Snippet for PurgeDocumentsAsync", - "file": "DocumentServiceClient.PurgeDocumentsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync_flattened", + "title": "CreateDataStore", + "description": "Snippet for CreateDataStore", + "file": "DataStoreServiceClient.CreateDataStoreSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeDocumentsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.PurgeDocumentsAsync", - "async": true, + "shortName": "CreateDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeDocumentsRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "name": "dataStore" + }, + { + "type": "System.String", + "name": "dataStoreId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 66, + "end": 60, "type": "FULL" }, { - "start": 36, - "end": 64, + "start": 35, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync", - "title": "BatchGetDocumentsMetadataRequestObject", - "description": "Snippet for BatchGetDocumentsMetadata", - "file": "DocumentServiceClient.BatchGetDocumentsMetadataRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async_flattened", + "title": "CreateDataStoreAsync", + "description": "Snippet for CreateDataStoreAsync", + "file": "DataStoreServiceClient.CreateDataStoreAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadata", + "shortName": "CreateDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "name": "dataStore" + }, + { + "type": "System.String", + "name": "dataStoreId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 61, "type": "FULL" }, { - "start": 34, - "end": 43, + "start": 36, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async", - "title": "BatchGetDocumentsMetadataRequestObjectAsync", - "description": "Snippet for BatchGetDocumentsMetadataAsync", - "file": "DocumentServiceClient.BatchGetDocumentsMetadataRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync_flattened_resourceNames", + "title": "CreateDataStoreResourceNames", + "description": "Snippet for CreateDataStore", + "file": "DataStoreServiceClient.CreateDataStoreResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchGetDocumentsMetadataAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadataAsync", - "async": true, + "shortName": "CreateDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "name": "dataStore" + }, + { + "type": "System.String", + "name": "dataStoreId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 60, "type": "FULL" }, { "start": 35, - "end": 44, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync_flattened", - "title": "BatchGetDocumentsMetadata", - "description": "Snippet for BatchGetDocumentsMetadata", - "file": "DocumentServiceClient.BatchGetDocumentsMetadataSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async_flattened_resourceNames", + "title": "CreateDataStoreResourceNamesAsync", + "description": "Snippet for CreateDataStoreAsync", + "file": "DataStoreServiceClient.CreateDataStoreResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadata", + "shortName": "CreateDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.CreateDataStoreAsync", + "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", "name": "parent" }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "name": "dataStore" + }, + { + "type": "System.String", + "name": "dataStoreId" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -8845,142 +8822,143 @@ "segments": [ { "start": 20, - "end": 41, + "end": 61, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async_flattened", - "title": "BatchGetDocumentsMetadataAsync", - "description": "Snippet for BatchGetDocumentsMetadataAsync", - "file": "DocumentServiceClient.BatchGetDocumentsMetadataAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync", + "title": "GetDataStoreRequestObject", + "description": "Snippet for GetDataStore", + "file": "DataStoreServiceClient.GetDataStoreRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchGetDocumentsMetadataAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadataAsync", - "async": true, + "shortName": "GetDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStore", "parameters": [ { - "type": "System.String", - "name": "parent" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync_flattened_resourceNames", - "title": "BatchGetDocumentsMetadataResourceNames", - "description": "Snippet for BatchGetDocumentsMetadata", - "file": "DocumentServiceClient.BatchGetDocumentsMetadataResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async", + "title": "GetDataStoreRequestObjectAsync", + "description": "Snippet for GetDataStoreAsync", + "file": "DataStoreServiceClient.GetDataStoreRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadata", + "shortName": "GetDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", - "name": "parent" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 45, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async_flattened_resourceNames", - "title": "BatchGetDocumentsMetadataResourceNamesAsync", - "description": "Snippet for BatchGetDocumentsMetadataAsync", - "file": "DocumentServiceClient.BatchGetDocumentsMetadataResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync_flattened", + "title": "GetDataStore", + "description": "Snippet for GetDataStore", + "file": "DataStoreServiceClient.GetDataStoreSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchGetDocumentsMetadataAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadataAsync", - "async": true, + "shortName": "GetDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", - "name": "parent" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", "client": { - "shortName": "DocumentServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -8988,151 +8966,142 @@ "segments": [ { "start": 20, - "end": 42, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync", - "title": "CreateEngineRequestObject", - "description": "Snippet for CreateEngine", - "file": "EngineServiceClient.CreateEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async_flattened", + "title": "GetDataStoreAsync", + "description": "Snippet for GetDataStoreAsync", + "file": "DataStoreServiceClient.GetDataStoreAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngine", + "shortName": "GetDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEngineRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 61, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async", - "title": "CreateEngineRequestObjectAsync", - "description": "Snippet for CreateEngineAsync", - "file": "EngineServiceClient.CreateEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync_flattened_resourceNames", + "title": "GetDataStoreResourceNames", + "description": "Snippet for GetDataStore", + "file": "DataStoreServiceClient.GetDataStoreResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngineAsync", - "async": true, + "shortName": "GetDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 64, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 62, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync_flattened", - "title": "CreateEngine", - "description": "Snippet for CreateEngine", - "file": "EngineServiceClient.CreateEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async_flattened_resourceNames", + "title": "GetDataStoreResourceNamesAsync", + "description": "Snippet for GetDataStoreAsync", + "file": "DataStoreServiceClient.GetDataStoreResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngine", + "shortName": "GetDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.GetDataStoreAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", - "name": "engine" - }, - { - "type": "System.String", - "name": "engineId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9140,166 +9109,151 @@ "segments": [ { "start": 20, - "end": 60, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 58, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async_flattened", - "title": "CreateEngineAsync", - "description": "Snippet for CreateEngineAsync", - "file": "EngineServiceClient.CreateEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync", + "title": "ListDataStoresRequestObject", + "description": "Snippet for ListDataStores", + "file": "DataStoreServiceClient.ListDataStoresRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngineAsync", - "async": true, + "shortName": "ListDataStores", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStores", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", - "name": "engine" - }, - { - "type": "System.String", - "name": "engineId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDataStoresRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 79, "type": "FULL" }, { "start": 36, - "end": 59, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync_flattened_resourceNames", - "title": "CreateEngineResourceNames", - "description": "Snippet for CreateEngine", - "file": "EngineServiceClient.CreateEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async", + "title": "ListDataStoresRequestObjectAsync", + "description": "Snippet for ListDataStoresAsync", + "file": "DataStoreServiceClient.ListDataStoresRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngine", + "shortName": "ListDataStoresAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStoresAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", - "name": "engine" - }, - { - "type": "System.String", - "name": "engineId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDataStoresRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 80, "type": "FULL" }, { - "start": 35, - "end": 58, + "start": 37, + "end": 78, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async_flattened_resourceNames", - "title": "CreateEngineResourceNamesAsync", - "description": "Snippet for CreateEngineAsync", - "file": "EngineServiceClient.CreateEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync_flattened", + "title": "ListDataStores", + "description": "Snippet for ListDataStores", + "file": "DataStoreServiceClient.ListDataStoresSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngineAsync", - "async": true, + "shortName": "ListDataStores", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStores", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "type": "System.String", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", - "name": "engine" + "type": "System.String", + "name": "pageToken" }, { - "type": "System.String", - "name": "engineId" + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9307,143 +9261,166 @@ "segments": [ { "start": 20, - "end": 61, + "end": 75, "type": "FULL" }, { "start": 36, - "end": 59, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync", - "title": "DeleteEngineRequestObject", - "description": "Snippet for DeleteEngine", - "file": "EngineServiceClient.DeleteEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async_flattened", + "title": "ListDataStoresAsync", + "description": "Snippet for ListDataStoresAsync", + "file": "DataStoreServiceClient.ListDataStoresAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngine", + "shortName": "ListDataStoresAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStoresAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteEngineRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async", - "title": "DeleteEngineRequestObjectAsync", - "description": "Snippet for DeleteEngineAsync", - "file": "EngineServiceClient.DeleteEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync_flattened_resourceNames", + "title": "ListDataStoresResourceNames", + "description": "Snippet for ListDataStores", + "file": "DataStoreServiceClient.ListDataStoresResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngineAsync", - "async": true, + "shortName": "ListDataStores", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStores", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 75, "type": "FULL" }, { - "start": 37, - "end": 61, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync_flattened", - "title": "DeleteEngine", - "description": "Snippet for DeleteEngine", - "file": "EngineServiceClient.DeleteEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async_flattened_resourceNames", + "title": "ListDataStoresResourceNamesAsync", + "description": "Snippet for ListDataStoresAsync", + "file": "DataStoreServiceClient.ListDataStoresResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngine", + "shortName": "ListDataStoresAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.ListDataStoresAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9451,124 +9428,125 @@ "segments": [ { "start": 20, - "end": 59, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async_flattened", - "title": "DeleteEngineAsync", - "description": "Snippet for DeleteEngineAsync", - "file": "EngineServiceClient.DeleteEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync", + "title": "DeleteDataStoreRequestObject", + "description": "Snippet for DeleteDataStore", + "file": "DataStoreServiceClient.DeleteDataStoreRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngineAsync", - "async": true, + "shortName": "DeleteDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStore", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDataStoreRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 62, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync_flattened_resourceNames", - "title": "DeleteEngineResourceNames", - "description": "Snippet for DeleteEngine", - "file": "EngineServiceClient.DeleteEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async", + "title": "DeleteDataStoreRequestObjectAsync", + "description": "Snippet for DeleteDataStoreAsync", + "file": "DataStoreServiceClient.DeleteDataStoreRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngine", + "shortName": "DeleteDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDataStoreRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 63, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 37, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async_flattened_resourceNames", - "title": "DeleteEngineResourceNamesAsync", - "description": "Snippet for DeleteEngineAsync", - "file": "EngineServiceClient.DeleteEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync_flattened", + "title": "DeleteDataStore", + "description": "Snippet for DeleteDataStore", + "file": "DataStoreServiceClient.DeleteDataStoreSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngineAsync", - "async": true, + "shortName": "DeleteDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "type": "System.String", "name": "name" }, { @@ -9576,17 +9554,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9594,147 +9572,142 @@ "segments": [ { "start": 20, - "end": 60, + "end": 59, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_sync", - "title": "UpdateEngineRequestObject", - "description": "Snippet for UpdateEngine", - "file": "EngineServiceClient.UpdateEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async_flattened", + "title": "DeleteDataStoreAsync", + "description": "Snippet for DeleteDataStoreAsync", + "file": "DataStoreServiceClient.DeleteDataStoreAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngine", + "shortName": "DeleteDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateEngineRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_async", - "title": "UpdateEngineRequestObjectAsync", - "description": "Snippet for UpdateEngineAsync", - "file": "EngineServiceClient.UpdateEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync_flattened_resourceNames", + "title": "DeleteDataStoreResourceNames", + "description": "Snippet for DeleteDataStore", + "file": "DataStoreServiceClient.DeleteDataStoreResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngineAsync", - "async": true, + "shortName": "DeleteDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 59, "type": "FULL" }, { "start": 36, - "end": 45, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_sync_flattened", - "title": "UpdateEngine", - "description": "Snippet for UpdateEngine", - "file": "EngineServiceClient.UpdateEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async_flattened_resourceNames", + "title": "DeleteDataStoreResourceNamesAsync", + "description": "Snippet for DeleteDataStoreAsync", + "file": "DataStoreServiceClient.DeleteDataStoreResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngine", + "shortName": "DeleteDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.DeleteDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", - "name": "engine" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9742,80 +9715,77 @@ "segments": [ { "start": 20, - "end": 43, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_async_flattened", - "title": "UpdateEngineAsync", - "description": "Snippet for UpdateEngineAsync", - "file": "EngineServiceClient.UpdateEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_sync", + "title": "UpdateDataStoreRequestObject", + "description": "Snippet for UpdateDataStore", + "file": "DataStoreServiceClient.UpdateDataStoreRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngineAsync", - "async": true, + "shortName": "UpdateDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", - "name": "engine" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 46, "type": "FULL" }, { - "start": 36, - "end": 42, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync", - "title": "GetEngineRequestObject", - "description": "Snippet for GetEngine", - "file": "EngineServiceClient.GetEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_async", + "title": "UpdateDataStoreRequestObjectAsync", + "description": "Snippet for UpdateDataStoreAsync", + "file": "DataStoreServiceClient.UpdateDataStoreRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngine", + "shortName": "UpdateDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStoreAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEngineRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDataStoreRequest", "name": "request" }, { @@ -9823,17 +9793,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9842,95 +9812,102 @@ "segments": [ { "start": 20, - "end": 44, + "end": 47, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async", - "title": "GetEngineRequestObjectAsync", - "description": "Snippet for GetEngineAsync", - "file": "EngineServiceClient.GetEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_sync_flattened", + "title": "UpdateDataStore", + "description": "Snippet for UpdateDataStore", + "file": "DataStoreServiceClient.UpdateDataStoreSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngineAsync", - "async": true, + "shortName": "UpdateDataStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "name": "dataStore" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync_flattened", - "title": "GetEngine", - "description": "Snippet for GetEngine", - "file": "EngineServiceClient.GetEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_async_flattened", + "title": "UpdateDataStoreAsync", + "description": "Snippet for UpdateDataStoreAsync", + "file": "DataStoreServiceClient.UpdateDataStoreAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngine", + "shortName": "UpdateDataStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient.UpdateDataStoreAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStore", + "name": "dataStore" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DataStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreServiceClient" }, "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" } } }, @@ -9938,124 +9915,125 @@ "segments": [ { "start": 20, - "end": 41, + "end": 44, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async_flattened", - "title": "GetEngineAsync", - "description": "Snippet for GetEngineAsync", - "file": "EngineServiceClient.GetEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync", + "title": "GetDocumentRequestObject", + "description": "Snippet for GetDocument", + "file": "DocumentServiceClient.GetDocumentRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngineAsync", - "async": true, + "shortName": "GetDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocument", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync_flattened_resourceNames", - "title": "GetEngineResourceNames", - "description": "Snippet for GetEngine", - "file": "EngineServiceClient.GetEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async", + "title": "GetDocumentRequestObjectAsync", + "description": "Snippet for GetDocumentAsync", + "file": "DocumentServiceClient.GetDocumentRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngine", + "shortName": "GetDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 45, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async_flattened_resourceNames", - "title": "GetEngineResourceNamesAsync", - "description": "Snippet for GetEngineAsync", - "file": "EngineServiceClient.GetEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync_flattened", + "title": "GetDocument", + "description": "Snippet for GetDocument", + "file": "DocumentServiceClient.GetDocumentSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngineAsync", - "async": true, + "shortName": "GetDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "type": "System.String", "name": "name" }, { @@ -10063,17 +10041,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10081,151 +10059,142 @@ "segments": [ { "start": 20, - "end": 42, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync", - "title": "ListEnginesRequestObject", - "description": "Snippet for ListEngines", - "file": "EngineServiceClient.ListEnginesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async_flattened", + "title": "GetDocumentAsync", + "description": "Snippet for GetDocumentAsync", + "file": "DocumentServiceClient.GetDocumentAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEngines", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEngines", + "shortName": "GetDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEnginesRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 79, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 77, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async", - "title": "ListEnginesRequestObjectAsync", - "description": "Snippet for ListEnginesAsync", - "file": "EngineServiceClient.ListEnginesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync_flattened_resourceNames", + "title": "GetDocumentResourceNames", + "description": "Snippet for GetDocument", + "file": "DocumentServiceClient.GetDocumentResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEnginesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEnginesAsync", - "async": true, + "shortName": "GetDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEnginesRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 80, + "end": 41, "type": "FULL" }, { - "start": 37, - "end": 78, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync_flattened", - "title": "ListEngines", - "description": "Snippet for ListEngines", - "file": "EngineServiceClient.ListEnginesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async_flattened_resourceNames", + "title": "GetDocumentResourceNamesAsync", + "description": "Snippet for GetDocumentAsync", + "file": "DocumentServiceClient.GetDocumentResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEngines", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEngines", + "shortName": "GetDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.GetDocumentAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10233,140 +10202,125 @@ "segments": [ { "start": 20, - "end": 75, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async_flattened", - "title": "ListEnginesAsync", - "description": "Snippet for ListEnginesAsync", - "file": "EngineServiceClient.ListEnginesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync", + "title": "ListDocumentsRequestObject", + "description": "Snippet for ListDocuments", + "file": "DocumentServiceClient.ListDocumentsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEnginesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEnginesAsync", - "async": true, + "shortName": "ListDocuments", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocuments", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDocumentsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 78, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 76, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync_flattened_resourceNames", - "title": "ListEnginesResourceNames", - "description": "Snippet for ListEngines", - "file": "EngineServiceClient.ListEnginesResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async", + "title": "ListDocumentsRequestObjectAsync", + "description": "Snippet for ListDocumentsAsync", + "file": "DocumentServiceClient.ListDocumentsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEngines", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEngines", + "shortName": "ListDocumentsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocumentsAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListDocumentsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 79, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 37, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async_flattened_resourceNames", - "title": "ListEnginesResourceNamesAsync", - "description": "Snippet for ListEnginesAsync", - "file": "EngineServiceClient.ListEnginesResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync_flattened", + "title": "ListDocuments", + "description": "Snippet for ListDocuments", + "file": "DocumentServiceClient.ListDocumentsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEnginesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEnginesAsync", - "async": true, + "shortName": "ListDocuments", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocuments", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "type": "System.String", "name": "parent" }, { @@ -10382,17 +10336,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10400,143 +10354,166 @@ "segments": [ { "start": 20, - "end": 76, + "end": 75, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync", - "title": "PauseEngineRequestObject", - "description": "Snippet for PauseEngine", - "file": "EngineServiceClient.PauseEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async_flattened", + "title": "ListDocumentsAsync", + "description": "Snippet for ListDocumentsAsync", + "file": "DocumentServiceClient.ListDocumentsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PauseEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngine", + "shortName": "ListDocumentsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocumentsAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PauseEngineRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 76, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async", - "title": "PauseEngineRequestObjectAsync", - "description": "Snippet for PauseEngineAsync", - "file": "EngineServiceClient.PauseEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync_flattened_resourceNames", + "title": "ListDocumentsResourceNames", + "description": "Snippet for ListDocuments", + "file": "DocumentServiceClient.ListDocumentsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PauseEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngineAsync", - "async": true, + "shortName": "ListDocuments", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocuments", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PauseEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync_flattened", - "title": "PauseEngine", - "description": "Snippet for PauseEngine", - "file": "EngineServiceClient.PauseEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async_flattened_resourceNames", + "title": "ListDocumentsResourceNamesAsync", + "description": "Snippet for ListDocumentsAsync", + "file": "DocumentServiceClient.ListDocumentsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PauseEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngine", + "shortName": "ListDocumentsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ListDocumentsAsync", + "async": true, "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", + "name": "parent" + }, { "type": "System.String", - "name": "name" + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10544,142 +10521,151 @@ "segments": [ { "start": 20, - "end": 41, + "end": 76, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async_flattened", - "title": "PauseEngineAsync", - "description": "Snippet for PauseEngineAsync", - "file": "EngineServiceClient.PauseEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync", + "title": "CreateDocumentRequestObject", + "description": "Snippet for CreateDocument", + "file": "DocumentServiceClient.CreateDocumentRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PauseEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngineAsync", - "async": true, + "shortName": "CreateDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocument", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 46, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync_flattened_resourceNames", - "title": "PauseEngineResourceNames", - "description": "Snippet for PauseEngine", - "file": "EngineServiceClient.PauseEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async", + "title": "CreateDocumentRequestObjectAsync", + "description": "Snippet for CreateDocumentAsync", + "file": "DocumentServiceClient.CreateDocumentRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PauseEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngine", + "shortName": "CreateDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 47, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async_flattened_resourceNames", - "title": "PauseEngineResourceNamesAsync", - "description": "Snippet for PauseEngineAsync", - "file": "EngineServiceClient.PauseEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync_flattened", + "title": "CreateDocument", + "description": "Snippet for CreateDocument", + "file": "DocumentServiceClient.CreateDocumentSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PauseEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngineAsync", - "async": true, + "shortName": "CreateDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "name": "document" + }, + { + "type": "System.String", + "name": "documentId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10687,50 +10673,58 @@ "segments": [ { "start": 20, - "end": 42, + "end": 43, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync", - "title": "ResumeEngineRequestObject", - "description": "Snippet for ResumeEngine", - "file": "EngineServiceClient.ResumeEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async_flattened", + "title": "CreateDocumentAsync", + "description": "Snippet for CreateDocumentAsync", + "file": "DocumentServiceClient.CreateDocumentAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ResumeEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngine", + "shortName": "CreateDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ResumeEngineRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "name": "document" + }, + { + "type": "System.String", + "name": "documentId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { @@ -10739,91 +10733,106 @@ "type": "FULL" }, { - "start": 34, + "start": 35, "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async", - "title": "ResumeEngineRequestObjectAsync", - "description": "Snippet for ResumeEngineAsync", - "file": "EngineServiceClient.ResumeEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync_flattened_resourceNames", + "title": "CreateDocumentResourceNames", + "description": "Snippet for CreateDocument", + "file": "DocumentServiceClient.CreateDocumentResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ResumeEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngineAsync", - "async": true, + "shortName": "CreateDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ResumeEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "name": "document" + }, + { + "type": "System.String", + "name": "documentId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 43, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 34, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync_flattened", - "title": "ResumeEngine", - "description": "Snippet for ResumeEngine", - "file": "EngineServiceClient.ResumeEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async_flattened_resourceNames", + "title": "CreateDocumentResourceNamesAsync", + "description": "Snippet for CreateDocumentAsync", + "file": "DocumentServiceClient.CreateDocumentResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ResumeEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngine", + "shortName": "CreateDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.CreateDocumentAsync", + "async": true, "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "name": "document" + }, { "type": "System.String", - "name": "name" + "name": "documentId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10831,142 +10840,147 @@ "segments": [ { "start": 20, - "end": 41, + "end": 44, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async_flattened", - "title": "ResumeEngineAsync", - "description": "Snippet for ResumeEngineAsync", - "file": "EngineServiceClient.ResumeEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_sync", + "title": "UpdateDocumentRequestObject", + "description": "Snippet for UpdateDocument", + "file": "DocumentServiceClient.UpdateDocumentRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ResumeEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngineAsync", - "async": true, + "shortName": "UpdateDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocument", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 47, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync_flattened_resourceNames", - "title": "ResumeEngineResourceNames", - "description": "Snippet for ResumeEngine", - "file": "EngineServiceClient.ResumeEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_async", + "title": "UpdateDocumentRequestObjectAsync", + "description": "Snippet for UpdateDocumentAsync", + "file": "DocumentServiceClient.UpdateDocumentRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ResumeEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngine", + "shortName": "UpdateDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 48, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 46, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async_flattened_resourceNames", - "title": "ResumeEngineResourceNamesAsync", - "description": "Snippet for ResumeEngineAsync", - "file": "EngineServiceClient.ResumeEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_sync_flattened", + "title": "UpdateDocument", + "description": "Snippet for UpdateDocument", + "file": "DocumentServiceClient.UpdateDocumentSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ResumeEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngineAsync", - "async": true, + "shortName": "UpdateDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "name": "document" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Document", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -10974,77 +10988,80 @@ "segments": [ { "start": 20, - "end": 42, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync", - "title": "TuneEngineRequestObject", - "description": "Snippet for TuneEngine", - "file": "EngineServiceClient.TuneEngineRequestObjectSnippet.g.cs", - "language": "C_SHARP", - "clientMethod": { - "shortName": "TuneEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngine", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_async_flattened", + "title": "UpdateDocumentAsync", + "description": "Snippet for UpdateDocumentAsync", + "file": "DocumentServiceClient.UpdateDocumentAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.UpdateDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TuneEngineRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Document", + "name": "document" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 59, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async", - "title": "TuneEngineRequestObjectAsync", - "description": "Snippet for TuneEngineAsync", - "file": "EngineServiceClient.TuneEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync", + "title": "DeleteDocumentRequestObject", + "description": "Snippet for DeleteDocument", + "file": "DocumentServiceClient.DeleteDocumentRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TuneEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngineAsync", - "async": true, + "shortName": "DeleteDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TuneEngineRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDocumentRequest", "name": "request" }, { @@ -11052,17 +11069,16 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11071,73 +11087,74 @@ "segments": [ { "start": 20, - "end": 62, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync_flattened", - "title": "TuneEngine", - "description": "Snippet for TuneEngine", - "file": "EngineServiceClient.TuneEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async", + "title": "DeleteDocumentRequestObjectAsync", + "description": "Snippet for DeleteDocumentAsync", + "file": "DocumentServiceClient.DeleteDocumentRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TuneEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngine", + "shortName": "DeleteDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocumentAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteDocumentRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 58, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 56, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async_flattened", - "title": "TuneEngineAsync", - "description": "Snippet for TuneEngineAsync", - "file": "EngineServiceClient.TuneEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync_flattened", + "title": "DeleteDocument", + "description": "Snippet for DeleteDocument", + "file": "DocumentServiceClient.DeleteDocumentSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TuneEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngineAsync", - "async": true, + "shortName": "DeleteDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocument", "parameters": [ { "type": "System.String", @@ -11148,17 +11165,16 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11166,28 +11182,29 @@ "segments": [ { "start": 20, - "end": 59, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync_flattened_resourceNames", - "title": "TuneEngineResourceNames", - "description": "Snippet for TuneEngine", - "file": "EngineServiceClient.TuneEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async_flattened", + "title": "DeleteDocumentAsync", + "description": "Snippet for DeleteDocumentAsync", + "file": "DocumentServiceClient.DeleteDocumentAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TuneEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngine", + "shortName": "DeleteDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "type": "System.String", "name": "name" }, { @@ -11195,17 +11212,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11213,29 +11230,28 @@ "segments": [ { "start": 20, - "end": 58, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 56, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async_flattened_resourceNames", - "title": "TuneEngineResourceNamesAsync", - "description": "Snippet for TuneEngineAsync", - "file": "EngineServiceClient.TuneEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync_flattened_resourceNames", + "title": "DeleteDocumentResourceNames", + "description": "Snippet for DeleteDocument", + "file": "DocumentServiceClient.DeleteDocumentResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TuneEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngineAsync", - "async": true, + "shortName": "DeleteDocument", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocument", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", "name": "name" }, { @@ -11243,17 +11259,16 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11261,77 +11276,76 @@ "segments": [ { "start": 20, - "end": 59, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync", - "title": "GetEvaluationRequestObject", - "description": "Snippet for GetEvaluation", - "file": "EvaluationServiceClient.GetEvaluationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async_flattened_resourceNames", + "title": "DeleteDocumentResourceNamesAsync", + "description": "Snippet for DeleteDocumentAsync", + "file": "DocumentServiceClient.DeleteDocumentResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEvaluation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluation", + "shortName": "DeleteDocumentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.DeleteDocumentAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEvaluationRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 42, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async", - "title": "GetEvaluationRequestObjectAsync", - "description": "Snippet for GetEvaluationAsync", - "file": "EvaluationServiceClient.GetEvaluationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_sync", + "title": "ImportDocumentsRequestObject", + "description": "Snippet for ImportDocuments", + "file": "DocumentServiceClient.ImportDocumentsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEvaluationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluationAsync", - "async": true, + "shortName": "ImportDocuments", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ImportDocuments", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEvaluationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest", "name": "request" }, { @@ -11339,17 +11353,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11358,218 +11372,223 @@ "segments": [ { "start": 20, - "end": 45, + "end": 69, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 36, + "end": 67, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync_flattened", - "title": "GetEvaluation", - "description": "Snippet for GetEvaluation", - "file": "EvaluationServiceClient.GetEvaluationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_async", + "title": "ImportDocumentsRequestObjectAsync", + "description": "Snippet for ImportDocumentsAsync", + "file": "DocumentServiceClient.ImportDocumentsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEvaluation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluation", + "shortName": "ImportDocumentsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.ImportDocumentsAsync", + "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 70, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 37, + "end": 68, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async_flattened", - "title": "GetEvaluationAsync", - "description": "Snippet for GetEvaluationAsync", - "file": "EvaluationServiceClient.GetEvaluationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_sync", + "title": "PurgeDocumentsRequestObject", + "description": "Snippet for PurgeDocuments", + "file": "DocumentServiceClient.PurgeDocumentsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEvaluationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluationAsync", - "async": true, + "shortName": "PurgeDocuments", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.PurgeDocuments", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeDocumentsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 65, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 63, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync_flattened_resourceNames", - "title": "GetEvaluationResourceNames", - "description": "Snippet for GetEvaluation", - "file": "EvaluationServiceClient.GetEvaluationResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_async", + "title": "PurgeDocumentsRequestObjectAsync", + "description": "Snippet for PurgeDocumentsAsync", + "file": "DocumentServiceClient.PurgeDocumentsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEvaluation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluation", + "shortName": "PurgeDocumentsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.PurgeDocumentsAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeDocumentsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 66, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 64, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async_flattened_resourceNames", - "title": "GetEvaluationResourceNamesAsync", - "description": "Snippet for GetEvaluationAsync", - "file": "EvaluationServiceClient.GetEvaluationResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync", + "title": "BatchGetDocumentsMetadataRequestObject", + "description": "Snippet for BatchGetDocumentsMetadata", + "file": "DocumentServiceClient.BatchGetDocumentsMetadataRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetEvaluationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluationAsync", - "async": true, + "shortName": "BatchGetDocumentsMetadata", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadata", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 45, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 34, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync", - "title": "ListEvaluationsRequestObject", - "description": "Snippet for ListEvaluations", - "file": "EvaluationServiceClient.ListEvaluationsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async", + "title": "BatchGetDocumentsMetadataRequestObjectAsync", + "description": "Snippet for BatchGetDocumentsMetadataAsync", + "file": "DocumentServiceClient.BatchGetDocumentsMetadataRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluations", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluations", + "shortName": "BatchGetDocumentsMetadataAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadataAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataRequest", "name": "request" }, { @@ -11577,17 +11596,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11596,103 +11615,94 @@ "segments": [ { "start": 20, - "end": 78, + "end": 46, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async", - "title": "ListEvaluationsRequestObjectAsync", - "description": "Snippet for ListEvaluationsAsync", - "file": "EvaluationServiceClient.ListEvaluationsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync_flattened", + "title": "BatchGetDocumentsMetadata", + "description": "Snippet for BatchGetDocumentsMetadata", + "file": "DocumentServiceClient.BatchGetDocumentsMetadataSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationsAsync", - "async": true, + "shortName": "BatchGetDocumentsMetadata", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadata", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationsRequest", - "name": "request" + "type": "System.String", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 79, + "end": 41, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync_flattened", - "title": "ListEvaluations", - "description": "Snippet for ListEvaluations", - "file": "EvaluationServiceClient.ListEvaluationsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async_flattened", + "title": "BatchGetDocumentsMetadataAsync", + "description": "Snippet for BatchGetDocumentsMetadataAsync", + "file": "DocumentServiceClient.BatchGetDocumentsMetadataAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluations", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluations", + "shortName": "BatchGetDocumentsMetadataAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadataAsync", + "async": true, "parameters": [ { "type": "System.String", "name": "parent" }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" - }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11700,55 +11710,46 @@ "segments": [ { "start": 20, - "end": 75, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async_flattened", - "title": "ListEvaluationsAsync", - "description": "Snippet for ListEvaluationsAsync", - "file": "EvaluationServiceClient.ListEvaluationsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync_flattened_resourceNames", + "title": "BatchGetDocumentsMetadataResourceNames", + "description": "Snippet for BatchGetDocumentsMetadata", + "file": "DocumentServiceClient.BatchGetDocumentsMetadataResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationsAsync", - "async": true, + "shortName": "BatchGetDocumentsMetadata", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadata", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", "name": "parent" }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" - }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.BatchGetDocumentsMetadataResponse", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11756,54 +11757,47 @@ "segments": [ { "start": 20, - "end": 76, + "end": 41, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync_flattened_resourceNames", - "title": "ListEvaluationsResourceNames", - "description": "Snippet for ListEvaluations", - "file": "EvaluationServiceClient.ListEvaluationsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async_flattened_resourceNames", + "title": "BatchGetDocumentsMetadataResourceNamesAsync", + "description": "Snippet for BatchGetDocumentsMetadataAsync", + "file": "DocumentServiceClient.BatchGetDocumentsMetadataResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluations", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluations", + "shortName": "BatchGetDocumentsMetadataAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient.BatchGetDocumentsMetadataAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BranchName", "name": "parent" }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" - }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "DocumentServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.DocumentServiceClient" }, "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" } } }, @@ -11811,84 +11805,77 @@ "segments": [ { "start": 20, - "end": 75, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async_flattened_resourceNames", - "title": "ListEvaluationsResourceNamesAsync", - "description": "Snippet for ListEvaluationsAsync", - "file": "EvaluationServiceClient.ListEvaluationsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync", + "title": "CreateEngineRequestObject", + "description": "Snippet for CreateEngine", + "file": "EngineServiceClient.CreateEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationsAsync", - "async": true, + "shortName": "CreateEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEngineRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 63, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync", - "title": "CreateEvaluationRequestObject", - "description": "Snippet for CreateEvaluation", - "file": "EvaluationServiceClient.CreateEvaluationRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async", + "title": "CreateEngineRequestObjectAsync", + "description": "Snippet for CreateEngineAsync", + "file": "EngineServiceClient.CreateEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEvaluation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluation", + "shortName": "CreateEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngineAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEvaluationRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEngineRequest", "name": "request" }, { @@ -11896,17 +11883,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -11915,99 +11902,110 @@ "segments": [ { "start": 20, - "end": 62, + "end": 64, "type": "FULL" }, { - "start": 35, - "end": 60, + "start": 36, + "end": 62, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async", - "title": "CreateEvaluationRequestObjectAsync", - "description": "Snippet for CreateEvaluationAsync", - "file": "EvaluationServiceClient.CreateEvaluationRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync_flattened", + "title": "CreateEngine", + "description": "Snippet for CreateEngine", + "file": "EngineServiceClient.CreateEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEvaluationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluationAsync", - "async": true, + "shortName": "CreateEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEvaluationRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "name": "engine" + }, + { + "type": "System.String", + "name": "engineId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 60, "type": "FULL" }, { - "start": 36, - "end": 61, + "start": 35, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync_flattened", - "title": "CreateEvaluation", - "description": "Snippet for CreateEvaluation", - "file": "EvaluationServiceClient.CreateEvaluationSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async_flattened", + "title": "CreateEngineAsync", + "description": "Snippet for CreateEngineAsync", + "file": "EngineServiceClient.CreateEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEvaluation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluation", - "parameters": [ + "shortName": "CreateEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngineAsync", + "async": true, + "parameters": [ { "type": "System.String", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", - "name": "evaluation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "name": "engine" + }, + { + "type": "System.String", + "name": "engineId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12015,51 +12013,54 @@ "segments": [ { "start": 20, - "end": 59, + "end": 61, "type": "FULL" }, { - "start": 35, - "end": 57, + "start": 36, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async_flattened", - "title": "CreateEvaluationAsync", - "description": "Snippet for CreateEvaluationAsync", - "file": "EvaluationServiceClient.CreateEvaluationAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync_flattened_resourceNames", + "title": "CreateEngineResourceNames", + "description": "Snippet for CreateEngine", + "file": "EngineServiceClient.CreateEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEvaluationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluationAsync", - "async": true, + "shortName": "CreateEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngine", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", - "name": "evaluation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "name": "engine" + }, + { + "type": "System.String", + "name": "engineId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12071,46 +12072,51 @@ "type": "FULL" }, { - "start": 36, + "start": 35, "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync_flattened_resourceNames", - "title": "CreateEvaluationResourceNames", - "description": "Snippet for CreateEvaluation", - "file": "EvaluationServiceClient.CreateEvaluationResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async_flattened_resourceNames", + "title": "CreateEngineResourceNamesAsync", + "description": "Snippet for CreateEngineAsync", + "file": "EngineServiceClient.CreateEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEvaluation", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluation", + "shortName": "CreateEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.CreateEngineAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", - "name": "evaluation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "name": "engine" + }, + { + "type": "System.String", + "name": "engineId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12118,80 +12124,77 @@ "segments": [ { "start": 20, - "end": 59, + "end": 61, "type": "FULL" }, { - "start": 35, - "end": 57, + "start": 36, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async_flattened_resourceNames", - "title": "CreateEvaluationResourceNamesAsync", - "description": "Snippet for CreateEvaluationAsync", - "file": "EvaluationServiceClient.CreateEvaluationResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync", + "title": "DeleteEngineRequestObject", + "description": "Snippet for DeleteEngine", + "file": "EngineServiceClient.DeleteEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateEvaluationAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluationAsync", - "async": true, + "shortName": "DeleteEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", - "name": "evaluation" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteEngineRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 62, "type": "FULL" }, { "start": 36, - "end": 58, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync", - "title": "ListEvaluationResultsRequestObject", - "description": "Snippet for ListEvaluationResults", - "file": "EvaluationServiceClient.ListEvaluationResultsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async", + "title": "DeleteEngineRequestObjectAsync", + "description": "Snippet for DeleteEngineAsync", + "file": "EngineServiceClient.DeleteEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationResults", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResults", + "shortName": "DeleteEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngineAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationResultsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteEngineRequest", "name": "request" }, { @@ -12199,17 +12202,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12218,103 +12221,94 @@ "segments": [ { "start": 20, - "end": 78, + "end": 63, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 37, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async", - "title": "ListEvaluationResultsRequestObjectAsync", - "description": "Snippet for ListEvaluationResultsAsync", - "file": "EvaluationServiceClient.ListEvaluationResultsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync_flattened", + "title": "DeleteEngine", + "description": "Snippet for DeleteEngine", + "file": "EngineServiceClient.DeleteEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationResultsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResultsAsync", - "async": true, + "shortName": "DeleteEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationResultsRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 79, + "end": 59, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync_flattened", - "title": "ListEvaluationResults", - "description": "Snippet for ListEvaluationResults", - "file": "EvaluationServiceClient.ListEvaluationResultsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async_flattened", + "title": "DeleteEngineAsync", + "description": "Snippet for DeleteEngineAsync", + "file": "EngineServiceClient.DeleteEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationResults", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResults", + "shortName": "DeleteEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngineAsync", + "async": true, "parameters": [ { "type": "System.String", - "name": "evaluation" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12322,55 +12316,46 @@ "segments": [ { "start": 20, - "end": 75, + "end": 60, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async_flattened", - "title": "ListEvaluationResultsAsync", - "description": "Snippet for ListEvaluationResultsAsync", - "file": "EvaluationServiceClient.ListEvaluationResultsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync_flattened_resourceNames", + "title": "DeleteEngineResourceNames", + "description": "Snippet for DeleteEngine", + "file": "EngineServiceClient.DeleteEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationResultsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResultsAsync", - "async": true, + "shortName": "DeleteEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngine", "parameters": [ { - "type": "System.String", - "name": "evaluation" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12378,54 +12363,47 @@ "segments": [ { "start": 20, - "end": 76, + "end": 59, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync_flattened_resourceNames", - "title": "ListEvaluationResultsResourceNames", - "description": "Snippet for ListEvaluationResults", - "file": "EvaluationServiceClient.ListEvaluationResultsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async_flattened_resourceNames", + "title": "DeleteEngineResourceNamesAsync", + "description": "Snippet for DeleteEngineAsync", + "file": "EngineServiceClient.DeleteEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationResults", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResults", + "shortName": "DeleteEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.DeleteEngineAsync", + "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", - "name": "evaluation" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12433,102 +12411,95 @@ "segments": [ { "start": 20, - "end": 75, + "end": 60, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async_flattened_resourceNames", - "title": "ListEvaluationResultsResourceNamesAsync", - "description": "Snippet for ListEvaluationResultsAsync", - "file": "EvaluationServiceClient.ListEvaluationResultsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_sync", + "title": "UpdateEngineRequestObject", + "description": "Snippet for UpdateEngine", + "file": "EngineServiceClient.UpdateEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListEvaluationResultsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResultsAsync", - "async": true, + "shortName": "UpdateEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", - "name": "evaluation" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateEngineRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "EvaluationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 46, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_StreamGenerateGroundedContent_sync", - "title": "StreamGenerateGroundedContent", - "description": "Snippet for StreamGenerateGroundedContent", - "file": "GroundedGenerationServiceClient.StreamGenerateGroundedContentSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_async", + "title": "UpdateEngineRequestObjectAsync", + "description": "Snippet for UpdateEngineAsync", + "file": "EngineServiceClient.UpdateEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.StreamGenerateGroundedContent", + "shortName": "UpdateEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngineAsync", + "async": true, "parameters": [ { - "type": "Google.Api.Gax.Grpc.CallSettings", - "name": "callSettings" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateEngineRequest", + "name": "request" }, { - "type": "Google.Api.Gax.Grpc.BidirectionalStreamingSettings", - "name": "streamingSettings" + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient+StreamGenerateGroundedContentStream", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12537,125 +12508,131 @@ "segments": [ { "start": 20, - "end": 85, + "end": 47, "type": "FULL" }, { "start": 36, - "end": 83, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_sync", - "title": "GenerateGroundedContentRequestObject", - "description": "Snippet for GenerateGroundedContent", - "file": "GroundedGenerationServiceClient.GenerateGroundedContentRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_sync_flattened", + "title": "UpdateEngine", + "description": "Snippet for UpdateEngine", + "file": "EngineServiceClient.UpdateEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GenerateGroundedContent", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.GenerateGroundedContent", + "shortName": "UpdateEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "name": "engine" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 52, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 50, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_async", - "title": "GenerateGroundedContentRequestObjectAsync", - "description": "Snippet for GenerateGroundedContentAsync", - "file": "GroundedGenerationServiceClient.GenerateGroundedContentRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_async_flattened", + "title": "UpdateEngineAsync", + "description": "Snippet for UpdateEngineAsync", + "file": "EngineServiceClient.UpdateEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GenerateGroundedContentAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.GenerateGroundedContentAsync", + "shortName": "UpdateEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.UpdateEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", + "name": "engine" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 53, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 51, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_sync", - "title": "CheckGroundingRequestObject", - "description": "Snippet for CheckGrounding", - "file": "GroundedGenerationServiceClient.CheckGroundingRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync", + "title": "GetEngineRequestObject", + "description": "Snippet for GetEngine", + "file": "EngineServiceClient.GetEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CheckGrounding", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.CheckGrounding", + "shortName": "GetEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEngineRequest", "name": "request" }, { @@ -12663,17 +12640,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12682,29 +12659,29 @@ "segments": [ { "start": 20, - "end": 51, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 49, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_async", - "title": "CheckGroundingRequestObjectAsync", - "description": "Snippet for CheckGroundingAsync", - "file": "GroundedGenerationServiceClient.CheckGroundingRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async", + "title": "GetEngineRequestObjectAsync", + "description": "Snippet for GetEngineAsync", + "file": "EngineServiceClient.GetEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CheckGroundingAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.CheckGroundingAsync", + "shortName": "GetEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEngineRequest", "name": "request" }, { @@ -12712,17 +12689,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12731,125 +12708,123 @@ "segments": [ { "start": 20, - "end": 52, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 50, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync", - "title": "ProvisionProjectRequestObject", - "description": "Snippet for ProvisionProject", - "file": "ProjectServiceClient.ProvisionProjectRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync_flattened", + "title": "GetEngine", + "description": "Snippet for GetEngine", + "file": "EngineServiceClient.GetEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ProvisionProject", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProject", + "shortName": "GetEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "ProjectServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 61, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async", - "title": "ProvisionProjectRequestObjectAsync", - "description": "Snippet for ProvisionProjectAsync", - "file": "ProjectServiceClient.ProvisionProjectRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async_flattened", + "title": "GetEngineAsync", + "description": "Snippet for GetEngineAsync", + "file": "EngineServiceClient.GetEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ProvisionProjectAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProjectAsync", + "shortName": "GetEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ProjectServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 64, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 62, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync_flattened", - "title": "ProvisionProject", - "description": "Snippet for ProvisionProject", - "file": "ProjectServiceClient.ProvisionProjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync_flattened_resourceNames", + "title": "GetEngineResourceNames", + "description": "Snippet for GetEngine", + "file": "EngineServiceClient.GetEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ProvisionProject", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProject", + "shortName": "GetEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngine", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", "name": "name" }, { @@ -12857,17 +12832,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "ProjectServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12875,29 +12850,29 @@ "segments": [ { "start": 20, - "end": 58, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 56, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async_flattened", - "title": "ProvisionProjectAsync", - "description": "Snippet for ProvisionProjectAsync", - "file": "ProjectServiceClient.ProvisionProjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async_flattened_resourceNames", + "title": "GetEngineResourceNamesAsync", + "description": "Snippet for GetEngineAsync", + "file": "EngineServiceClient.GetEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ProvisionProjectAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProjectAsync", + "shortName": "GetEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetEngineAsync", "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", "name": "name" }, { @@ -12905,17 +12880,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ProjectServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -12923,317 +12898,347 @@ "segments": [ { "start": 20, - "end": 59, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync_flattened_resourceNames", - "title": "ProvisionProjectResourceNames", - "description": "Snippet for ProvisionProject", - "file": "ProjectServiceClient.ProvisionProjectResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync", + "title": "ListEnginesRequestObject", + "description": "Snippet for ListEngines", + "file": "EngineServiceClient.ListEnginesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ProvisionProject", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProject", + "shortName": "ListEngines", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEngines", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEnginesRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ProjectServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 58, + "end": 79, "type": "FULL" }, { - "start": 35, - "end": 56, + "start": 36, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async_flattened_resourceNames", - "title": "ProvisionProjectResourceNamesAsync", - "description": "Snippet for ProvisionProjectAsync", - "file": "ProjectServiceClient.ProvisionProjectResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async", + "title": "ListEnginesRequestObjectAsync", + "description": "Snippet for ListEnginesAsync", + "file": "EngineServiceClient.ListEnginesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ProvisionProjectAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProjectAsync", + "shortName": "ListEnginesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEnginesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEnginesRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ProjectServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 80, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 37, + "end": 78, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_sync", - "title": "RankRequestObject", - "description": "Snippet for Rank", - "file": "RankServiceClient.RankRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync_flattened", + "title": "ListEngines", + "description": "Snippet for ListEngines", + "file": "EngineServiceClient.ListEnginesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "Rank", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient.Rank", + "shortName": "ListEngines", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEngines", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.RankRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RankResponse", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "RankServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1beta.RankService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 53, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 51, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_async", - "title": "RankRequestObjectAsync", - "description": "Snippet for RankAsync", - "file": "RankServiceClient.RankRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async_flattened", + "title": "ListEnginesAsync", + "description": "Snippet for ListEnginesAsync", + "file": "EngineServiceClient.ListEnginesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "RankAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient.RankAsync", + "shortName": "ListEnginesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEnginesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.RankRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "RankServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1beta.RankService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 54, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 52, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_sync", - "title": "RecommendRequestObject", - "description": "Snippet for Recommend", - "file": "RecommendationServiceClient.RecommendRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync_flattened_resourceNames", + "title": "ListEnginesResourceNames", + "description": "Snippet for ListEngines", + "file": "EngineServiceClient.ListEnginesResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "Recommend", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient.Recommend", + "shortName": "ListEngines", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEngines", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "RecommendationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 51, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 49, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_async", - "title": "RecommendRequestObjectAsync", - "description": "Snippet for RecommendAsync", - "file": "RecommendationServiceClient.RecommendRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async_flattened_resourceNames", + "title": "ListEnginesResourceNamesAsync", + "description": "Snippet for ListEnginesAsync", + "file": "EngineServiceClient.ListEnginesResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "RecommendAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient.RecommendAsync", + "shortName": "ListEnginesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ListEnginesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectionName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "RecommendationServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 52, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 50, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync", - "title": "GetSampleQueryRequestObject", - "description": "Snippet for GetSampleQuery", - "file": "SampleQueryServiceClient.GetSampleQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync", + "title": "PauseEngineRequestObject", + "description": "Snippet for PauseEngine", + "file": "EngineServiceClient.PauseEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PauseEngineRequest", "name": "request" }, { @@ -13241,17 +13246,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13271,18 +13276,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async", - "title": "GetSampleQueryRequestObjectAsync", - "description": "Snippet for GetSampleQueryAsync", - "file": "SampleQueryServiceClient.GetSampleQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async", + "title": "PauseEngineRequestObjectAsync", + "description": "Snippet for PauseEngineAsync", + "file": "EngineServiceClient.PauseEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQueryAsync", + "shortName": "PauseEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PauseEngineRequest", "name": "request" }, { @@ -13290,17 +13295,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13320,14 +13325,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync_flattened", - "title": "GetSampleQuery", - "description": "Snippet for GetSampleQuery", - "file": "SampleQueryServiceClient.GetSampleQuerySnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync_flattened", + "title": "PauseEngine", + "description": "Snippet for PauseEngine", + "file": "EngineServiceClient.PauseEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngine", "parameters": [ { "type": "System.String", @@ -13338,17 +13343,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13367,14 +13372,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async_flattened", - "title": "GetSampleQueryAsync", - "description": "Snippet for GetSampleQueryAsync", - "file": "SampleQueryServiceClient.GetSampleQueryAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async_flattened", + "title": "PauseEngineAsync", + "description": "Snippet for PauseEngineAsync", + "file": "EngineServiceClient.PauseEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQueryAsync", + "shortName": "PauseEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngineAsync", "async": true, "parameters": [ { @@ -13386,17 +13391,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13415,17 +13420,17 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync_flattened_resourceNames", - "title": "GetSampleQueryResourceNames", - "description": "Snippet for GetSampleQuery", - "file": "SampleQueryServiceClient.GetSampleQueryResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync_flattened_resourceNames", + "title": "PauseEngineResourceNames", + "description": "Snippet for PauseEngine", + "file": "EngineServiceClient.PauseEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", "name": "name" }, { @@ -13433,17 +13438,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13462,18 +13467,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async_flattened_resourceNames", - "title": "GetSampleQueryResourceNamesAsync", - "description": "Snippet for GetSampleQueryAsync", - "file": "SampleQueryServiceClient.GetSampleQueryResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async_flattened_resourceNames", + "title": "PauseEngineResourceNamesAsync", + "description": "Snippet for PauseEngineAsync", + "file": "EngineServiceClient.PauseEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQueryAsync", + "shortName": "PauseEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.PauseEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", "name": "name" }, { @@ -13481,17 +13486,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13510,17 +13515,17 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync", - "title": "ListSampleQueriesRequestObject", - "description": "Snippet for ListSampleQueries", - "file": "SampleQueryServiceClient.ListSampleQueriesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync", + "title": "ResumeEngineRequestObject", + "description": "Snippet for ResumeEngine", + "file": "EngineServiceClient.ResumeEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQueries", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQueriesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ResumeEngineRequest", "name": "request" }, { @@ -13528,17 +13533,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13547,29 +13552,29 @@ "segments": [ { "start": 20, - "end": 78, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async", - "title": "ListSampleQueriesRequestObjectAsync", - "description": "Snippet for ListSampleQueriesAsync", - "file": "SampleQueryServiceClient.ListSampleQueriesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async", + "title": "ResumeEngineRequestObjectAsync", + "description": "Snippet for ResumeEngineAsync", + "file": "EngineServiceClient.ResumeEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQueriesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueriesAsync", + "shortName": "ResumeEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQueriesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ResumeEngineRequest", "name": "request" }, { @@ -13577,17 +13582,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13596,54 +13601,46 @@ "segments": [ { "start": 20, - "end": 79, + "end": 45, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync_flattened", - "title": "ListSampleQueries", - "description": "Snippet for ListSampleQueries", - "file": "SampleQueryServiceClient.ListSampleQueriesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync_flattened", + "title": "ResumeEngine", + "description": "Snippet for ResumeEngine", + "file": "EngineServiceClient.ResumeEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQueries", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngine", "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13651,55 +13648,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async_flattened", - "title": "ListSampleQueriesAsync", - "description": "Snippet for ListSampleQueriesAsync", - "file": "SampleQueryServiceClient.ListSampleQueriesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async_flattened", + "title": "ResumeEngineAsync", + "description": "Snippet for ResumeEngineAsync", + "file": "EngineServiceClient.ResumeEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQueriesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueriesAsync", + "shortName": "ResumeEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngineAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13707,54 +13696,46 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync_flattened_resourceNames", - "title": "ListSampleQueriesResourceNames", - "description": "Snippet for ListSampleQueries", - "file": "SampleQueryServiceClient.ListSampleQueriesResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync_flattened_resourceNames", + "title": "ResumeEngineResourceNames", + "description": "Snippet for ResumeEngine", + "file": "EngineServiceClient.ResumeEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQueries", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Engine", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13762,55 +13743,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async_flattened_resourceNames", - "title": "ListSampleQueriesResourceNamesAsync", - "description": "Snippet for ListSampleQueriesAsync", - "file": "SampleQueryServiceClient.ListSampleQueriesResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async_flattened_resourceNames", + "title": "ResumeEngineResourceNamesAsync", + "description": "Snippet for ResumeEngineAsync", + "file": "EngineServiceClient.ResumeEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQueriesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueriesAsync", + "shortName": "ResumeEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.ResumeEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13818,28 +13791,28 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync", - "title": "CreateSampleQueryRequestObject", - "description": "Snippet for CreateSampleQuery", - "file": "SampleQueryServiceClient.CreateSampleQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync", + "title": "TuneEngineRequestObject", + "description": "Snippet for TuneEngine", + "file": "EngineServiceClient.TuneEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TuneEngineRequest", "name": "request" }, { @@ -13847,17 +13820,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13866,29 +13839,29 @@ "segments": [ { "start": 20, - "end": 46, + "end": 61, "type": "FULL" }, { - "start": 34, - "end": 44, + "start": 35, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async", - "title": "CreateSampleQueryRequestObjectAsync", - "description": "Snippet for CreateSampleQueryAsync", - "file": "SampleQueryServiceClient.CreateSampleQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async", + "title": "TuneEngineRequestObjectAsync", + "description": "Snippet for TuneEngineAsync", + "file": "EngineServiceClient.TuneEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQueryAsync", + "shortName": "TuneEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQueryRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TuneEngineRequest", "name": "request" }, { @@ -13896,17 +13869,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13915,54 +13888,46 @@ "segments": [ { "start": 20, - "end": 47, + "end": 62, "type": "FULL" }, { - "start": 35, - "end": 45, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync_flattened", - "title": "CreateSampleQuery", - "description": "Snippet for CreateSampleQuery", - "file": "SampleQueryServiceClient.CreateSampleQuerySnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync_flattened", + "title": "TuneEngine", + "description": "Snippet for TuneEngine", + "file": "EngineServiceClient.TuneEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngine", "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", - "name": "sampleQuery" - }, - { - "type": "System.String", - "name": "sampleQueryId" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -13970,110 +13935,94 @@ "segments": [ { "start": 20, - "end": 43, + "end": 58, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 35, + "end": 56, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async_flattened", - "title": "CreateSampleQueryAsync", - "description": "Snippet for CreateSampleQueryAsync", - "file": "SampleQueryServiceClient.CreateSampleQueryAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async_flattened", + "title": "TuneEngineAsync", + "description": "Snippet for TuneEngineAsync", + "file": "EngineServiceClient.TuneEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQueryAsync", + "shortName": "TuneEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngineAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", - "name": "sampleQuery" - }, - { - "type": "System.String", - "name": "sampleQueryId" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } } }, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 59, "type": "FULL" }, { - "start": 35, - "end": 42, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync_flattened_resourceNames", - "title": "CreateSampleQueryResourceNames", - "description": "Snippet for CreateSampleQuery", - "file": "SampleQueryServiceClient.CreateSampleQueryResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync_flattened_resourceNames", + "title": "TuneEngineResourceNames", + "description": "Snippet for TuneEngine", + "file": "EngineServiceClient.TuneEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", - "name": "sampleQuery" - }, - { - "type": "System.String", - "name": "sampleQueryId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14081,55 +14030,47 @@ "segments": [ { "start": 20, - "end": 43, + "end": 58, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 35, + "end": 56, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async_flattened_resourceNames", - "title": "CreateSampleQueryResourceNamesAsync", - "description": "Snippet for CreateSampleQueryAsync", - "file": "SampleQueryServiceClient.CreateSampleQueryResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async_flattened_resourceNames", + "title": "TuneEngineResourceNamesAsync", + "description": "Snippet for TuneEngineAsync", + "file": "EngineServiceClient.TuneEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQueryAsync", + "shortName": "TuneEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.TuneEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", - "name": "sampleQuery" - }, - { - "type": "System.String", - "name": "sampleQueryId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14137,28 +14078,28 @@ "segments": [ { "start": 20, - "end": 44, + "end": 59, "type": "FULL" }, { - "start": 35, - "end": 42, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_sync", - "title": "UpdateSampleQueryRequestObject", - "description": "Snippet for UpdateSampleQuery", - "file": "SampleQueryServiceClient.UpdateSampleQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync", + "title": "GetIamPolicyRequestObject", + "description": "Snippet for GetIamPolicy", + "file": "EngineServiceClient.GetIamPolicyRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetIamPolicy", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQueryRequest", + "type": "Google.Cloud.Iam.V1.GetIamPolicyRequest", "name": "request" }, { @@ -14166,17 +14107,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.Cloud.Iam.V1.Policy", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14185,29 +14126,29 @@ "segments": [ { "start": 20, - "end": 46, + "end": 47, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_async", - "title": "UpdateSampleQueryRequestObjectAsync", - "description": "Snippet for UpdateSampleQueryAsync", - "file": "SampleQueryServiceClient.UpdateSampleQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async", + "title": "GetIamPolicyRequestObjectAsync", + "description": "Snippet for GetIamPolicyAsync", + "file": "EngineServiceClient.GetIamPolicyRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQueryAsync", + "shortName": "GetIamPolicyAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetIamPolicyAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQueryRequest", + "type": "Google.Cloud.Iam.V1.GetIamPolicyRequest", "name": "request" }, { @@ -14215,17 +14156,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14234,50 +14175,46 @@ "segments": [ { "start": 20, - "end": 47, + "end": 48, "type": "FULL" }, { - "start": 36, - "end": 45, + "start": 37, + "end": 46, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_sync_flattened", - "title": "UpdateSampleQuery", - "description": "Snippet for UpdateSampleQuery", - "file": "SampleQueryServiceClient.UpdateSampleQuerySnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync_flattened", + "title": "GetIamPolicy", + "description": "Snippet for GetIamPolicy", + "file": "EngineServiceClient.GetIamPolicySnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetIamPolicy", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", - "name": "sampleQuery" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "resource" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "resultType": "Google.Cloud.Iam.V1.Policy", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14285,51 +14222,47 @@ "segments": [ { "start": 20, - "end": 43, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_async_flattened", - "title": "UpdateSampleQueryAsync", - "description": "Snippet for UpdateSampleQueryAsync", - "file": "SampleQueryServiceClient.UpdateSampleQueryAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async_flattened", + "title": "GetIamPolicyAsync", + "description": "Snippet for GetIamPolicyAsync", + "file": "EngineServiceClient.GetIamPolicyAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQueryAsync", + "shortName": "GetIamPolicyAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetIamPolicyAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", - "name": "sampleQuery" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "resource" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14337,235 +14270,242 @@ "segments": [ { "start": 20, - "end": 44, + "end": 43, "type": "FULL" }, { "start": 36, - "end": 42, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync", - "title": "DeleteSampleQueryRequestObject", - "description": "Snippet for DeleteSampleQuery", - "file": "SampleQueryServiceClient.DeleteSampleQueryRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetIamPolicy_sync_flattened_resourceNames", + "title": "GetIamPolicyResourceNames", + "description": "Snippet for GetIamPolicy", + "file": "EngineServiceClient.GetIamPolicyResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetIamPolicy", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQueryRequest", - "name": "request" + "type": "Google.Api.Gax.IResourceName", + "name": "resource" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Cloud.Iam.V1.Policy", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 36, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async", - "title": "DeleteSampleQueryRequestObjectAsync", - "description": "Snippet for DeleteSampleQueryAsync", - "file": "SampleQueryServiceClient.DeleteSampleQueryRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetIamPolicy_async_flattened_resourceNames", + "title": "GetIamPolicyResourceNamesAsync", + "description": "Snippet for GetIamPolicyAsync", + "file": "EngineServiceClient.GetIamPolicyResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQueryAsync", + "shortName": "GetIamPolicyAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.GetIamPolicyAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQueryRequest", - "name": "request" + "type": "Google.Api.Gax.IResourceName", + "name": "resource" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 37, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync_flattened", - "title": "DeleteSampleQuery", - "description": "Snippet for DeleteSampleQuery", - "file": "SampleQueryServiceClient.DeleteSampleQuerySnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync", + "title": "SetIamPolicyRequestObject", + "description": "Snippet for SetIamPolicy", + "file": "EngineServiceClient.SetIamPolicyRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQuery", + "shortName": "SetIamPolicy", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.SetIamPolicy", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.Iam.V1.SetIamPolicyRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Cloud.Iam.V1.Policy", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.SetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 49, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 37, + "end": 47, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async_flattened", - "title": "DeleteSampleQueryAsync", - "description": "Snippet for DeleteSampleQueryAsync", - "file": "SampleQueryServiceClient.DeleteSampleQueryAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async", + "title": "SetIamPolicyRequestObjectAsync", + "description": "Snippet for SetIamPolicyAsync", + "file": "EngineServiceClient.SetIamPolicyRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQueryAsync", + "shortName": "SetIamPolicyAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.SetIamPolicyAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.Iam.V1.SetIamPolicyRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.SetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 50, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 38, + "end": 48, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync_flattened_resourceNames", - "title": "DeleteSampleQueryResourceNames", - "description": "Snippet for DeleteSampleQuery", - "file": "SampleQueryServiceClient.DeleteSampleQueryResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync_flattened", + "title": "SetIamPolicy", + "description": "Snippet for SetIamPolicy", + "file": "EngineServiceClient.SetIamPolicySnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuery", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQuery", + "shortName": "SetIamPolicy", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.SetIamPolicy", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", - "name": "name" + "type": "System.String", + "name": "resource" + }, + { + "type": "Google.Cloud.Iam.V1.Policy", + "name": "policy" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Cloud.Iam.V1.Policy", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.SetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14573,47 +14513,51 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async_flattened_resourceNames", - "title": "DeleteSampleQueryResourceNamesAsync", - "description": "Snippet for DeleteSampleQueryAsync", - "file": "SampleQueryServiceClient.DeleteSampleQueryResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async_flattened", + "title": "SetIamPolicyAsync", + "description": "Snippet for SetIamPolicyAsync", + "file": "EngineServiceClient.SetIamPolicyAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQueryAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQueryAsync", + "shortName": "SetIamPolicyAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.SetIamPolicyAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", - "name": "name" + "type": "System.String", + "name": "resource" + }, + { + "type": "Google.Cloud.Iam.V1.Policy", + "name": "policy" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.SetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, @@ -14621,125 +14565,131 @@ "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_sync", - "title": "ImportSampleQueriesRequestObject", - "description": "Snippet for ImportSampleQueries", - "file": "SampleQueryServiceClient.ImportSampleQueriesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_SetIamPolicy_sync_flattened_resourceNames", + "title": "SetIamPolicyResourceNames", + "description": "Snippet for SetIamPolicy", + "file": "EngineServiceClient.SetIamPolicyResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportSampleQueries", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ImportSampleQueries", + "shortName": "SetIamPolicy", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.SetIamPolicy", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest", - "name": "request" + "type": "Google.Api.Gax.IResourceName", + "name": "resource" + }, + { + "type": "Google.Cloud.Iam.V1.Policy", + "name": "policy" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.Iam.V1.Policy", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.SetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 61, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_async", - "title": "ImportSampleQueriesRequestObjectAsync", - "description": "Snippet for ImportSampleQueriesAsync", - "file": "SampleQueryServiceClient.ImportSampleQueriesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EngineService_SetIamPolicy_async_flattened_resourceNames", + "title": "SetIamPolicyResourceNamesAsync", + "description": "Snippet for SetIamPolicyAsync", + "file": "EngineServiceClient.SetIamPolicyResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportSampleQueriesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ImportSampleQueriesAsync", + "shortName": "SetIamPolicyAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient.SetIamPolicyAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest", - "name": "request" + "type": "Google.Api.Gax.IResourceName", + "name": "resource" + }, + { + "type": "Google.Cloud.Iam.V1.Policy", + "name": "policy" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + "shortName": "EngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EngineServiceClient" }, "method": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.SetIamPolicy", "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 64, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 62, + "start": 37, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync", - "title": "GetSampleQuerySetRequestObject", - "description": "Snippet for GetSampleQuerySet", - "file": "SampleQuerySetServiceClient.GetSampleQuerySetRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync", + "title": "GetEvaluationRequestObject", + "description": "Snippet for GetEvaluation", + "file": "EvaluationServiceClient.GetEvaluationRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQuerySetRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEvaluationRequest", "name": "request" }, { @@ -14747,17 +14697,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -14777,18 +14727,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async", - "title": "GetSampleQuerySetRequestObjectAsync", - "description": "Snippet for GetSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.GetSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async", + "title": "GetEvaluationRequestObjectAsync", + "description": "Snippet for GetEvaluationAsync", + "file": "EvaluationServiceClient.GetEvaluationRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySetAsync", + "shortName": "GetEvaluationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQuerySetRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetEvaluationRequest", "name": "request" }, { @@ -14796,17 +14746,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -14826,14 +14776,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync_flattened", - "title": "GetSampleQuerySet", - "description": "Snippet for GetSampleQuerySet", - "file": "SampleQuerySetServiceClient.GetSampleQuerySetSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync_flattened", + "title": "GetEvaluation", + "description": "Snippet for GetEvaluation", + "file": "EvaluationServiceClient.GetEvaluationSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluation", "parameters": [ { "type": "System.String", @@ -14844,17 +14794,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -14873,14 +14823,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async_flattened", - "title": "GetSampleQuerySetAsync", - "description": "Snippet for GetSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.GetSampleQuerySetAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async_flattened", + "title": "GetEvaluationAsync", + "description": "Snippet for GetEvaluationAsync", + "file": "EvaluationServiceClient.GetEvaluationAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySetAsync", + "shortName": "GetEvaluationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluationAsync", "async": true, "parameters": [ { @@ -14892,17 +14842,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -14921,17 +14871,17 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync_flattened_resourceNames", - "title": "GetSampleQuerySetResourceNames", - "description": "Snippet for GetSampleQuerySet", - "file": "SampleQuerySetServiceClient.GetSampleQuerySetResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync_flattened_resourceNames", + "title": "GetEvaluationResourceNames", + "description": "Snippet for GetEvaluation", + "file": "EvaluationServiceClient.GetEvaluationResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluation", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", "name": "name" }, { @@ -14939,17 +14889,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -14968,18 +14918,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async_flattened_resourceNames", - "title": "GetSampleQuerySetResourceNamesAsync", - "description": "Snippet for GetSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.GetSampleQuerySetResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async_flattened_resourceNames", + "title": "GetEvaluationResourceNamesAsync", + "description": "Snippet for GetEvaluationAsync", + "file": "EvaluationServiceClient.GetEvaluationResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySetAsync", + "shortName": "GetEvaluationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.GetEvaluationAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", "name": "name" }, { @@ -14987,17 +14937,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -15016,17 +14966,17 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync", - "title": "ListSampleQuerySetsRequestObject", - "description": "Snippet for ListSampleQuerySets", - "file": "SampleQuerySetServiceClient.ListSampleQuerySetsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync", + "title": "ListEvaluationsRequestObject", + "description": "Snippet for ListEvaluations", + "file": "EvaluationServiceClient.ListEvaluationsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQuerySets", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySets", + "shortName": "ListEvaluations", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluations", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationsRequest", "name": "request" }, { @@ -15034,17 +14984,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -15064,18 +15014,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async", - "title": "ListSampleQuerySetsRequestObjectAsync", - "description": "Snippet for ListSampleQuerySetsAsync", - "file": "SampleQuerySetServiceClient.ListSampleQuerySetsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async", + "title": "ListEvaluationsRequestObjectAsync", + "description": "Snippet for ListEvaluationsAsync", + "file": "EvaluationServiceClient.ListEvaluationsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQuerySetsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySetsAsync", + "shortName": "ListEvaluationsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationsRequest", "name": "request" }, { @@ -15083,17 +15033,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -15113,14 +15063,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync_flattened", - "title": "ListSampleQuerySets", - "description": "Snippet for ListSampleQuerySets", - "file": "SampleQuerySetServiceClient.ListSampleQuerySetsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync_flattened", + "title": "ListEvaluations", + "description": "Snippet for ListEvaluations", + "file": "EvaluationServiceClient.ListEvaluationsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQuerySets", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySets", + "shortName": "ListEvaluations", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluations", "parameters": [ { "type": "System.String", @@ -15139,17 +15089,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -15168,14 +15118,14 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async_flattened", - "title": "ListSampleQuerySetsAsync", - "description": "Snippet for ListSampleQuerySetsAsync", - "file": "SampleQuerySetServiceClient.ListSampleQuerySetsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async_flattened", + "title": "ListEvaluationsAsync", + "description": "Snippet for ListEvaluationsAsync", + "file": "EvaluationServiceClient.ListEvaluationsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQuerySetsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySetsAsync", + "shortName": "ListEvaluationsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationsAsync", "async": true, "parameters": [ { @@ -15195,17 +15145,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" }, "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" } } }, @@ -15224,251 +15174,8934 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync_flattened_resourceNames", - "title": "ListSampleQuerySetsResourceNames", - "description": "Snippet for ListSampleQuerySets", - "file": "SampleQuerySetServiceClient.ListSampleQuerySetsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync_flattened_resourceNames", + "title": "ListEvaluationsResourceNames", + "description": "Snippet for ListEvaluations", + "file": "EvaluationServiceClient.ListEvaluationsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluations", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluations", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async_flattened_resourceNames", + "title": "ListEvaluationsResourceNamesAsync", + "description": "Snippet for ListEvaluationsAsync", + "file": "EvaluationServiceClient.ListEvaluationsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync", + "title": "CreateEvaluationRequestObject", + "description": "Snippet for CreateEvaluation", + "file": "EvaluationServiceClient.CreateEvaluationRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateEvaluation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluation", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEvaluationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 35, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async", + "title": "CreateEvaluationRequestObjectAsync", + "description": "Snippet for CreateEvaluationAsync", + "file": "EvaluationServiceClient.CreateEvaluationRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateEvaluationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateEvaluationRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 36, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync_flattened", + "title": "CreateEvaluation", + "description": "Snippet for CreateEvaluation", + "file": "EvaluationServiceClient.CreateEvaluationSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateEvaluation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluation", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "name": "evaluation" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 35, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async_flattened", + "title": "CreateEvaluationAsync", + "description": "Snippet for CreateEvaluationAsync", + "file": "EvaluationServiceClient.CreateEvaluationAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateEvaluationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluationAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "name": "evaluation" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync_flattened_resourceNames", + "title": "CreateEvaluationResourceNames", + "description": "Snippet for CreateEvaluation", + "file": "EvaluationServiceClient.CreateEvaluationResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateEvaluation", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluation", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "name": "evaluation" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 35, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async_flattened_resourceNames", + "title": "CreateEvaluationResourceNamesAsync", + "description": "Snippet for CreateEvaluationAsync", + "file": "EvaluationServiceClient.CreateEvaluationResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateEvaluationAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.CreateEvaluationAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Evaluation", + "name": "evaluation" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 36, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync", + "title": "ListEvaluationResultsRequestObject", + "description": "Snippet for ListEvaluationResults", + "file": "EvaluationServiceClient.ListEvaluationResultsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationResults", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResults", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationResultsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async", + "title": "ListEvaluationResultsRequestObjectAsync", + "description": "Snippet for ListEvaluationResultsAsync", + "file": "EvaluationServiceClient.ListEvaluationResultsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationResultsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResultsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationResultsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync_flattened", + "title": "ListEvaluationResults", + "description": "Snippet for ListEvaluationResults", + "file": "EvaluationServiceClient.ListEvaluationResultsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationResults", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResults", + "parameters": [ + { + "type": "System.String", + "name": "evaluation" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async_flattened", + "title": "ListEvaluationResultsAsync", + "description": "Snippet for ListEvaluationResultsAsync", + "file": "EvaluationServiceClient.ListEvaluationResultsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationResultsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResultsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "evaluation" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync_flattened_resourceNames", + "title": "ListEvaluationResultsResourceNames", + "description": "Snippet for ListEvaluationResults", + "file": "EvaluationServiceClient.ListEvaluationResultsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationResults", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResults", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", + "name": "evaluation" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async_flattened_resourceNames", + "title": "ListEvaluationResultsResourceNamesAsync", + "description": "Snippet for ListEvaluationResultsAsync", + "file": "EvaluationServiceClient.ListEvaluationResultsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListEvaluationResultsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient.ListEvaluationResultsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationName", + "name": "evaluation" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.EvaluationServiceClient" + }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_StreamGenerateGroundedContent_sync", + "title": "StreamGenerateGroundedContent", + "description": "Snippet for StreamGenerateGroundedContent", + "file": "GroundedGenerationServiceClient.StreamGenerateGroundedContentSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "StreamGenerateGroundedContent", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.StreamGenerateGroundedContent", + "parameters": [ + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + }, + { + "type": "Google.Api.Gax.Grpc.BidirectionalStreamingSettings", + "name": "streamingSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient+StreamGenerateGroundedContentStream", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + }, + "method": { + "shortName": "StreamGenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 85, + "type": "FULL" + }, + { + "start": 36, + "end": 83, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_sync", + "title": "GenerateGroundedContentRequestObject", + "description": "Snippet for GenerateGroundedContent", + "file": "GroundedGenerationServiceClient.GenerateGroundedContentRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GenerateGroundedContent", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.GenerateGroundedContent", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + }, + "method": { + "shortName": "GenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 52, + "type": "FULL" + }, + { + "start": 34, + "end": 50, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_async", + "title": "GenerateGroundedContentRequestObjectAsync", + "description": "Snippet for GenerateGroundedContentAsync", + "file": "GroundedGenerationServiceClient.GenerateGroundedContentRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GenerateGroundedContentAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.GenerateGroundedContentAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + }, + "method": { + "shortName": "GenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + }, + { + "start": 35, + "end": 51, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_sync", + "title": "CheckGroundingRequestObject", + "description": "Snippet for CheckGrounding", + "file": "GroundedGenerationServiceClient.CheckGroundingRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CheckGrounding", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.CheckGrounding", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + }, + "method": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 51, + "type": "FULL" + }, + { + "start": 34, + "end": 49, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_async", + "title": "CheckGroundingRequestObjectAsync", + "description": "Snippet for CheckGroundingAsync", + "file": "GroundedGenerationServiceClient.CheckGroundingRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CheckGroundingAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient.CheckGroundingAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient" + }, + "method": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 52, + "type": "FULL" + }, + { + "start": 35, + "end": 50, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync", + "title": "CreateIdentityMappingStoreRequestObject", + "description": "Snippet for CreateIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.CreateIdentityMappingStore", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 34, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async", + "title": "CreateIdentityMappingStoreRequestObjectAsync", + "description": "Snippet for CreateIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.CreateIdentityMappingStoreRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 48, + "type": "FULL" + }, + { + "start": 35, + "end": 46, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync_flattened", + "title": "CreateIdentityMappingStore", + "description": "Snippet for CreateIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.CreateIdentityMappingStoreSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.CreateIdentityMappingStore", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "name": "identityMappingStore" + }, + { + "type": "System.String", + "name": "identityMappingStoreId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async_flattened", + "title": "CreateIdentityMappingStoreAsync", + "description": "Snippet for CreateIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "name": "identityMappingStore" + }, + { + "type": "System.String", + "name": "identityMappingStoreId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync_flattened_resourceNames", + "title": "CreateIdentityMappingStoreResourceNames", + "description": "Snippet for CreateIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.CreateIdentityMappingStore", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "name": "identityMappingStore" + }, + { + "type": "System.String", + "name": "identityMappingStoreId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async_flattened_resourceNames", + "title": "CreateIdentityMappingStoreResourceNamesAsync", + "description": "Snippet for CreateIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.CreateIdentityMappingStoreResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "name": "identityMappingStore" + }, + { + "type": "System.String", + "name": "identityMappingStoreId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync", + "title": "GetIdentityMappingStoreRequestObject", + "description": "Snippet for GetIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.GetIdentityMappingStore", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async", + "title": "GetIdentityMappingStoreRequestObjectAsync", + "description": "Snippet for GetIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.GetIdentityMappingStoreRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync_flattened", + "title": "GetIdentityMappingStore", + "description": "Snippet for GetIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.GetIdentityMappingStoreSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.GetIdentityMappingStore", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async_flattened", + "title": "GetIdentityMappingStoreAsync", + "description": "Snippet for GetIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync_flattened_resourceNames", + "title": "GetIdentityMappingStoreResourceNames", + "description": "Snippet for GetIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.GetIdentityMappingStore", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_GetIdentityMappingStore_async_flattened_resourceNames", + "title": "GetIdentityMappingStoreResourceNamesAsync", + "description": "Snippet for GetIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.GetIdentityMappingStoreResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync", + "title": "DeleteIdentityMappingStoreRequestObject", + "description": "Snippet for DeleteIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.DeleteIdentityMappingStore", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 36, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async", + "title": "DeleteIdentityMappingStoreRequestObjectAsync", + "description": "Snippet for DeleteIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 37, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync_flattened", + "title": "DeleteIdentityMappingStore", + "description": "Snippet for DeleteIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.DeleteIdentityMappingStore", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async_flattened", + "title": "DeleteIdentityMappingStoreAsync", + "description": "Snippet for DeleteIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync_flattened_resourceNames", + "title": "DeleteIdentityMappingStoreResourceNames", + "description": "Snippet for DeleteIdentityMappingStore", + "file": "IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.DeleteIdentityMappingStore", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async_flattened_resourceNames", + "title": "DeleteIdentityMappingStoreResourceNamesAsync", + "description": "Snippet for DeleteIdentityMappingStoreAsync", + "file": "IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteIdentityMappingStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 37, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ImportIdentityMappings_sync", + "title": "ImportIdentityMappingsRequestObject", + "description": "Snippet for ImportIdentityMappings", + "file": "IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIdentityMappings", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ImportIdentityMappings", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ImportIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ImportIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 35, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ImportIdentityMappings_async", + "title": "ImportIdentityMappingsRequestObjectAsync", + "description": "Snippet for ImportIdentityMappingsAsync", + "file": "IdentityMappingStoreServiceClient.ImportIdentityMappingsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportIdentityMappingsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ImportIdentityMappingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ImportIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ImportIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 36, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_PurgeIdentityMappings_sync", + "title": "PurgeIdentityMappingsRequestObject", + "description": "Snippet for PurgeIdentityMappings", + "file": "IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "PurgeIdentityMappings", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.PurgeIdentityMappings", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "PurgeIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.PurgeIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 65, + "type": "FULL" + }, + { + "start": 36, + "end": 63, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_PurgeIdentityMappings_async", + "title": "PurgeIdentityMappingsRequestObjectAsync", + "description": "Snippet for PurgeIdentityMappingsAsync", + "file": "IdentityMappingStoreServiceClient.PurgeIdentityMappingsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "PurgeIdentityMappingsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.PurgeIdentityMappingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "PurgeIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.PurgeIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 66, + "type": "FULL" + }, + { + "start": 37, + "end": 64, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappings_sync", + "title": "ListIdentityMappingsRequestObject", + "description": "Snippet for ListIdentityMappings", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappings", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappings", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappings_async", + "title": "ListIdentityMappingsRequestObjectAsync", + "description": "Snippet for ListIdentityMappingsAsync", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync", + "title": "ListIdentityMappingStoresRequestObject", + "description": "Snippet for ListIdentityMappingStores", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingStores", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingStores", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async", + "title": "ListIdentityMappingStoresRequestObjectAsync", + "description": "Snippet for ListIdentityMappingStoresAsync", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingStoresRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingStoresAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync_flattened", + "title": "ListIdentityMappingStores", + "description": "Snippet for ListIdentityMappingStores", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingStoresSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingStores", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingStores", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async_flattened", + "title": "ListIdentityMappingStoresAsync", + "description": "Snippet for ListIdentityMappingStoresAsync", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingStoresAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync_flattened_resourceNames", + "title": "ListIdentityMappingStoresResourceNames", + "description": "Snippet for ListIdentityMappingStores", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingStores", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingStores", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_IdentityMappingStoreService_ListIdentityMappingStores_async_flattened_resourceNames", + "title": "ListIdentityMappingStoresResourceNamesAsync", + "description": "Snippet for ListIdentityMappingStoresAsync", + "file": "IdentityMappingStoreServiceClient.ListIdentityMappingStoresResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListIdentityMappingStoresAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceClient" + }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync", + "title": "CreateLicenseConfigRequestObject", + "description": "Snippet for CreateLicenseConfig", + "file": "LicenseConfigServiceClient.CreateLicenseConfigRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.CreateLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "CreateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 34, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async", + "title": "CreateLicenseConfigRequestObjectAsync", + "description": "Snippet for CreateLicenseConfigAsync", + "file": "LicenseConfigServiceClient.CreateLicenseConfigRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.CreateLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "CreateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync_flattened", + "title": "CreateLicenseConfig", + "description": "Snippet for CreateLicenseConfig", + "file": "LicenseConfigServiceClient.CreateLicenseConfigSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.CreateLicenseConfig", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "name": "licenseConfig" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "CreateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async_flattened", + "title": "CreateLicenseConfigAsync", + "description": "Snippet for CreateLicenseConfigAsync", + "file": "LicenseConfigServiceClient.CreateLicenseConfigAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.CreateLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "name": "licenseConfig" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "CreateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_sync_flattened_resourceNames", + "title": "CreateLicenseConfigResourceNames", + "description": "Snippet for CreateLicenseConfig", + "file": "LicenseConfigServiceClient.CreateLicenseConfigResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.CreateLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "name": "licenseConfig" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "CreateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_CreateLicenseConfig_async_flattened_resourceNames", + "title": "CreateLicenseConfigResourceNamesAsync", + "description": "Snippet for CreateLicenseConfigAsync", + "file": "LicenseConfigServiceClient.CreateLicenseConfigResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.CreateLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "name": "licenseConfig" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "CreateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_sync", + "title": "UpdateLicenseConfigRequestObject", + "description": "Snippet for UpdateLicenseConfig", + "file": "LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.UpdateLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "UpdateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.UpdateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_async", + "title": "UpdateLicenseConfigRequestObjectAsync", + "description": "Snippet for UpdateLicenseConfigAsync", + "file": "LicenseConfigServiceClient.UpdateLicenseConfigRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.UpdateLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "UpdateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.UpdateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_sync_flattened", + "title": "UpdateLicenseConfig", + "description": "Snippet for UpdateLicenseConfig", + "file": "LicenseConfigServiceClient.UpdateLicenseConfigSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.UpdateLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "name": "licenseConfig" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "UpdateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.UpdateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_UpdateLicenseConfig_async_flattened", + "title": "UpdateLicenseConfigAsync", + "description": "Snippet for UpdateLicenseConfigAsync", + "file": "LicenseConfigServiceClient.UpdateLicenseConfigAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.UpdateLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "name": "licenseConfig" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "UpdateLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.UpdateLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync", + "title": "GetLicenseConfigRequestObject", + "description": "Snippet for GetLicenseConfig", + "file": "LicenseConfigServiceClient.GetLicenseConfigRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.GetLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "GetLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async", + "title": "GetLicenseConfigRequestObjectAsync", + "description": "Snippet for GetLicenseConfigAsync", + "file": "LicenseConfigServiceClient.GetLicenseConfigRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.GetLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "GetLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync_flattened", + "title": "GetLicenseConfig", + "description": "Snippet for GetLicenseConfig", + "file": "LicenseConfigServiceClient.GetLicenseConfigSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.GetLicenseConfig", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "GetLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async_flattened", + "title": "GetLicenseConfigAsync", + "description": "Snippet for GetLicenseConfigAsync", + "file": "LicenseConfigServiceClient.GetLicenseConfigAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.GetLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "GetLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_sync_flattened_resourceNames", + "title": "GetLicenseConfigResourceNames", + "description": "Snippet for GetLicenseConfig", + "file": "LicenseConfigServiceClient.GetLicenseConfigResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.GetLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "GetLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_GetLicenseConfig_async_flattened_resourceNames", + "title": "GetLicenseConfigResourceNamesAsync", + "description": "Snippet for GetLicenseConfigAsync", + "file": "LicenseConfigServiceClient.GetLicenseConfigResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.GetLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "GetLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync", + "title": "ListLicenseConfigsRequestObject", + "description": "Snippet for ListLicenseConfigs", + "file": "LicenseConfigServiceClient.ListLicenseConfigsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListLicenseConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.ListLicenseConfigs", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "ListLicenseConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 36, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async", + "title": "ListLicenseConfigsRequestObjectAsync", + "description": "Snippet for ListLicenseConfigsAsync", + "file": "LicenseConfigServiceClient.ListLicenseConfigsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListLicenseConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.ListLicenseConfigsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "ListLicenseConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 80, + "type": "FULL" + }, + { + "start": 37, + "end": 78, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync_flattened", + "title": "ListLicenseConfigs", + "description": "Snippet for ListLicenseConfigs", + "file": "LicenseConfigServiceClient.ListLicenseConfigsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListLicenseConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.ListLicenseConfigs", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "ListLicenseConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async_flattened", + "title": "ListLicenseConfigsAsync", + "description": "Snippet for ListLicenseConfigsAsync", + "file": "LicenseConfigServiceClient.ListLicenseConfigsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListLicenseConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.ListLicenseConfigsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "ListLicenseConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_sync_flattened_resourceNames", + "title": "ListLicenseConfigsResourceNames", + "description": "Snippet for ListLicenseConfigs", + "file": "LicenseConfigServiceClient.ListLicenseConfigsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListLicenseConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.ListLicenseConfigs", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "ListLicenseConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_ListLicenseConfigs_async_flattened_resourceNames", + "title": "ListLicenseConfigsResourceNamesAsync", + "description": "Snippet for ListLicenseConfigsAsync", + "file": "LicenseConfigServiceClient.ListLicenseConfigsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListLicenseConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.ListLicenseConfigsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "ListLicenseConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync", + "title": "DistributeLicenseConfigRequestObject", + "description": "Snippet for DistributeLicenseConfig", + "file": "LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DistributeLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.DistributeLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "DistributeLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 48, + "type": "FULL" + }, + { + "start": 34, + "end": 46, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async", + "title": "DistributeLicenseConfigRequestObjectAsync", + "description": "Snippet for DistributeLicenseConfigAsync", + "file": "LicenseConfigServiceClient.DistributeLicenseConfigRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DistributeLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.DistributeLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "DistributeLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 49, + "type": "FULL" + }, + { + "start": 35, + "end": 47, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync_flattened", + "title": "DistributeLicenseConfig", + "description": "Snippet for DistributeLicenseConfig", + "file": "LicenseConfigServiceClient.DistributeLicenseConfigSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DistributeLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.DistributeLicenseConfig", + "parameters": [ + { + "type": "System.String", + "name": "billingAccountLicenseConfig" + }, + { + "type": "System.Int64", + "name": "projectNumber" + }, + { + "type": "System.String", + "name": "location" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "DistributeLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 34, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async_flattened", + "title": "DistributeLicenseConfigAsync", + "description": "Snippet for DistributeLicenseConfigAsync", + "file": "LicenseConfigServiceClient.DistributeLicenseConfigAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DistributeLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.DistributeLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "billingAccountLicenseConfig" + }, + { + "type": "System.Int64", + "name": "projectNumber" + }, + { + "type": "System.String", + "name": "location" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "DistributeLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_sync_flattened_resourceNames", + "title": "DistributeLicenseConfigResourceNames", + "description": "Snippet for DistributeLicenseConfig", + "file": "LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DistributeLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.DistributeLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BillingAccountLicenseConfigName", + "name": "billingAccountLicenseConfig" + }, + { + "type": "System.Int64", + "name": "projectNumber" + }, + { + "type": "System.String", + "name": "location" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "DistributeLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 34, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_DistributeLicenseConfig_async_flattened_resourceNames", + "title": "DistributeLicenseConfigResourceNamesAsync", + "description": "Snippet for DistributeLicenseConfigAsync", + "file": "LicenseConfigServiceClient.DistributeLicenseConfigResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DistributeLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.DistributeLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BillingAccountLicenseConfigName", + "name": "billingAccountLicenseConfig" + }, + { + "type": "System.Int64", + "name": "projectNumber" + }, + { + "type": "System.String", + "name": "location" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "System.String", + "name": "licenseConfigId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "DistributeLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync", + "title": "RetractLicenseConfigRequestObject", + "description": "Snippet for RetractLicenseConfig", + "file": "LicenseConfigServiceClient.RetractLicenseConfigRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RetractLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.RetractLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "RetractLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 34, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async", + "title": "RetractLicenseConfigRequestObjectAsync", + "description": "Snippet for RetractLicenseConfigAsync", + "file": "LicenseConfigServiceClient.RetractLicenseConfigRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RetractLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.RetractLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "RetractLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 48, + "type": "FULL" + }, + { + "start": 35, + "end": 46, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync_flattened", + "title": "RetractLicenseConfig", + "description": "Snippet for RetractLicenseConfig", + "file": "LicenseConfigServiceClient.RetractLicenseConfigSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RetractLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.RetractLicenseConfig", + "parameters": [ + { + "type": "System.String", + "name": "billingAccountLicenseConfig" + }, + { + "type": "System.String", + "name": "licenseConfig" + }, + { + "type": "System.Boolean", + "name": "fullRetract" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "RetractLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async_flattened", + "title": "RetractLicenseConfigAsync", + "description": "Snippet for RetractLicenseConfigAsync", + "file": "LicenseConfigServiceClient.RetractLicenseConfigAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RetractLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.RetractLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "billingAccountLicenseConfig" + }, + { + "type": "System.String", + "name": "licenseConfig" + }, + { + "type": "System.Boolean", + "name": "fullRetract" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "RetractLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_sync_flattened_resourceNames", + "title": "RetractLicenseConfigResourceNames", + "description": "Snippet for RetractLicenseConfig", + "file": "LicenseConfigServiceClient.RetractLicenseConfigResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RetractLicenseConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.RetractLicenseConfig", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BillingAccountLicenseConfigName", + "name": "billingAccountLicenseConfig" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigName", + "name": "licenseConfig" + }, + { + "type": "System.Boolean", + "name": "fullRetract" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "RetractLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_LicenseConfigService_RetractLicenseConfig_async_flattened_resourceNames", + "title": "RetractLicenseConfigResourceNamesAsync", + "description": "Snippet for RetractLicenseConfigAsync", + "file": "LicenseConfigServiceClient.RetractLicenseConfigResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RetractLicenseConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient.RetractLicenseConfigAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BillingAccountLicenseConfigName", + "name": "billingAccountLicenseConfig" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigName", + "name": "licenseConfig" + }, + { + "type": "System.Boolean", + "name": "fullRetract" + }, + { + "type": "System.Int64", + "name": "licenseCount" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "LicenseConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceClient" + }, + "method": { + "shortName": "RetractLicenseConfig", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig", + "service": { + "shortName": "LicenseConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.LicenseConfigService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync", + "title": "ProvisionProjectRequestObject", + "description": "Snippet for ProvisionProject", + "file": "ProjectServiceClient.ProvisionProjectRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ProvisionProject", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProject", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 35, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async", + "title": "ProvisionProjectRequestObjectAsync", + "description": "Snippet for ProvisionProjectAsync", + "file": "ProjectServiceClient.ProvisionProjectRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ProvisionProjectAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProjectAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 65, + "type": "FULL" + }, + { + "start": 36, + "end": 63, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync_flattened", + "title": "ProvisionProject", + "description": "Snippet for ProvisionProject", + "file": "ProjectServiceClient.ProvisionProjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ProvisionProject", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProject", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async_flattened", + "title": "ProvisionProjectAsync", + "description": "Snippet for ProvisionProjectAsync", + "file": "ProjectServiceClient.ProvisionProjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ProvisionProjectAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProjectAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync_flattened_resourceNames", + "title": "ProvisionProjectResourceNames", + "description": "Snippet for ProvisionProject", + "file": "ProjectServiceClient.ProvisionProjectResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ProvisionProject", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProject", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 58, + "type": "FULL" + }, + { + "start": 35, + "end": 56, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async_flattened_resourceNames", + "title": "ProvisionProjectResourceNamesAsync", + "description": "Snippet for ProvisionProjectAsync", + "file": "ProjectServiceClient.ProvisionProjectResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ProvisionProjectAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient.ProvisionProjectAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ProjectServiceClient" + }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 59, + "type": "FULL" + }, + { + "start": 36, + "end": 57, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_sync", + "title": "RankRequestObject", + "description": "Snippet for Rank", + "file": "RankServiceClient.RankRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "Rank", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient.Rank", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RankRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RankResponse", + "client": { + "shortName": "RankServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient" + }, + "method": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "service": { + "shortName": "RankService", + "fullName": "google.cloud.discoveryengine.v1beta.RankService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + }, + { + "start": 34, + "end": 51, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_async", + "title": "RankRequestObjectAsync", + "description": "Snippet for RankAsync", + "file": "RankServiceClient.RankRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RankAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient.RankAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RankRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "RankServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RankServiceClient" + }, + "method": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "service": { + "shortName": "RankService", + "fullName": "google.cloud.discoveryengine.v1beta.RankService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 54, + "type": "FULL" + }, + { + "start": 35, + "end": 52, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_sync", + "title": "RecommendRequestObject", + "description": "Snippet for Recommend", + "file": "RecommendationServiceClient.RecommendRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "Recommend", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient.Recommend", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse", + "client": { + "shortName": "RecommendationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient" + }, + "method": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "service": { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 51, + "type": "FULL" + }, + { + "start": 35, + "end": 49, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_async", + "title": "RecommendRequestObjectAsync", + "description": "Snippet for RecommendAsync", + "file": "RecommendationServiceClient.RecommendRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "RecommendAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient.RecommendAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "RecommendationServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient" + }, + "method": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "service": { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 52, + "type": "FULL" + }, + { + "start": 36, + "end": 50, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync", + "title": "GetSampleQueryRequestObject", + "description": "Snippet for GetSampleQuery", + "file": "SampleQueryServiceClient.GetSampleQueryRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async", + "title": "GetSampleQueryRequestObjectAsync", + "description": "Snippet for GetSampleQueryAsync", + "file": "SampleQueryServiceClient.GetSampleQueryRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync_flattened", + "title": "GetSampleQuery", + "description": "Snippet for GetSampleQuery", + "file": "SampleQueryServiceClient.GetSampleQuerySnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQuery", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async_flattened", + "title": "GetSampleQueryAsync", + "description": "Snippet for GetSampleQueryAsync", + "file": "SampleQueryServiceClient.GetSampleQueryAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync_flattened_resourceNames", + "title": "GetSampleQueryResourceNames", + "description": "Snippet for GetSampleQuery", + "file": "SampleQueryServiceClient.GetSampleQueryResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async_flattened_resourceNames", + "title": "GetSampleQueryResourceNamesAsync", + "description": "Snippet for GetSampleQueryAsync", + "file": "SampleQueryServiceClient.GetSampleQueryResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.GetSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync", + "title": "ListSampleQueriesRequestObject", + "description": "Snippet for ListSampleQueries", + "file": "SampleQueryServiceClient.ListSampleQueriesRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQueries", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueries", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQueriesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async", + "title": "ListSampleQueriesRequestObjectAsync", + "description": "Snippet for ListSampleQueriesAsync", + "file": "SampleQueryServiceClient.ListSampleQueriesRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQueriesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueriesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQueriesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync_flattened", + "title": "ListSampleQueries", + "description": "Snippet for ListSampleQueries", + "file": "SampleQueryServiceClient.ListSampleQueriesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQueries", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueries", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async_flattened", + "title": "ListSampleQueriesAsync", + "description": "Snippet for ListSampleQueriesAsync", + "file": "SampleQueryServiceClient.ListSampleQueriesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQueriesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueriesAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync_flattened_resourceNames", + "title": "ListSampleQueriesResourceNames", + "description": "Snippet for ListSampleQueries", + "file": "SampleQueryServiceClient.ListSampleQueriesResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQueries", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueries", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async_flattened_resourceNames", + "title": "ListSampleQueriesResourceNamesAsync", + "description": "Snippet for ListSampleQueriesAsync", + "file": "SampleQueryServiceClient.ListSampleQueriesResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQueriesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ListSampleQueriesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync", + "title": "CreateSampleQueryRequestObject", + "description": "Snippet for CreateSampleQuery", + "file": "SampleQueryServiceClient.CreateSampleQueryRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 34, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async", + "title": "CreateSampleQueryRequestObjectAsync", + "description": "Snippet for CreateSampleQueryAsync", + "file": "SampleQueryServiceClient.CreateSampleQueryRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync_flattened", + "title": "CreateSampleQuery", + "description": "Snippet for CreateSampleQuery", + "file": "SampleQueryServiceClient.CreateSampleQuerySnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQuery", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "name": "sampleQuery" + }, + { + "type": "System.String", + "name": "sampleQueryId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async_flattened", + "title": "CreateSampleQueryAsync", + "description": "Snippet for CreateSampleQueryAsync", + "file": "SampleQueryServiceClient.CreateSampleQueryAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "name": "sampleQuery" + }, + { + "type": "System.String", + "name": "sampleQueryId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync_flattened_resourceNames", + "title": "CreateSampleQueryResourceNames", + "description": "Snippet for CreateSampleQuery", + "file": "SampleQueryServiceClient.CreateSampleQueryResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "name": "sampleQuery" + }, + { + "type": "System.String", + "name": "sampleQueryId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async_flattened_resourceNames", + "title": "CreateSampleQueryResourceNamesAsync", + "description": "Snippet for CreateSampleQueryAsync", + "file": "SampleQueryServiceClient.CreateSampleQueryResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.CreateSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "name": "sampleQuery" + }, + { + "type": "System.String", + "name": "sampleQueryId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_sync", + "title": "UpdateSampleQueryRequestObject", + "description": "Snippet for UpdateSampleQuery", + "file": "SampleQueryServiceClient.UpdateSampleQueryRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_async", + "title": "UpdateSampleQueryRequestObjectAsync", + "description": "Snippet for UpdateSampleQueryAsync", + "file": "SampleQueryServiceClient.UpdateSampleQueryRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_sync_flattened", + "title": "UpdateSampleQuery", + "description": "Snippet for UpdateSampleQuery", + "file": "SampleQueryServiceClient.UpdateSampleQuerySnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "name": "sampleQuery" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_async_flattened", + "title": "UpdateSampleQueryAsync", + "description": "Snippet for UpdateSampleQueryAsync", + "file": "SampleQueryServiceClient.UpdateSampleQueryAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.UpdateSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery", + "name": "sampleQuery" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync", + "title": "DeleteSampleQueryRequestObject", + "description": "Snippet for DeleteSampleQuery", + "file": "SampleQueryServiceClient.DeleteSampleQueryRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async", + "title": "DeleteSampleQueryRequestObjectAsync", + "description": "Snippet for DeleteSampleQueryAsync", + "file": "SampleQueryServiceClient.DeleteSampleQueryRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQueryRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync_flattened", + "title": "DeleteSampleQuery", + "description": "Snippet for DeleteSampleQuery", + "file": "SampleQueryServiceClient.DeleteSampleQuerySnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQuery", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async_flattened", + "title": "DeleteSampleQueryAsync", + "description": "Snippet for DeleteSampleQueryAsync", + "file": "SampleQueryServiceClient.DeleteSampleQueryAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync_flattened_resourceNames", + "title": "DeleteSampleQueryResourceNames", + "description": "Snippet for DeleteSampleQuery", + "file": "SampleQueryServiceClient.DeleteSampleQueryResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuery", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQuery", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async_flattened_resourceNames", + "title": "DeleteSampleQueryResourceNamesAsync", + "description": "Snippet for DeleteSampleQueryAsync", + "file": "SampleQueryServiceClient.DeleteSampleQueryResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQueryAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.DeleteSampleQueryAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_sync", + "title": "ImportSampleQueriesRequestObject", + "description": "Snippet for ImportSampleQueries", + "file": "SampleQueryServiceClient.ImportSampleQueriesRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportSampleQueries", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ImportSampleQueries", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ImportSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 35, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_async", + "title": "ImportSampleQueriesRequestObjectAsync", + "description": "Snippet for ImportSampleQueriesAsync", + "file": "SampleQueryServiceClient.ImportSampleQueriesRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ImportSampleQueriesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient.ImportSampleQueriesAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryServiceClient" + }, + "method": { + "shortName": "ImportSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 36, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync", + "title": "GetSampleQuerySetRequestObject", + "description": "Snippet for GetSampleQuerySet", + "file": "SampleQuerySetServiceClient.GetSampleQuerySetRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async", + "title": "GetSampleQuerySetRequestObjectAsync", + "description": "Snippet for GetSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.GetSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync_flattened", + "title": "GetSampleQuerySet", + "description": "Snippet for GetSampleQuerySet", + "file": "SampleQuerySetServiceClient.GetSampleQuerySetSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySet", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async_flattened", + "title": "GetSampleQuerySetAsync", + "description": "Snippet for GetSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.GetSampleQuerySetAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync_flattened_resourceNames", + "title": "GetSampleQuerySetResourceNames", + "description": "Snippet for GetSampleQuerySet", + "file": "SampleQuerySetServiceClient.GetSampleQuerySetResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async_flattened_resourceNames", + "title": "GetSampleQuerySetResourceNamesAsync", + "description": "Snippet for GetSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.GetSampleQuerySetResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.GetSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync", + "title": "ListSampleQuerySetsRequestObject", + "description": "Snippet for ListSampleQuerySets", + "file": "SampleQuerySetServiceClient.ListSampleQuerySetsRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQuerySets", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySets", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async", + "title": "ListSampleQuerySetsRequestObjectAsync", + "description": "Snippet for ListSampleQuerySetsAsync", + "file": "SampleQuerySetServiceClient.ListSampleQuerySetsRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQuerySetsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySetsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync_flattened", + "title": "ListSampleQuerySets", + "description": "Snippet for ListSampleQuerySets", + "file": "SampleQuerySetServiceClient.ListSampleQuerySetsSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQuerySets", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySets", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async_flattened", + "title": "ListSampleQuerySetsAsync", + "description": "Snippet for ListSampleQuerySetsAsync", + "file": "SampleQuerySetServiceClient.ListSampleQuerySetsAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQuerySetsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySetsAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync_flattened_resourceNames", + "title": "ListSampleQuerySetsResourceNames", + "description": "Snippet for ListSampleQuerySets", + "file": "SampleQuerySetServiceClient.ListSampleQuerySetsResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQuerySets", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySets", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async_flattened_resourceNames", + "title": "ListSampleQuerySetsResourceNamesAsync", + "description": "Snippet for ListSampleQuerySetsAsync", + "file": "SampleQuerySetServiceClient.ListSampleQuerySetsResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSampleQuerySetsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySetsAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync", + "title": "CreateSampleQuerySetRequestObject", + "description": "Snippet for CreateSampleQuerySet", + "file": "SampleQuerySetServiceClient.CreateSampleQuerySetRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 34, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async", + "title": "CreateSampleQuerySetRequestObjectAsync", + "description": "Snippet for CreateSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.CreateSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 35, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync_flattened", + "title": "CreateSampleQuerySet", + "description": "Snippet for CreateSampleQuerySet", + "file": "SampleQuerySetServiceClient.CreateSampleQuerySetSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySet", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "name": "sampleQuerySet" + }, + { + "type": "System.String", + "name": "sampleQuerySetId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async_flattened", + "title": "CreateSampleQuerySetAsync", + "description": "Snippet for CreateSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.CreateSampleQuerySetAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "name": "sampleQuerySet" + }, + { + "type": "System.String", + "name": "sampleQuerySetId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync_flattened_resourceNames", + "title": "CreateSampleQuerySetResourceNames", + "description": "Snippet for CreateSampleQuerySet", + "file": "SampleQuerySetServiceClient.CreateSampleQuerySetResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "name": "sampleQuerySet" + }, + { + "type": "System.String", + "name": "sampleQuerySetId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 34, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async_flattened_resourceNames", + "title": "CreateSampleQuerySetResourceNamesAsync", + "description": "Snippet for CreateSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.CreateSampleQuerySetResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "name": "sampleQuerySet" + }, + { + "type": "System.String", + "name": "sampleQuerySetId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 35, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_sync", + "title": "UpdateSampleQuerySetRequestObject", + "description": "Snippet for UpdateSampleQuerySet", + "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + }, + { + "start": 35, + "end": 44, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_async", + "title": "UpdateSampleQuerySetRequestObjectAsync", + "description": "Snippet for UpdateSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 47, + "type": "FULL" + }, + { + "start": 36, + "end": 45, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_sync_flattened", + "title": "UpdateSampleQuerySet", + "description": "Snippet for UpdateSampleQuerySet", + "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "name": "sampleQuerySet" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 43, + "type": "FULL" + }, + { + "start": 35, + "end": 41, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_async_flattened", + "title": "UpdateSampleQuerySetAsync", + "description": "Snippet for UpdateSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "name": "sampleQuerySet" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 36, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync", + "title": "DeleteSampleQuerySetRequestObject", + "description": "Snippet for DeleteSampleQuerySet", + "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async", + "title": "DeleteSampleQuerySetRequestObjectAsync", + "description": "Snippet for DeleteSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQuerySetRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync_flattened", + "title": "DeleteSampleQuerySet", + "description": "Snippet for DeleteSampleQuerySet", + "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySet", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async_flattened", + "title": "DeleteSampleQuerySetAsync", + "description": "Snippet for DeleteSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync_flattened_resourceNames", + "title": "DeleteSampleQuerySetResourceNames", + "description": "Snippet for DeleteSampleQuerySet", + "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuerySet", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySet", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async_flattened_resourceNames", + "title": "DeleteSampleQuerySetResourceNamesAsync", + "description": "Snippet for DeleteSampleQuerySetAsync", + "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "DeleteSampleQuerySetAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySetAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync", + "title": "GetSchemaRequestObject", + "description": "Snippet for GetSchema", + "file": "SchemaServiceClient.GetSchemaRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchema", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSchemaRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 44, + "type": "FULL" + }, + { + "start": 34, + "end": 42, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async", + "title": "GetSchemaRequestObjectAsync", + "description": "Snippet for GetSchemaAsync", + "file": "SchemaServiceClient.GetSchemaRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchemaAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSchemaRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 45, + "type": "FULL" + }, + { + "start": 35, + "end": 43, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync_flattened", + "title": "GetSchema", + "description": "Snippet for GetSchema", + "file": "SchemaServiceClient.GetSchemaSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchema", + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async_flattened", + "title": "GetSchemaAsync", + "description": "Snippet for GetSchemaAsync", + "file": "SchemaServiceClient.GetSchemaAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchemaAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync_flattened_resourceNames", + "title": "GetSchemaResourceNames", + "description": "Snippet for GetSchema", + "file": "SchemaServiceClient.GetSchemaResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchema", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 41, + "type": "FULL" + }, + { + "start": 34, + "end": 39, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async_flattened_resourceNames", + "title": "GetSchemaResourceNamesAsync", + "description": "Snippet for GetSchemaAsync", + "file": "SchemaServiceClient.GetSchemaResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "GetSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchemaAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", + "name": "name" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 42, + "type": "FULL" + }, + { + "start": 35, + "end": 40, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync", + "title": "ListSchemasRequestObject", + "description": "Snippet for ListSchemas", + "file": "SchemaServiceClient.ListSchemasRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSchemas", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemas", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSchemasRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 78, + "type": "FULL" + }, + { + "start": 36, + "end": 76, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async", + "title": "ListSchemasRequestObjectAsync", + "description": "Snippet for ListSchemasAsync", + "file": "SchemaServiceClient.ListSchemasRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSchemasAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemasAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSchemasRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 79, + "type": "FULL" + }, + { + "start": 37, + "end": 77, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync_flattened", + "title": "ListSchemas", + "description": "Snippet for ListSchemas", + "file": "SchemaServiceClient.ListSchemasSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSchemas", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemas", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async_flattened", + "title": "ListSchemasAsync", + "description": "Snippet for ListSchemasAsync", + "file": "SchemaServiceClient.ListSchemasAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSchemasAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemasAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync_flattened_resourceNames", + "title": "ListSchemasResourceNames", + "description": "Snippet for ListSchemas", + "file": "SchemaServiceClient.ListSchemasResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSchemas", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemas", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedEnumerable", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 75, + "type": "FULL" + }, + { + "start": 36, + "end": 73, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async_flattened_resourceNames", + "title": "ListSchemasResourceNamesAsync", + "description": "Snippet for ListSchemasAsync", + "file": "SchemaServiceClient.ListSchemasResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "ListSchemasAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemasAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 76, + "type": "FULL" + }, + { + "start": 37, + "end": 74, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync", + "title": "CreateSchemaRequestObject", + "description": "Snippet for CreateSchema", + "file": "SchemaServiceClient.CreateSchemaRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchema", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSchemaRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 35, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async", + "title": "CreateSchemaRequestObjectAsync", + "description": "Snippet for CreateSchemaAsync", + "file": "SchemaServiceClient.CreateSchemaRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchemaAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSchemaRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 64, + "type": "FULL" + }, + { + "start": 36, + "end": 62, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync_flattened", + "title": "CreateSchema", + "description": "Snippet for CreateSchema", + "file": "SchemaServiceClient.CreateSchemaSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchema", + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "name": "schema" + }, + { + "type": "System.String", + "name": "schemaId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 35, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async_flattened", + "title": "CreateSchemaAsync", + "description": "Snippet for CreateSchemaAsync", + "file": "SchemaServiceClient.CreateSchemaAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchemaAsync", + "async": true, + "parameters": [ + { + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "name": "schema" + }, + { + "type": "System.String", + "name": "schemaId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 36, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync_flattened_resourceNames", + "title": "CreateSchemaResourceNames", + "description": "Snippet for CreateSchema", + "file": "SchemaServiceClient.CreateSchemaResourceNamesSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchema", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "name": "schema" + }, + { + "type": "System.String", + "name": "schemaId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 60, + "type": "FULL" + }, + { + "start": 35, + "end": 58, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async_flattened_resourceNames", + "title": "CreateSchemaResourceNamesAsync", + "description": "Snippet for CreateSchemaAsync", + "file": "SchemaServiceClient.CreateSchemaResourceNamesAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "CreateSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchemaAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "name": "schema" + }, + { + "type": "System.String", + "name": "schemaId" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 61, + "type": "FULL" + }, + { + "start": 36, + "end": 59, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_sync", + "title": "UpdateSchemaRequestObject", + "description": "Snippet for UpdateSchema", + "file": "SchemaServiceClient.UpdateSchemaRequestObjectSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.UpdateSchema", + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSchemaRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "Google.LongRunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 62, + "type": "FULL" + }, + { + "start": 35, + "end": 60, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_async", + "title": "UpdateSchemaRequestObjectAsync", + "description": "Snippet for UpdateSchemaAsync", + "file": "SchemaServiceClient.UpdateSchemaRequestObjectAsyncSnippet.g.cs", + "language": "C_SHARP", + "clientMethod": { + "shortName": "UpdateSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.UpdateSchemaAsync", + "async": true, + "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSchemaRequest", + "name": "request" + }, + { + "type": "Google.Api.Gax.Grpc.CallSettings", + "name": "callSettings" + } + ], + "resultType": "System.Threading.Tasks.Task>", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + }, + "method": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 63, + "type": "FULL" + }, + { + "start": 36, + "end": 61, + "type": "SHORT" + } + ] + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync", + "title": "DeleteSchemaRequestObject", + "description": "Snippet for DeleteSchema", + "file": "SchemaServiceClient.DeleteSchemaRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQuerySets", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySets", + "shortName": "DeleteSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchema", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSchemaRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" }, "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 62, "type": "FULL" }, { "start": 36, - "end": 73, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async_flattened_resourceNames", - "title": "ListSampleQuerySetsResourceNamesAsync", - "description": "Snippet for ListSampleQuerySetsAsync", - "file": "SampleQuerySetServiceClient.ListSampleQuerySetsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async", + "title": "DeleteSchemaRequestObjectAsync", + "description": "Snippet for DeleteSchemaAsync", + "file": "SchemaServiceClient.DeleteSchemaRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSampleQuerySetsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.ListSampleQuerySetsAsync", + "shortName": "DeleteSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchemaAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSchemaRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" }, "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 63, "type": "FULL" }, { "start": 37, - "end": 74, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync", - "title": "CreateSampleQuerySetRequestObject", - "description": "Snippet for CreateSampleQuerySet", - "file": "SampleQuerySetServiceClient.CreateSampleQuerySetRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync_flattened", + "title": "DeleteSchema", + "description": "Snippet for DeleteSchema", + "file": "SchemaServiceClient.DeleteSchemaSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySet", + "shortName": "DeleteSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchema", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQuerySetRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" }, "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 44, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async", - "title": "CreateSampleQuerySetRequestObjectAsync", - "description": "Snippet for CreateSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.CreateSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async_flattened", + "title": "DeleteSchemaAsync", + "description": "Snippet for DeleteSchemaAsync", + "file": "SchemaServiceClient.DeleteSchemaAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySetAsync", + "shortName": "DeleteSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchemaAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQuerySetRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" }, "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 45, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync_flattened", - "title": "CreateSampleQuerySet", - "description": "Snippet for CreateSampleQuerySet", - "file": "SampleQuerySetServiceClient.CreateSampleQuerySetSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync_flattened_resourceNames", + "title": "DeleteSchemaResourceNames", + "description": "Snippet for DeleteSchema", + "file": "SchemaServiceClient.DeleteSchemaResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySet", + "shortName": "DeleteSchema", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchema", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", - "name": "sampleQuerySet" - }, - { - "type": "System.String", - "name": "sampleQuerySetId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" }, "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" } } }, @@ -15476,55 +24109,47 @@ "segments": [ { "start": 20, - "end": 43, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async_flattened", - "title": "CreateSampleQuerySetAsync", - "description": "Snippet for CreateSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.CreateSampleQuerySetAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async_flattened_resourceNames", + "title": "DeleteSchemaResourceNamesAsync", + "description": "Snippet for DeleteSchemaAsync", + "file": "SchemaServiceClient.DeleteSchemaResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySetAsync", + "shortName": "DeleteSchemaAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchemaAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", - "name": "sampleQuerySet" - }, - { - "type": "System.String", - "name": "sampleQuerySetId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SchemaServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" }, "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" } } }, @@ -15532,139 +24157,125 @@ "segments": [ { "start": 20, - "end": 44, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 42, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync_flattened_resourceNames", - "title": "CreateSampleQuerySetResourceNames", - "description": "Snippet for CreateSampleQuerySet", - "file": "SampleQuerySetServiceClient.CreateSampleQuerySetResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_sync", + "title": "SearchRequestObject", + "description": "Snippet for Search", + "file": "SearchServiceClient.SearchRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySet", + "shortName": "Search", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.Search", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", - "name": "sampleQuerySet" - }, - { - "type": "System.String", - "name": "sampleQuerySetId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" }, "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 127, "type": "FULL" }, { - "start": 34, - "end": 41, + "start": 37, + "end": 125, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async_flattened_resourceNames", - "title": "CreateSampleQuerySetResourceNamesAsync", - "description": "Snippet for CreateSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.CreateSampleQuerySetResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_async", + "title": "SearchRequestObjectAsync", + "description": "Snippet for SearchAsync", + "file": "SearchServiceClient.SearchRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.CreateSampleQuerySetAsync", + "shortName": "SearchAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.SearchAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.LocationName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", - "name": "sampleQuerySet" - }, - { - "type": "System.String", - "name": "sampleQuerySetId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" }, "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 128, "type": "FULL" }, { - "start": 35, - "end": 42, + "start": 38, + "end": 126, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_sync", - "title": "UpdateSampleQuerySetRequestObject", - "description": "Snippet for UpdateSampleQuerySet", - "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_sync", + "title": "SearchLiteRequestObject", + "description": "Snippet for SearchLite", + "file": "SearchServiceClient.SearchLiteRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySet", + "shortName": "SearchLite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.SearchLite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQuerySetRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", "name": "request" }, { @@ -15672,17 +24283,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" }, "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "shortName": "SearchLite", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService" } } }, @@ -15691,29 +24302,29 @@ "segments": [ { "start": 20, - "end": 46, + "end": 127, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 37, + "end": 125, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_async", - "title": "UpdateSampleQuerySetRequestObjectAsync", - "description": "Snippet for UpdateSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_async", + "title": "SearchLiteRequestObjectAsync", + "description": "Snippet for SearchLiteAsync", + "file": "SearchServiceClient.SearchLiteRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySetAsync", + "shortName": "SearchLiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.SearchLiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQuerySetRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", "name": "request" }, { @@ -15721,17 +24332,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" }, "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "shortName": "SearchLite", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService" } } }, @@ -15740,131 +24351,125 @@ "segments": [ { "start": 20, - "end": 47, + "end": 128, "type": "FULL" }, { - "start": 36, - "end": 45, + "start": 38, + "end": 126, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_sync_flattened", - "title": "UpdateSampleQuerySet", - "description": "Snippet for UpdateSampleQuerySet", - "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_sync", + "title": "TrainCustomModelRequestObject", + "description": "Snippet for TrainCustomModel", + "file": "SearchTuningServiceClient.TrainCustomModelRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySet", + "shortName": "TrainCustomModel", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.TrainCustomModel", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", - "name": "sampleQuerySet" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchTuningServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" }, "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 65, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 63, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_async_flattened", - "title": "UpdateSampleQuerySetAsync", - "description": "Snippet for UpdateSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.UpdateSampleQuerySetAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_async", + "title": "TrainCustomModelRequestObjectAsync", + "description": "Snippet for TrainCustomModelAsync", + "file": "SearchTuningServiceClient.TrainCustomModelRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.UpdateSampleQuerySetAsync", + "shortName": "TrainCustomModelAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.TrainCustomModelAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet", - "name": "sampleQuerySet" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchTuningServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" }, "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 66, "type": "FULL" }, { "start": 36, - "end": 42, + "end": 64, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync", - "title": "DeleteSampleQuerySetRequestObject", - "description": "Snippet for DeleteSampleQuerySet", - "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_sync", + "title": "ListCustomModelsRequestObject", + "description": "Snippet for ListCustomModels", + "file": "SearchTuningServiceClient.ListCustomModelsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySet", + "shortName": "ListCustomModels", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.ListCustomModels", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQuerySetRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListCustomModelsRequest", "name": "request" }, { @@ -15872,16 +24477,17 @@ "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListCustomModelsResponse", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchTuningServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" }, "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" } } }, @@ -15901,18 +24507,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async", - "title": "DeleteSampleQuerySetRequestObjectAsync", - "description": "Snippet for DeleteSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_async", + "title": "ListCustomModelsRequestObjectAsync", + "description": "Snippet for ListCustomModelsAsync", + "file": "SearchTuningServiceClient.ListCustomModelsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySetAsync", + "shortName": "ListCustomModelsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.ListCustomModelsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQuerySetRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListCustomModelsRequest", "name": "request" }, { @@ -15920,17 +24526,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "SearchTuningServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" }, "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" } } }, @@ -15950,128 +24556,140 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync_flattened", - "title": "DeleteSampleQuerySet", - "description": "Snippet for DeleteSampleQuerySet", - "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync", + "title": "CreateServingConfigRequestObject", + "description": "Snippet for CreateServingConfig", + "file": "ServingConfigServiceClient.CreateServingConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySet", + "shortName": "CreateServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfig", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 46, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async_flattened", - "title": "DeleteSampleQuerySetAsync", - "description": "Snippet for DeleteSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async", + "title": "CreateServingConfigRequestObjectAsync", + "description": "Snippet for CreateServingConfigAsync", + "file": "ServingConfigServiceClient.CreateServingConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySetAsync", + "shortName": "CreateServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfigAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 47, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync_flattened_resourceNames", - "title": "DeleteSampleQuerySetResourceNames", - "description": "Snippet for DeleteSampleQuerySet", - "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened", + "title": "CreateServingConfig", + "description": "Snippet for CreateServingConfig", + "file": "ServingConfigServiceClient.CreateServingConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuerySet", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySet", + "shortName": "CreateServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, + { + "type": "System.String", + "name": "servingConfigId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16079,47 +24697,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async_flattened_resourceNames", - "title": "DeleteSampleQuerySetResourceNamesAsync", - "description": "Snippet for DeleteSampleQuerySetAsync", - "file": "SampleQuerySetServiceClient.DeleteSampleQuerySetResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened", + "title": "CreateServingConfigAsync", + "description": "Snippet for CreateServingConfigAsync", + "file": "ServingConfigServiceClient.CreateServingConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSampleQuerySetAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient.DeleteSampleQuerySetAsync", + "shortName": "CreateServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName", - "name": "name" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, + { + "type": "System.String", + "name": "servingConfigId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16127,143 +24753,165 @@ "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync", - "title": "GetSchemaRequestObject", - "description": "Snippet for GetSchema", - "file": "SchemaServiceClient.GetSchemaRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened_resourceNames1", + "title": "CreateServingConfigResourceNames1", + "description": "Snippet for CreateServingConfig", + "file": "ServingConfigServiceClient.CreateServingConfigResourceNames1Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchema", + "shortName": "CreateServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSchemaRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, + { + "type": "System.String", + "name": "servingConfigId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 43, "type": "FULL" }, { "start": 34, - "end": 42, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async", - "title": "GetSchemaRequestObjectAsync", - "description": "Snippet for GetSchemaAsync", - "file": "SchemaServiceClient.GetSchemaRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened_resourceNames1", + "title": "CreateServingConfigResourceNames1Async", + "description": "Snippet for CreateServingConfigAsync", + "file": "ServingConfigServiceClient.CreateServingConfigResourceNames1AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchemaAsync", + "shortName": "CreateServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSchemaRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, + { + "type": "System.String", + "name": "servingConfigId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 44, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync_flattened", - "title": "GetSchema", - "description": "Snippet for GetSchema", - "file": "SchemaServiceClient.GetSchemaSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_sync_flattened_resourceNames2", + "title": "CreateServingConfigResourceNames2", + "description": "Snippet for CreateServingConfig", + "file": "ServingConfigServiceClient.CreateServingConfigResourceNames2Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchema", + "shortName": "CreateServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfig", "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, { "type": "System.String", - "name": "name" + "name": "servingConfigId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16271,47 +24919,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async_flattened", - "title": "GetSchemaAsync", - "description": "Snippet for GetSchemaAsync", - "file": "SchemaServiceClient.GetSchemaAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CreateServingConfig_async_flattened_resourceNames2", + "title": "CreateServingConfigResourceNames2Async", + "description": "Snippet for CreateServingConfigAsync", + "file": "ServingConfigServiceClient.CreateServingConfigResourceNames2AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchemaAsync", + "shortName": "CreateServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.CreateServingConfigAsync", "async": true, "parameters": [ + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, { "type": "System.String", - "name": "name" + "name": "servingConfigId" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "method": { + "shortName": "CreateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.CreateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16319,246 +24975,235 @@ "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync_flattened_resourceNames", - "title": "GetSchemaResourceNames", - "description": "Snippet for GetSchema", - "file": "SchemaServiceClient.GetSchemaResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync", + "title": "DeleteServingConfigRequestObject", + "description": "Snippet for DeleteServingConfig", + "file": "ServingConfigServiceClient.DeleteServingConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchema", + "shortName": "DeleteServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.DeleteServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.DeleteServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async_flattened_resourceNames", - "title": "GetSchemaResourceNamesAsync", - "description": "Snippet for GetSchemaAsync", - "file": "SchemaServiceClient.GetSchemaResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async", + "title": "DeleteServingConfigRequestObjectAsync", + "description": "Snippet for DeleteServingConfigAsync", + "file": "ServingConfigServiceClient.DeleteServingConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.GetSchemaAsync", + "shortName": "DeleteServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.DeleteServingConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.DeleteServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync", - "title": "ListSchemasRequestObject", - "description": "Snippet for ListSchemas", - "file": "SchemaServiceClient.ListSchemasRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync_flattened", + "title": "DeleteServingConfig", + "description": "Snippet for DeleteServingConfig", + "file": "ServingConfigServiceClient.DeleteServingConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSchemas", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemas", + "shortName": "DeleteServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.DeleteServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSchemasRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.DeleteServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 78, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async", - "title": "ListSchemasRequestObjectAsync", - "description": "Snippet for ListSchemasAsync", - "file": "SchemaServiceClient.ListSchemasRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async_flattened", + "title": "DeleteServingConfigAsync", + "description": "Snippet for DeleteServingConfigAsync", + "file": "ServingConfigServiceClient.DeleteServingConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSchemasAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemasAsync", + "shortName": "DeleteServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.DeleteServingConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSchemasRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.DeleteServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 79, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync_flattened", - "title": "ListSchemas", - "description": "Snippet for ListSchemas", - "file": "SchemaServiceClient.ListSchemasSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_sync_flattened_resourceNames", + "title": "DeleteServingConfigResourceNames", + "description": "Snippet for DeleteServingConfig", + "file": "ServingConfigServiceClient.DeleteServingConfigResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSchemas", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemas", + "shortName": "DeleteServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.DeleteServingConfig", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.DeleteServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16566,55 +25211,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async_flattened", - "title": "ListSchemasAsync", - "description": "Snippet for ListSchemasAsync", - "file": "SchemaServiceClient.ListSchemasAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_DeleteServingConfig_async_flattened_resourceNames", + "title": "DeleteServingConfigResourceNamesAsync", + "description": "Snippet for DeleteServingConfigAsync", + "file": "ServingConfigServiceClient.DeleteServingConfigResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSchemasAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemasAsync", + "shortName": "DeleteServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.DeleteServingConfigAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.DeleteServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16622,373 +25259,343 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync_flattened_resourceNames", - "title": "ListSchemasResourceNames", - "description": "Snippet for ListSchemas", - "file": "SchemaServiceClient.ListSchemasResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_sync", + "title": "UpdateServingConfigRequestObject", + "description": "Snippet for UpdateServingConfig", + "file": "ServingConfigServiceClient.UpdateServingConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSchemas", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemas", + "shortName": "UpdateServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 46, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async_flattened_resourceNames", - "title": "ListSchemasResourceNamesAsync", - "description": "Snippet for ListSchemasAsync", - "file": "SchemaServiceClient.ListSchemasResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_async", + "title": "UpdateServingConfigRequestObjectAsync", + "description": "Snippet for UpdateServingConfigAsync", + "file": "ServingConfigServiceClient.UpdateServingConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSchemasAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.ListSchemasAsync", + "shortName": "UpdateServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfigAsync", "async": true, "parameters": [ - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 47, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync", - "title": "CreateSchemaRequestObject", - "description": "Snippet for CreateSchema", - "file": "SchemaServiceClient.CreateSchemaRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_sync_flattened", + "title": "UpdateServingConfig", + "description": "Snippet for UpdateServingConfig", + "file": "ServingConfigServiceClient.UpdateServingConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchema", + "shortName": "UpdateServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSchemaRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 61, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async", - "title": "CreateSchemaRequestObjectAsync", - "description": "Snippet for CreateSchemaAsync", - "file": "SchemaServiceClient.CreateSchemaRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_async_flattened", + "title": "UpdateServingConfigAsync", + "description": "Snippet for UpdateServingConfigAsync", + "file": "ServingConfigServiceClient.UpdateServingConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchemaAsync", + "shortName": "UpdateServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSchemaRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "name": "servingConfig" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 64, + "end": 44, "type": "FULL" }, { "start": 36, - "end": 62, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync_flattened", - "title": "CreateSchema", - "description": "Snippet for CreateSchema", - "file": "SchemaServiceClient.CreateSchemaSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync", + "title": "GetServingConfigRequestObject", + "description": "Snippet for GetServingConfig", + "file": "ServingConfigServiceClient.GetServingConfigRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchema", + "shortName": "GetServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfig", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", - "name": "schema" - }, - { - "type": "System.String", - "name": "schemaId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 58, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async_flattened", - "title": "CreateSchemaAsync", - "description": "Snippet for CreateSchemaAsync", - "file": "SchemaServiceClient.CreateSchemaAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async", + "title": "GetServingConfigRequestObjectAsync", + "description": "Snippet for GetServingConfigAsync", + "file": "ServingConfigServiceClient.GetServingConfigRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchemaAsync", + "shortName": "GetServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfigAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", - "name": "schema" - }, - { - "type": "System.String", - "name": "schemaId" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 59, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync_flattened_resourceNames", - "title": "CreateSchemaResourceNames", - "description": "Snippet for CreateSchema", - "file": "SchemaServiceClient.CreateSchemaResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync_flattened", + "title": "GetServingConfig", + "description": "Snippet for GetServingConfig", + "file": "ServingConfigServiceClient.GetServingConfigSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchema", + "shortName": "GetServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfig", "parameters": [ - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", - "name": "schema" - }, { "type": "System.String", - "name": "schemaId" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -16996,55 +25603,47 @@ "segments": [ { "start": 20, - "end": 60, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 58, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async_flattened_resourceNames", - "title": "CreateSchemaResourceNamesAsync", - "description": "Snippet for CreateSchemaAsync", - "file": "SchemaServiceClient.CreateSchemaResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async_flattened", + "title": "GetServingConfigAsync", + "description": "Snippet for GetServingConfigAsync", + "file": "ServingConfigServiceClient.GetServingConfigAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.CreateSchemaAsync", + "shortName": "GetServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfigAsync", "async": true, "parameters": [ - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Schema", - "name": "schema" - }, { "type": "System.String", - "name": "schemaId" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17052,125 +25651,123 @@ "segments": [ { "start": 20, - "end": 61, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 59, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_sync", - "title": "UpdateSchemaRequestObject", - "description": "Snippet for UpdateSchema", - "file": "SchemaServiceClient.UpdateSchemaRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync_flattened_resourceNames", + "title": "GetServingConfigResourceNames", + "description": "Snippet for GetServingConfig", + "file": "ServingConfigServiceClient.GetServingConfigResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.UpdateSchema", + "shortName": "GetServingConfig", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfig", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSchemaRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 60, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_async", - "title": "UpdateSchemaRequestObjectAsync", - "description": "Snippet for UpdateSchemaAsync", - "file": "SchemaServiceClient.UpdateSchemaRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async_flattened_resourceNames", + "title": "GetServingConfigResourceNamesAsync", + "description": "Snippet for GetServingConfigAsync", + "file": "ServingConfigServiceClient.GetServingConfigResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.UpdateSchemaAsync", + "shortName": "GetServingConfigAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfigAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSchemaRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 61, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync", - "title": "DeleteSchemaRequestObject", - "description": "Snippet for DeleteSchema", - "file": "SchemaServiceClient.DeleteSchemaRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync", + "title": "ListServingConfigsRequestObject", + "description": "Snippet for ListServingConfigs", + "file": "ServingConfigServiceClient.ListServingConfigsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSchemaRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest", "name": "request" }, { @@ -17178,17 +25775,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17197,29 +25794,29 @@ "segments": [ { "start": 20, - "end": 62, + "end": 78, "type": "FULL" }, { "start": 36, - "end": 60, + "end": 76, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async", - "title": "DeleteSchemaRequestObjectAsync", - "description": "Snippet for DeleteSchemaAsync", - "file": "SchemaServiceClient.DeleteSchemaRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async", + "title": "ListServingConfigsRequestObjectAsync", + "description": "Snippet for ListServingConfigsAsync", + "file": "ServingConfigServiceClient.ListServingConfigsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchemaAsync", + "shortName": "ListServingConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSchemaRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest", "name": "request" }, { @@ -17227,17 +25824,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17246,46 +25843,54 @@ "segments": [ { "start": 20, - "end": 63, + "end": 79, "type": "FULL" }, { "start": 37, - "end": 61, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync_flattened", - "title": "DeleteSchema", - "description": "Snippet for DeleteSchema", - "file": "SchemaServiceClient.DeleteSchemaSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync_flattened", + "title": "ListServingConfigs", + "description": "Snippet for ListServingConfigs", + "file": "ServingConfigServiceClient.ListServingConfigsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17293,47 +25898,55 @@ "segments": [ { "start": 20, - "end": 59, + "end": 75, "type": "FULL" }, { "start": 36, - "end": 57, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async_flattened", - "title": "DeleteSchemaAsync", - "description": "Snippet for DeleteSchemaAsync", - "file": "SchemaServiceClient.DeleteSchemaAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async_flattened", + "title": "ListServingConfigsAsync", + "description": "Snippet for ListServingConfigsAsync", + "file": "ServingConfigServiceClient.ListServingConfigsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchemaAsync", + "shortName": "ListServingConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17341,46 +25954,54 @@ "segments": [ { "start": 20, - "end": 60, + "end": 76, "type": "FULL" }, { "start": 37, - "end": 58, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync_flattened_resourceNames", - "title": "DeleteSchemaResourceNames", - "description": "Snippet for DeleteSchema", - "file": "SchemaServiceClient.DeleteSchemaResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync_flattened_resourceNames1", + "title": "ListServingConfigsResourceNames1", + "description": "Snippet for ListServingConfigs", + "file": "ServingConfigServiceClient.ListServingConfigsResourceNames1Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSchema", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17388,47 +26009,55 @@ "segments": [ { "start": 20, - "end": 59, + "end": 75, "type": "FULL" }, { "start": 36, - "end": 57, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async_flattened_resourceNames", - "title": "DeleteSchemaResourceNamesAsync", - "description": "Snippet for DeleteSchemaAsync", - "file": "SchemaServiceClient.DeleteSchemaResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async_flattened_resourceNames1", + "title": "ListServingConfigsResourceNames1Async", + "description": "Snippet for ListServingConfigsAsync", + "file": "ServingConfigServiceClient.ListServingConfigsResourceNames1AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSchemaAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient.DeleteSchemaAsync", + "shortName": "ListServingConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SchemaServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SchemaServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, @@ -17436,125 +26065,139 @@ "segments": [ { "start": 20, - "end": 60, + "end": 76, "type": "FULL" }, { "start": 37, - "end": 58, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_sync", - "title": "SearchRequestObject", - "description": "Snippet for Search", - "file": "SearchServiceClient.SearchRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync_flattened_resourceNames2", + "title": "ListServingConfigsResourceNames2", + "description": "Snippet for ListServingConfigs", + "file": "ServingConfigServiceClient.ListServingConfigsResourceNames2Snippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "Search", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.Search", + "shortName": "ListServingConfigs", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 115, + "end": 75, "type": "FULL" }, { - "start": 37, - "end": 113, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_async", - "title": "SearchRequestObjectAsync", - "description": "Snippet for SearchAsync", - "file": "SearchServiceClient.SearchRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async_flattened_resourceNames2", + "title": "ListServingConfigsResourceNames2Async", + "description": "Snippet for ListServingConfigsAsync", + "file": "ServingConfigServiceClient.ListServingConfigsResourceNames2AsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "SearchAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.SearchAsync", + "shortName": "ListServingConfigsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" + "shortName": "ServingConfigServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" }, "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 116, + "end": 76, "type": "FULL" }, { - "start": 38, - "end": 114, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_sync", - "title": "SearchLiteRequestObject", - "description": "Snippet for SearchLite", - "file": "SearchServiceClient.SearchLiteRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync", + "title": "CreateSessionRequestObject", + "description": "Snippet for CreateSession", + "file": "SessionServiceClient.CreateSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "SearchLite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.SearchLite", + "shortName": "CreateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", "name": "request" }, { @@ -17562,17 +26205,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "SearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -17581,29 +26224,29 @@ "segments": [ { "start": 20, - "end": 115, + "end": 46, "type": "FULL" }, { - "start": 37, - "end": 113, + "start": 34, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_async", - "title": "SearchLiteRequestObjectAsync", - "description": "Snippet for SearchLiteAsync", - "file": "SearchServiceClient.SearchLiteRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async", + "title": "CreateSessionRequestObjectAsync", + "description": "Snippet for CreateSessionAsync", + "file": "SessionServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "SearchLiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient.SearchLiteAsync", + "shortName": "CreateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", "name": "request" }, { @@ -17611,17 +26254,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SearchServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -17630,222 +26273,234 @@ "segments": [ { "start": 20, - "end": 116, + "end": 47, "type": "FULL" }, { - "start": 38, - "end": 114, + "start": 35, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_sync", - "title": "TrainCustomModelRequestObject", - "description": "Snippet for TrainCustomModel", - "file": "SearchTuningServiceClient.TrainCustomModelRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync_flattened", + "title": "CreateSession", + "description": "Snippet for CreateSession", + "file": "SessionServiceClient.CreateSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TrainCustomModel", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.TrainCustomModel", + "shortName": "CreateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 65, + "end": 42, "type": "FULL" }, { - "start": 35, - "end": 63, + "start": 34, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_async", - "title": "TrainCustomModelRequestObjectAsync", - "description": "Snippet for TrainCustomModelAsync", - "file": "SearchTuningServiceClient.TrainCustomModelRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async_flattened", + "title": "CreateSessionAsync", + "description": "Snippet for CreateSessionAsync", + "file": "SessionServiceClient.CreateSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "TrainCustomModelAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.TrainCustomModelAsync", + "shortName": "CreateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TrainCustomModelRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 66, + "end": 43, "type": "FULL" }, { - "start": 36, - "end": 64, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_sync", - "title": "ListCustomModelsRequestObject", - "description": "Snippet for ListCustomModels", - "file": "SearchTuningServiceClient.ListCustomModelsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync_flattened_resourceNames", + "title": "CreateSessionResourceNames", + "description": "Snippet for CreateSession", + "file": "SessionServiceClient.CreateSessionResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListCustomModels", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.ListCustomModels", + "shortName": "CreateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListCustomModelsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListCustomModelsResponse", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 42, "type": "FULL" }, { "start": 34, - "end": 42, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_async", - "title": "ListCustomModelsRequestObjectAsync", - "description": "Snippet for ListCustomModelsAsync", - "file": "SearchTuningServiceClient.ListCustomModelsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async_flattened_resourceNames", + "title": "CreateSessionResourceNamesAsync", + "description": "Snippet for CreateSessionAsync", + "file": "SessionServiceClient.CreateSessionResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListCustomModelsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient.ListCustomModelsAsync", + "shortName": "CreateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListCustomModelsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SearchTuningServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "UpdateServingConfigRequestObject", - "description": "Snippet for UpdateServingConfig", - "file": "ServingConfigServiceClient.UpdateServingConfigRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync", + "title": "DeleteSessionRequestObject", + "description": "Snippet for DeleteSession", + "file": "SessionServiceClient.DeleteSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateServingConfig", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfig", + "shortName": "DeleteSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", "name": "request" }, { @@ -17853,17 +26508,16 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -17872,29 +26526,29 @@ "segments": [ { "start": 20, - "end": 46, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_async", - "title": "UpdateServingConfigRequestObjectAsync", - "description": "Snippet for UpdateServingConfigAsync", - "file": "ServingConfigServiceClient.UpdateServingConfigRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async", + "title": "DeleteSessionRequestObjectAsync", + "description": "Snippet for DeleteSessionAsync", + "file": "SessionServiceClient.DeleteSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateServingConfigAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfigAsync", + "shortName": "DeleteSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", "name": "request" }, { @@ -17902,17 +26556,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -17921,50 +26575,45 @@ "segments": [ { "start": 20, - "end": 47, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 45, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_sync_flattened", - "title": "UpdateServingConfig", - "description": "Snippet for UpdateServingConfig", - "file": "ServingConfigServiceClient.UpdateServingConfigSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync_flattened", + "title": "DeleteSession", + "description": "Snippet for DeleteSession", + "file": "SessionServiceClient.DeleteSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateServingConfig", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfig", + "shortName": "DeleteSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", - "name": "servingConfig" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -17972,51 +26621,47 @@ "segments": [ { "start": 20, - "end": 43, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_async_flattened", - "title": "UpdateServingConfigAsync", - "description": "Snippet for UpdateServingConfigAsync", - "file": "ServingConfigServiceClient.UpdateServingConfigAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async_flattened", + "title": "DeleteSessionAsync", + "description": "Snippet for DeleteSessionAsync", + "file": "SessionServiceClient.DeleteSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateServingConfigAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.UpdateServingConfigAsync", + "shortName": "DeleteSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", - "name": "servingConfig" - }, - { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18024,238 +26669,241 @@ "segments": [ { "start": 20, - "end": 44, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 42, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync", - "title": "GetServingConfigRequestObject", - "description": "Snippet for GetServingConfig", - "file": "ServingConfigServiceClient.GetServingConfigRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync_flattened_resourceNames", + "title": "DeleteSessionResourceNames", + "description": "Snippet for DeleteSession", + "file": "SessionServiceClient.DeleteSessionResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetServingConfig", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfig", + "shortName": "DeleteSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 42, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async", - "title": "GetServingConfigRequestObjectAsync", - "description": "Snippet for GetServingConfigAsync", - "file": "ServingConfigServiceClient.GetServingConfigRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async_flattened_resourceNames", + "title": "DeleteSessionResourceNamesAsync", + "description": "Snippet for DeleteSessionAsync", + "file": "SessionServiceClient.DeleteSessionResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetServingConfigAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfigAsync", + "shortName": "DeleteSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync_flattened", - "title": "GetServingConfig", - "description": "Snippet for GetServingConfig", - "file": "ServingConfigServiceClient.GetServingConfigSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_sync", + "title": "UpdateSessionRequestObject", + "description": "Snippet for UpdateSession", + "file": "SessionServiceClient.UpdateSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetServingConfig", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfig", + "shortName": "UpdateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSession", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 46, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async_flattened", - "title": "GetServingConfigAsync", - "description": "Snippet for GetServingConfigAsync", - "file": "ServingConfigServiceClient.GetServingConfigAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_async", + "title": "UpdateSessionRequestObjectAsync", + "description": "Snippet for UpdateSessionAsync", + "file": "SessionServiceClient.UpdateSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetServingConfigAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfigAsync", + "shortName": "UpdateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSessionAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 47, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync_flattened_resourceNames", - "title": "GetServingConfigResourceNames", - "description": "Snippet for GetServingConfig", - "file": "ServingConfigServiceClient.GetServingConfigResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_sync_flattened", + "title": "UpdateSession", + "description": "Snippet for UpdateSession", + "file": "SessionServiceClient.UpdateSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetServingConfig", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfig", + "shortName": "UpdateSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18263,47 +26911,51 @@ "segments": [ { "start": 20, - "end": 41, + "end": 43, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async_flattened_resourceNames", - "title": "GetServingConfigResourceNamesAsync", - "description": "Snippet for GetServingConfigAsync", - "file": "ServingConfigServiceClient.GetServingConfigResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_async_flattened", + "title": "UpdateSessionAsync", + "description": "Snippet for UpdateSessionAsync", + "file": "SessionServiceClient.UpdateSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetServingConfigAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.GetServingConfigAsync", + "shortName": "UpdateSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "name": "session" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18311,28 +26963,28 @@ "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync", - "title": "ListServingConfigsRequestObject", - "description": "Snippet for ListServingConfigs", - "file": "ServingConfigServiceClient.ListServingConfigsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync", + "title": "GetSessionRequestObject", + "description": "Snippet for GetSession", + "file": "SessionServiceClient.GetSessionRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigs", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", + "shortName": "GetSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", "name": "request" }, { @@ -18340,17 +26992,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18359,29 +27011,29 @@ "segments": [ { "start": 20, - "end": 78, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 34, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async", - "title": "ListServingConfigsRequestObjectAsync", - "description": "Snippet for ListServingConfigsAsync", - "file": "ServingConfigServiceClient.ListServingConfigsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async", + "title": "GetSessionRequestObjectAsync", + "description": "Snippet for GetSessionAsync", + "file": "SessionServiceClient.GetSessionRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", + "shortName": "GetSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", "name": "request" }, { @@ -18389,17 +27041,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18408,54 +27060,46 @@ "segments": [ { "start": 20, - "end": 79, + "end": 46, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync_flattened", - "title": "ListServingConfigs", - "description": "Snippet for ListServingConfigs", - "file": "ServingConfigServiceClient.ListServingConfigsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync_flattened", + "title": "GetSession", + "description": "Snippet for GetSession", + "file": "SessionServiceClient.GetSessionSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigs", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", + "shortName": "GetSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSession", "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18463,55 +27107,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async_flattened", - "title": "ListServingConfigsAsync", - "description": "Snippet for ListServingConfigsAsync", - "file": "ServingConfigServiceClient.ListServingConfigsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async_flattened", + "title": "GetSessionAsync", + "description": "Snippet for GetSessionAsync", + "file": "SessionServiceClient.GetSessionAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", + "shortName": "GetSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSessionAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18519,54 +27155,46 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync_flattened_resourceNames1", - "title": "ListServingConfigsResourceNames1", - "description": "Snippet for ListServingConfigs", - "file": "ServingConfigServiceClient.ListServingConfigsResourceNames1Snippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync_flattened_resourceNames", + "title": "GetSessionResourceNames", + "description": "Snippet for GetSession", + "file": "SessionServiceClient.GetSessionResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigs", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", + "shortName": "GetSession", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSession", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18574,55 +27202,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async_flattened_resourceNames1", - "title": "ListServingConfigsResourceNames1Async", - "description": "Snippet for ListServingConfigsAsync", - "file": "ServingConfigServiceClient.ListServingConfigsResourceNames1AsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async_flattened_resourceNames", + "title": "GetSessionResourceNamesAsync", + "description": "Snippet for GetSessionAsync", + "file": "SessionServiceClient.GetSessionResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", + "shortName": "GetSessionAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSessionAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EngineName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, @@ -18630,255 +27250,259 @@ "segments": [ { "start": 20, - "end": 76, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync_flattened_resourceNames2", - "title": "ListServingConfigsResourceNames2", - "description": "Snippet for ListServingConfigs", - "file": "ServingConfigServiceClient.ListServingConfigsResourceNames2Snippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync", + "title": "ListSessionsRequestObject", + "description": "Snippet for ListSessions", + "file": "SessionServiceClient.ListSessionsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigs", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigs", + "shortName": "ListSessions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessions", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 80, "type": "FULL" }, { "start": 36, - "end": 73, + "end": 78, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async_flattened_resourceNames2", - "title": "ListServingConfigsResourceNames2Async", - "description": "Snippet for ListServingConfigsAsync", - "file": "ServingConfigServiceClient.ListServingConfigsResourceNames2AsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async", + "title": "ListSessionsRequestObjectAsync", + "description": "Snippet for ListSessionsAsync", + "file": "SessionServiceClient.ListSessionsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListServingConfigsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient.ListServingConfigsAsync", + "shortName": "ListSessionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessionsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceClient" + "shortName": "SessionServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 81, "type": "FULL" }, { "start": 37, - "end": 74, + "end": 79, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync", - "title": "CreateSessionRequestObject", - "description": "Snippet for CreateSession", - "file": "SessionServiceClient.CreateSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync_flattened", + "title": "ListSessions", + "description": "Snippet for ListSessions", + "file": "SessionServiceClient.ListSessionsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSession", + "shortName": "ListSessions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessions", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "SessionServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", "service": { "shortName": "SessionService", "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 43, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async", - "title": "CreateSessionRequestObjectAsync", - "description": "Snippet for CreateSessionAsync", - "file": "SessionServiceClient.CreateSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async_flattened", + "title": "ListSessionsAsync", + "description": "Snippet for ListSessionsAsync", + "file": "SessionServiceClient.ListSessionsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSessionAsync", + "shortName": "ListSessionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessionsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { "shortName": "SessionServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", "service": { "shortName": "SessionService", "fullName": "google.cloud.discoveryengine.v1beta.SessionService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync_flattened", - "title": "CreateSession", - "description": "Snippet for CreateSession", - "file": "SessionServiceClient.CreateSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync_flattened_resourceNames", + "title": "ListSessionsResourceNames", + "description": "Snippet for ListSessions", + "file": "SessionServiceClient.ListSessionsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSession", + "shortName": "ListSessions", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessions", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "SessionServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", "service": { "shortName": "SessionService", "fullName": "google.cloud.discoveryengine.v1beta.SessionService" @@ -18889,48 +27513,52 @@ "segments": [ { "start": 20, - "end": 42, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 40, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async_flattened", - "title": "CreateSessionAsync", - "description": "Snippet for CreateSessionAsync", - "file": "SessionServiceClient.CreateSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async_flattened_resourceNames", + "title": "ListSessionsResourceNamesAsync", + "description": "Snippet for ListSessionsAsync", + "file": "SessionServiceClient.ListSessionsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSessionAsync", + "shortName": "ListSessionsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessionsAsync", "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { "shortName": "SessionServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", "service": { "shortName": "SessionService", "fullName": "google.cloud.discoveryengine.v1beta.SessionService" @@ -18941,227 +27569,220 @@ "segments": [ { "start": 20, - "end": 43, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 41, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync_flattened_resourceNames", - "title": "CreateSessionResourceNames", - "description": "Snippet for CreateSession", - "file": "SessionServiceClient.CreateSessionResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", + "title": "GetSiteSearchEngineRequestObject", + "description": "Snippet for GetSiteSearchEngine", + "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSession", + "shortName": "GetSiteSearchEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSiteSearchEngineRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngine", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 40, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async_flattened_resourceNames", - "title": "CreateSessionResourceNamesAsync", - "description": "Snippet for CreateSessionAsync", - "file": "SessionServiceClient.CreateSessionResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async", + "title": "GetSiteSearchEngineRequestObjectAsync", + "description": "Snippet for GetSiteSearchEngineAsync", + "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.CreateSessionAsync", + "shortName": "GetSiteSearchEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSiteSearchEngineRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 43, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync", - "title": "DeleteSessionRequestObject", - "description": "Snippet for DeleteSession", - "file": "SessionServiceClient.DeleteSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync_flattened", + "title": "GetSiteSearchEngine", + "description": "Snippet for GetSiteSearchEngine", + "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSession", + "shortName": "GetSiteSearchEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngine", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngine", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 42, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async", - "title": "DeleteSessionRequestObjectAsync", - "description": "Snippet for DeleteSessionAsync", - "file": "SessionServiceClient.DeleteSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async_flattened", + "title": "GetSiteSearchEngineAsync", + "description": "Snippet for GetSiteSearchEngineAsync", + "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSessionAsync", + "shortName": "GetSiteSearchEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngineAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 43, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync_flattened", - "title": "DeleteSession", - "description": "Snippet for DeleteSession", - "file": "SessionServiceClient.DeleteSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync_flattened_resourceNames", + "title": "GetSiteSearchEngineResourceNames", + "description": "Snippet for GetSiteSearchEngine", + "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSession", + "shortName": "GetSiteSearchEngine", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngine", "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", "name": "name" }, { @@ -19169,16 +27790,17 @@ "name": "callSettings" } ], + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngine", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19197,18 +27819,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async_flattened", - "title": "DeleteSessionAsync", - "description": "Snippet for DeleteSessionAsync", - "file": "SessionServiceClient.DeleteSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async_flattened_resourceNames", + "title": "GetSiteSearchEngineResourceNamesAsync", + "description": "Snippet for GetSiteSearchEngineAsync", + "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSessionAsync", + "shortName": "GetSiteSearchEngineAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngineAsync", "async": true, "parameters": [ { - "type": "System.String", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", "name": "name" }, { @@ -19216,17 +27838,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19245,230 +27867,239 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync_flattened_resourceNames", - "title": "DeleteSessionResourceNames", - "description": "Snippet for DeleteSession", - "file": "SessionServiceClient.DeleteSessionResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync", + "title": "CreateTargetSiteRequestObject", + "description": "Snippet for CreateTargetSite", + "file": "SiteSearchEngineServiceClient.CreateTargetSiteRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSession", + "shortName": "CreateTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateTargetSiteRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 62, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async_flattened_resourceNames", - "title": "DeleteSessionResourceNamesAsync", - "description": "Snippet for DeleteSessionAsync", - "file": "SessionServiceClient.DeleteSessionResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async", + "title": "CreateTargetSiteRequestObjectAsync", + "description": "Snippet for CreateTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.CreateTargetSiteRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.DeleteSessionAsync", + "shortName": "CreateTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateTargetSiteRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 63, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_sync", - "title": "UpdateSessionRequestObject", - "description": "Snippet for UpdateSession", - "file": "SessionServiceClient.UpdateSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync_flattened", + "title": "CreateTargetSite", + "description": "Snippet for CreateTargetSite", + "file": "SiteSearchEngineServiceClient.CreateTargetSiteSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSession", + "shortName": "CreateTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "name": "targetSite" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 59, "type": "FULL" }, { "start": 35, - "end": 44, + "end": 57, "type": "SHORT" } ] }, - { - "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_async", - "title": "UpdateSessionRequestObjectAsync", - "description": "Snippet for UpdateSessionAsync", - "file": "SessionServiceClient.UpdateSessionRequestObjectAsyncSnippet.g.cs", + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async_flattened", + "title": "CreateTargetSiteAsync", + "description": "Snippet for CreateTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.CreateTargetSiteAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSessionAsync", + "shortName": "CreateTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "name": "targetSite" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 60, "type": "FULL" }, { "start": 36, - "end": 45, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_sync_flattened", - "title": "UpdateSession", - "description": "Snippet for UpdateSession", - "file": "SessionServiceClient.UpdateSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync_flattened_resourceNames", + "title": "CreateTargetSiteResourceNames", + "description": "Snippet for CreateTargetSite", + "file": "SiteSearchEngineServiceClient.CreateTargetSiteResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSession", + "shortName": "CreateTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "name": "parent" }, { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "name": "targetSite" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19476,51 +28107,51 @@ "segments": [ { "start": 20, - "end": 43, + "end": 59, "type": "FULL" }, { "start": 35, - "end": 41, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_async_flattened", - "title": "UpdateSessionAsync", - "description": "Snippet for UpdateSessionAsync", - "file": "SessionServiceClient.UpdateSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async_flattened_resourceNames", + "title": "CreateTargetSiteResourceNamesAsync", + "description": "Snippet for CreateTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.CreateTargetSiteResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.UpdateSessionAsync", + "shortName": "CreateTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Session", - "name": "session" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "name": "parent" }, { - "type": "Google.Protobuf.WellKnownTypes.FieldMask", - "name": "updateMask" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "name": "targetSite" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19528,28 +28159,28 @@ "segments": [ { "start": 20, - "end": 44, + "end": 60, "type": "FULL" }, { "start": 36, - "end": 42, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync", - "title": "GetSessionRequestObject", - "description": "Snippet for GetSession", - "file": "SessionServiceClient.GetSessionRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", + "title": "BatchCreateTargetSitesRequestObject", + "description": "Snippet for BatchCreateTargetSites", + "file": "SiteSearchEngineServiceClient.BatchCreateTargetSitesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSession", + "shortName": "BatchCreateTargetSites", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchCreateTargetSites", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest", "name": "request" }, { @@ -19557,17 +28188,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19576,29 +28207,29 @@ "segments": [ { "start": 20, - "end": 45, + "end": 65, "type": "FULL" }, { - "start": 34, - "end": 43, + "start": 35, + "end": 63, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async", - "title": "GetSessionRequestObjectAsync", - "description": "Snippet for GetSessionAsync", - "file": "SessionServiceClient.GetSessionRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_async", + "title": "BatchCreateTargetSitesRequestObjectAsync", + "description": "Snippet for BatchCreateTargetSitesAsync", + "file": "SiteSearchEngineServiceClient.BatchCreateTargetSitesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSessionAsync", + "shortName": "BatchCreateTargetSitesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchCreateTargetSitesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest", "name": "request" }, { @@ -19606,17 +28237,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19625,123 +28256,125 @@ "segments": [ { "start": 20, - "end": 46, + "end": 66, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 36, + "end": 64, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync_flattened", - "title": "GetSession", - "description": "Snippet for GetSession", - "file": "SessionServiceClient.GetSessionSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync", + "title": "GetTargetSiteRequestObject", + "description": "Snippet for GetTargetSite", + "file": "SiteSearchEngineServiceClient.GetTargetSiteRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSession", + "shortName": "GetTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSite", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetTargetSiteRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 44, "type": "FULL" }, { "start": 34, - "end": 39, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async_flattened", - "title": "GetSessionAsync", - "description": "Snippet for GetSessionAsync", - "file": "SessionServiceClient.GetSessionAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async", + "title": "GetTargetSiteRequestObjectAsync", + "description": "Snippet for GetTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.GetTargetSiteRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSessionAsync", + "shortName": "GetTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSiteAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetTargetSiteRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 45, "type": "FULL" }, { "start": 35, - "end": 40, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync_flattened_resourceNames", - "title": "GetSessionResourceNames", - "description": "Snippet for GetSession", - "file": "SessionServiceClient.GetSessionResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync_flattened", + "title": "GetTargetSite", + "description": "Snippet for GetTargetSite", + "file": "SiteSearchEngineServiceClient.GetTargetSiteSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSession", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSession", + "shortName": "GetTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "type": "System.String", "name": "name" }, { @@ -19749,17 +28382,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.Session", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19778,18 +28411,18 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async_flattened_resourceNames", - "title": "GetSessionResourceNamesAsync", - "description": "Snippet for GetSessionAsync", - "file": "SessionServiceClient.GetSessionResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async_flattened", + "title": "GetTargetSiteAsync", + "description": "Snippet for GetTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.GetTargetSiteAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSessionAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.GetSessionAsync", + "shortName": "GetTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SessionName", + "type": "System.String", "name": "name" }, { @@ -19797,17 +28430,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -19826,251 +28459,227 @@ ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync", - "title": "ListSessionsRequestObject", - "description": "Snippet for ListSessions", - "file": "SessionServiceClient.ListSessionsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync_flattened_resourceNames", + "title": "GetTargetSiteResourceNames", + "description": "Snippet for GetTargetSite", + "file": "SiteSearchEngineServiceClient.GetTargetSiteResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessions", + "shortName": "GetTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 80, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 78, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async", - "title": "ListSessionsRequestObjectAsync", - "description": "Snippet for ListSessionsAsync", - "file": "SessionServiceClient.ListSessionsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async_flattened_resourceNames", + "title": "GetTargetSiteResourceNamesAsync", + "description": "Snippet for GetTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.GetTargetSiteResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessionsAsync", + "shortName": "GetTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListSessionsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 81, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 79, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync_flattened", - "title": "ListSessions", - "description": "Snippet for ListSessions", - "file": "SessionServiceClient.ListSessionsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_sync", + "title": "UpdateTargetSiteRequestObject", + "description": "Snippet for UpdateTargetSite", + "file": "SiteSearchEngineServiceClient.UpdateTargetSiteRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessions", + "shortName": "UpdateTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSite", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateTargetSiteRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 61, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async_flattened", - "title": "ListSessionsAsync", - "description": "Snippet for ListSessionsAsync", - "file": "SessionServiceClient.ListSessionsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_async", + "title": "UpdateTargetSiteRequestObjectAsync", + "description": "Snippet for UpdateTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.UpdateTargetSiteRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessionsAsync", + "shortName": "UpdateTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSiteAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateTargetSiteRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 62, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync_flattened_resourceNames", - "title": "ListSessionsResourceNames", - "description": "Snippet for ListSessions", - "file": "SessionServiceClient.ListSessionsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_sync_flattened", + "title": "UpdateTargetSite", + "description": "Snippet for UpdateTargetSite", + "file": "SiteSearchEngineServiceClient.UpdateTargetSiteSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessions", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessions", + "shortName": "UpdateTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "name": "targetSite" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -20078,55 +28687,47 @@ "segments": [ { "start": 20, - "end": 75, + "end": 58, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 56, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async_flattened_resourceNames", - "title": "ListSessionsResourceNamesAsync", - "description": "Snippet for ListSessionsAsync", - "file": "SessionServiceClient.ListSessionsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_async_flattened", + "title": "UpdateTargetSiteAsync", + "description": "Snippet for UpdateTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.UpdateTargetSiteAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListSessionsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient.ListSessionsAsync", + "shortName": "UpdateTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "name": "targetSite" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SessionServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SessionServiceClient" + "shortName": "SiteSearchEngineServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, @@ -20134,28 +28735,28 @@ "segments": [ { "start": 20, - "end": 76, + "end": 59, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", - "title": "GetSiteSearchEngineRequestObject", - "description": "Snippet for GetSiteSearchEngine", - "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync", + "title": "DeleteTargetSiteRequestObject", + "description": "Snippet for DeleteTargetSite", + "file": "SiteSearchEngineServiceClient.DeleteTargetSiteRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSiteSearchEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSiteSearchEngineRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteTargetSiteRequest", "name": "request" }, { @@ -20163,14 +28764,14 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngine", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20182,29 +28783,29 @@ "segments": [ { "start": 20, - "end": 44, + "end": 62, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async", - "title": "GetSiteSearchEngineRequestObjectAsync", - "description": "Snippet for GetSiteSearchEngineAsync", - "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async", + "title": "DeleteTargetSiteRequestObjectAsync", + "description": "Snippet for DeleteTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.DeleteTargetSiteRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSiteSearchEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngineAsync", + "shortName": "DeleteTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetSiteSearchEngineRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteTargetSiteRequest", "name": "request" }, { @@ -20212,14 +28813,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20231,25 +28832,25 @@ "segments": [ { "start": 20, - "end": 45, + "end": 63, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 37, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync_flattened", - "title": "GetSiteSearchEngine", - "description": "Snippet for GetSiteSearchEngine", - "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync_flattened", + "title": "DeleteTargetSite", + "description": "Snippet for DeleteTargetSite", + "file": "SiteSearchEngineServiceClient.DeleteTargetSiteSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSiteSearchEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSite", "parameters": [ { "type": "System.String", @@ -20260,14 +28861,14 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngine", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20278,25 +28879,25 @@ "segments": [ { "start": 20, - "end": 41, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async_flattened", - "title": "GetSiteSearchEngineAsync", - "description": "Snippet for GetSiteSearchEngineAsync", - "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async_flattened", + "title": "DeleteTargetSiteAsync", + "description": "Snippet for DeleteTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.DeleteTargetSiteAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSiteSearchEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngineAsync", + "shortName": "DeleteTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSiteAsync", "async": true, "parameters": [ { @@ -20308,14 +28909,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20326,28 +28927,28 @@ "segments": [ { "start": 20, - "end": 42, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync_flattened_resourceNames", - "title": "GetSiteSearchEngineResourceNames", - "description": "Snippet for GetSiteSearchEngine", - "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync_flattened_resourceNames", + "title": "DeleteTargetSiteResourceNames", + "description": "Snippet for DeleteTargetSite", + "file": "SiteSearchEngineServiceClient.DeleteTargetSiteResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSiteSearchEngine", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSite", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", "name": "name" }, { @@ -20355,14 +28956,14 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngine", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20373,29 +28974,29 @@ "segments": [ { "start": 20, - "end": 41, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async_flattened_resourceNames", - "title": "GetSiteSearchEngineResourceNamesAsync", - "description": "Snippet for GetSiteSearchEngineAsync", - "file": "SiteSearchEngineServiceClient.GetSiteSearchEngineResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async_flattened_resourceNames", + "title": "DeleteTargetSiteResourceNamesAsync", + "description": "Snippet for DeleteTargetSiteAsync", + "file": "SiteSearchEngineServiceClient.DeleteTargetSiteResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetSiteSearchEngineAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetSiteSearchEngineAsync", + "shortName": "DeleteTargetSiteAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSiteAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", "name": "name" }, { @@ -20403,14 +29004,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20421,28 +29022,28 @@ "segments": [ { "start": 20, - "end": 42, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync", - "title": "CreateTargetSiteRequestObject", - "description": "Snippet for CreateTargetSite", - "file": "SiteSearchEngineServiceClient.CreateTargetSiteRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync", + "title": "ListTargetSitesRequestObject", + "description": "Snippet for ListTargetSites", + "file": "SiteSearchEngineServiceClient.ListTargetSitesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSites", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateTargetSiteRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest", "name": "request" }, { @@ -20450,14 +29051,14 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20469,29 +29070,29 @@ "segments": [ { "start": 20, - "end": 62, + "end": 78, "type": "FULL" }, { - "start": 35, - "end": 60, + "start": 36, + "end": 76, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async", - "title": "CreateTargetSiteRequestObjectAsync", - "description": "Snippet for CreateTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.CreateTargetSiteRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async", + "title": "ListTargetSitesRequestObjectAsync", + "description": "Snippet for ListTargetSitesAsync", + "file": "SiteSearchEngineServiceClient.ListTargetSitesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSiteAsync", + "shortName": "ListTargetSitesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSitesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateTargetSiteRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest", "name": "request" }, { @@ -20499,14 +29100,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20518,47 +29119,51 @@ "segments": [ { "start": 20, - "end": 63, + "end": 79, "type": "FULL" }, { - "start": 36, - "end": 61, + "start": 37, + "end": 77, "type": "SHORT" } ] - }, - { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync_flattened", - "title": "CreateTargetSite", - "description": "Snippet for CreateTargetSite", - "file": "SiteSearchEngineServiceClient.CreateTargetSiteSnippet.g.cs", + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync_flattened", + "title": "ListTargetSites", + "description": "Snippet for ListTargetSites", + "file": "SiteSearchEngineServiceClient.ListTargetSitesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSites", "parameters": [ { "type": "System.String", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", - "name": "targetSite" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20569,25 +29174,25 @@ "segments": [ { "start": 20, - "end": 59, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 57, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async_flattened", - "title": "CreateTargetSiteAsync", - "description": "Snippet for CreateTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.CreateTargetSiteAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async_flattened", + "title": "ListTargetSitesAsync", + "description": "Snippet for ListTargetSitesAsync", + "file": "SiteSearchEngineServiceClient.ListTargetSitesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSiteAsync", + "shortName": "ListTargetSitesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSitesAsync", "async": true, "parameters": [ { @@ -20595,22 +29200,26 @@ "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", - "name": "targetSite" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20621,47 +29230,51 @@ "segments": [ { "start": 20, - "end": 60, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 58, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync_flattened_resourceNames", - "title": "CreateTargetSiteResourceNames", - "description": "Snippet for CreateTargetSite", - "file": "SiteSearchEngineServiceClient.CreateTargetSiteResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync_flattened_resourceNames", + "title": "ListTargetSitesResourceNames", + "description": "Snippet for ListTargetSites", + "file": "SiteSearchEngineServiceClient.ListTargetSitesResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSites", "parameters": [ { "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", - "name": "targetSite" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20672,25 +29285,25 @@ "segments": [ { "start": 20, - "end": 59, + "end": 75, "type": "FULL" }, { - "start": 35, - "end": 57, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async_flattened_resourceNames", - "title": "CreateTargetSiteResourceNamesAsync", - "description": "Snippet for CreateTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.CreateTargetSiteResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async_flattened_resourceNames", + "title": "ListTargetSitesResourceNamesAsync", + "description": "Snippet for ListTargetSitesAsync", + "file": "SiteSearchEngineServiceClient.ListTargetSitesResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateTargetSiteAsync", + "shortName": "ListTargetSitesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSitesAsync", "async": true, "parameters": [ { @@ -20698,22 +29311,26 @@ "name": "parent" }, { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", - "name": "targetSite" + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20724,28 +29341,28 @@ "segments": [ { "start": 20, - "end": 60, + "end": 76, "type": "FULL" }, { - "start": 36, - "end": 58, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", - "title": "BatchCreateTargetSitesRequestObject", - "description": "Snippet for BatchCreateTargetSites", - "file": "SiteSearchEngineServiceClient.BatchCreateTargetSitesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync", + "title": "CreateSitemapRequestObject", + "description": "Snippet for CreateSitemap", + "file": "SiteSearchEngineServiceClient.CreateSitemapRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchCreateTargetSites", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchCreateTargetSites", + "shortName": "CreateSitemap", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemap", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSitemapRequest", "name": "request" }, { @@ -20753,14 +29370,14 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20772,29 +29389,29 @@ "segments": [ { "start": 20, - "end": 65, + "end": 62, "type": "FULL" }, { "start": 35, - "end": 63, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_async", - "title": "BatchCreateTargetSitesRequestObjectAsync", - "description": "Snippet for BatchCreateTargetSitesAsync", - "file": "SiteSearchEngineServiceClient.BatchCreateTargetSitesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async", + "title": "CreateSitemapRequestObjectAsync", + "description": "Snippet for CreateSitemapAsync", + "file": "SiteSearchEngineServiceClient.CreateSitemapRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchCreateTargetSitesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchCreateTargetSitesAsync", + "shortName": "CreateSitemapAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemapAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchCreateTargetSitesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSitemapRequest", "name": "request" }, { @@ -20802,14 +29419,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20821,140 +29438,150 @@ "segments": [ { "start": 20, - "end": 66, + "end": 63, "type": "FULL" }, { "start": 36, - "end": 64, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync", - "title": "GetTargetSiteRequestObject", - "description": "Snippet for GetTargetSite", - "file": "SiteSearchEngineServiceClient.GetTargetSiteRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync_flattened", + "title": "CreateSitemap", + "description": "Snippet for CreateSitemap", + "file": "SiteSearchEngineServiceClient.CreateSitemapSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSite", + "shortName": "CreateSitemap", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemap", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetTargetSiteRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", + "name": "sitemap" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 44, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 42, + "start": 35, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async", - "title": "GetTargetSiteRequestObjectAsync", - "description": "Snippet for GetTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.GetTargetSiteRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async_flattened", + "title": "CreateSitemapAsync", + "description": "Snippet for CreateSitemapAsync", + "file": "SiteSearchEngineServiceClient.CreateSitemapAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSiteAsync", + "shortName": "CreateSitemapAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemapAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetTargetSiteRequest", - "name": "request" + "type": "System.String", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", + "name": "sitemap" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 45, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 43, + "start": 36, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync_flattened", - "title": "GetTargetSite", - "description": "Snippet for GetTargetSite", - "file": "SiteSearchEngineServiceClient.GetTargetSiteSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync_flattened_resourceNames", + "title": "CreateSitemapResourceNames", + "description": "Snippet for CreateSitemap", + "file": "SiteSearchEngineServiceClient.CreateSitemapResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSite", + "shortName": "CreateSitemap", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemap", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", + "name": "sitemap" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -20965,44 +29592,48 @@ "segments": [ { "start": 20, - "end": 41, + "end": 59, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 35, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async_flattened", - "title": "GetTargetSiteAsync", - "description": "Snippet for GetTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.GetTargetSiteAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async_flattened_resourceNames", + "title": "CreateSitemapResourceNamesAsync", + "description": "Snippet for CreateSitemapAsync", + "file": "SiteSearchEngineServiceClient.CreateSitemapResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSiteAsync", + "shortName": "CreateSitemapAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemapAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "name": "parent" + }, + { + "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", + "name": "sitemap" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21013,235 +29644,235 @@ "segments": [ { "start": 20, - "end": 42, + "end": 60, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 36, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync_flattened_resourceNames", - "title": "GetTargetSiteResourceNames", - "description": "Snippet for GetTargetSite", - "file": "SiteSearchEngineServiceClient.GetTargetSiteResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync", + "title": "DeleteSitemapRequestObject", + "description": "Snippet for DeleteSitemap", + "file": "SiteSearchEngineServiceClient.DeleteSitemapRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSite", + "shortName": "DeleteSitemap", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemap", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSitemapRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 41, + "end": 62, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async_flattened_resourceNames", - "title": "GetTargetSiteResourceNamesAsync", - "description": "Snippet for GetTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.GetTargetSiteResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async", + "title": "DeleteSitemapRequestObjectAsync", + "description": "Snippet for DeleteSitemapAsync", + "file": "SiteSearchEngineServiceClient.DeleteSitemapRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "GetTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.GetTargetSiteAsync", + "shortName": "DeleteSitemapAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemapAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSitemapRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 42, + "end": 63, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_sync", - "title": "UpdateTargetSiteRequestObject", - "description": "Snippet for UpdateTargetSite", - "file": "SiteSearchEngineServiceClient.UpdateTargetSiteRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync_flattened", + "title": "DeleteSitemap", + "description": "Snippet for DeleteSitemap", + "file": "SiteSearchEngineServiceClient.DeleteSitemapSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSite", + "shortName": "DeleteSitemap", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemap", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateTargetSiteRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 59, "type": "FULL" }, { - "start": 35, - "end": 59, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_async", - "title": "UpdateTargetSiteRequestObjectAsync", - "description": "Snippet for UpdateTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.UpdateTargetSiteRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async_flattened", + "title": "DeleteSitemapAsync", + "description": "Snippet for DeleteSitemapAsync", + "file": "SiteSearchEngineServiceClient.DeleteSitemapAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSiteAsync", + "shortName": "DeleteSitemapAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemapAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateTargetSiteRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 60, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_sync_flattened", - "title": "UpdateTargetSite", - "description": "Snippet for UpdateTargetSite", - "file": "SiteSearchEngineServiceClient.UpdateTargetSiteSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync_flattened_resourceNames", + "title": "DeleteSitemapResourceNames", + "description": "Snippet for DeleteSitemap", + "file": "SiteSearchEngineServiceClient.DeleteSitemapResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSite", + "shortName": "DeleteSitemap", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemap", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", - "name": "targetSite" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SitemapName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21252,44 +29883,44 @@ "segments": [ { "start": 20, - "end": 58, + "end": 59, "type": "FULL" }, { - "start": 35, - "end": 56, + "start": 36, + "end": 57, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_async_flattened", - "title": "UpdateTargetSiteAsync", - "description": "Snippet for UpdateTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.UpdateTargetSiteAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async_flattened_resourceNames", + "title": "DeleteSitemapResourceNamesAsync", + "description": "Snippet for DeleteSitemapAsync", + "file": "SiteSearchEngineServiceClient.DeleteSitemapResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "UpdateTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.UpdateTargetSiteAsync", + "shortName": "DeleteSitemapAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemapAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSite", - "name": "targetSite" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SitemapName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21300,28 +29931,28 @@ "segments": [ { "start": 20, - "end": 59, + "end": 60, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 37, + "end": 58, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync", - "title": "DeleteTargetSiteRequestObject", - "description": "Snippet for DeleteTargetSite", - "file": "SiteSearchEngineServiceClient.DeleteTargetSiteRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync", + "title": "FetchSitemapsRequestObject", + "description": "Snippet for FetchSitemaps", + "file": "SiteSearchEngineServiceClient.FetchSitemapsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemaps", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteTargetSiteRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsRequest", "name": "request" }, { @@ -21329,14 +29960,14 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsResponse", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21348,29 +29979,29 @@ "segments": [ { "start": 20, - "end": 62, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 34, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async", - "title": "DeleteTargetSiteRequestObjectAsync", - "description": "Snippet for DeleteTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.DeleteTargetSiteRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async", + "title": "FetchSitemapsRequestObjectAsync", + "description": "Snippet for FetchSitemapsAsync", + "file": "SiteSearchEngineServiceClient.FetchSitemapsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSiteAsync", + "shortName": "FetchSitemapsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemapsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteTargetSiteRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsRequest", "name": "request" }, { @@ -21378,14 +30009,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21397,43 +30028,43 @@ "segments": [ { "start": 20, - "end": 63, + "end": 46, "type": "FULL" }, { - "start": 37, - "end": 61, + "start": 35, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync_flattened", - "title": "DeleteTargetSite", - "description": "Snippet for DeleteTargetSite", - "file": "SiteSearchEngineServiceClient.DeleteTargetSiteSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync_flattened", + "title": "FetchSitemaps", + "description": "Snippet for FetchSitemaps", + "file": "SiteSearchEngineServiceClient.FetchSitemapsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemaps", "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsResponse", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21444,44 +30075,44 @@ "segments": [ { "start": 20, - "end": 59, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async_flattened", - "title": "DeleteTargetSiteAsync", - "description": "Snippet for DeleteTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.DeleteTargetSiteAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async_flattened", + "title": "FetchSitemapsAsync", + "description": "Snippet for FetchSitemapsAsync", + "file": "SiteSearchEngineServiceClient.FetchSitemapsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSiteAsync", + "shortName": "FetchSitemapsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemapsAsync", "async": true, "parameters": [ { "type": "System.String", - "name": "name" + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21492,43 +30123,43 @@ "segments": [ { "start": 20, - "end": 60, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync_flattened_resourceNames", - "title": "DeleteTargetSiteResourceNames", - "description": "Snippet for DeleteTargetSite", - "file": "SiteSearchEngineServiceClient.DeleteTargetSiteResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync_flattened_resourceNames", + "title": "FetchSitemapsResourceNames", + "description": "Snippet for FetchSitemaps", + "file": "SiteSearchEngineServiceClient.FetchSitemapsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteTargetSite", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemaps", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsResponse", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21539,44 +30170,44 @@ "segments": [ { "start": 20, - "end": 59, + "end": 41, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async_flattened_resourceNames", - "title": "DeleteTargetSiteResourceNamesAsync", - "description": "Snippet for DeleteTargetSiteAsync", - "file": "SiteSearchEngineServiceClient.DeleteTargetSiteResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async_flattened_resourceNames", + "title": "FetchSitemapsResourceNamesAsync", + "description": "Snippet for FetchSitemapsAsync", + "file": "SiteSearchEngineServiceClient.FetchSitemapsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteTargetSiteAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteTargetSiteAsync", + "shortName": "FetchSitemapsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemapsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.TargetSiteName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21587,28 +30218,28 @@ "segments": [ { "start": 20, - "end": 60, + "end": 42, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync", - "title": "ListTargetSitesRequestObject", - "description": "Snippet for ListTargetSites", - "file": "SiteSearchEngineServiceClient.ListTargetSitesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", + "title": "EnableAdvancedSiteSearchRequestObject", + "description": "Snippet for EnableAdvancedSiteSearch", + "file": "SiteSearchEngineServiceClient.EnableAdvancedSiteSearchRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListTargetSites", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSites", + "shortName": "EnableAdvancedSiteSearch", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.EnableAdvancedSiteSearch", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EnableAdvancedSiteSearchRequest", "name": "request" }, { @@ -21616,14 +30247,14 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21635,29 +30266,29 @@ "segments": [ { "start": 20, - "end": 78, + "end": 61, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 35, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async", - "title": "ListTargetSitesRequestObjectAsync", - "description": "Snippet for ListTargetSitesAsync", - "file": "SiteSearchEngineServiceClient.ListTargetSitesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", + "title": "EnableAdvancedSiteSearchRequestObjectAsync", + "description": "Snippet for EnableAdvancedSiteSearchAsync", + "file": "SiteSearchEngineServiceClient.EnableAdvancedSiteSearchRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListTargetSitesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSitesAsync", + "shortName": "EnableAdvancedSiteSearchAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.EnableAdvancedSiteSearchAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListTargetSitesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.EnableAdvancedSiteSearchRequest", "name": "request" }, { @@ -21665,14 +30296,14 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21684,250 +30315,222 @@ "segments": [ { "start": 20, - "end": 79, + "end": 62, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 36, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync_flattened", - "title": "ListTargetSites", - "description": "Snippet for ListTargetSites", - "file": "SiteSearchEngineServiceClient.ListTargetSitesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", + "title": "DisableAdvancedSiteSearchRequestObject", + "description": "Snippet for DisableAdvancedSiteSearch", + "file": "SiteSearchEngineServiceClient.DisableAdvancedSiteSearchRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListTargetSites", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSites", + "shortName": "DisableAdvancedSiteSearch", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DisableAdvancedSiteSearch", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DisableAdvancedSiteSearchRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 61, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async_flattened", - "title": "ListTargetSitesAsync", - "description": "Snippet for ListTargetSitesAsync", - "file": "SiteSearchEngineServiceClient.ListTargetSitesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", + "title": "DisableAdvancedSiteSearchRequestObjectAsync", + "description": "Snippet for DisableAdvancedSiteSearchAsync", + "file": "SiteSearchEngineServiceClient.DisableAdvancedSiteSearchRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListTargetSitesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSitesAsync", + "shortName": "DisableAdvancedSiteSearchAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DisableAdvancedSiteSearchAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.DisableAdvancedSiteSearchRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 62, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 60, "type": "SHORT" } ] - }, - { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync_flattened_resourceNames", - "title": "ListTargetSitesResourceNames", - "description": "Snippet for ListTargetSites", - "file": "SiteSearchEngineServiceClient.ListTargetSitesResourceNamesSnippet.g.cs", + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_sync", + "title": "RecrawlUrisRequestObject", + "description": "Snippet for RecrawlUris", + "file": "SiteSearchEngineServiceClient.RecrawlUrisRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListTargetSites", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSites", + "shortName": "RecrawlUris", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.RecrawlUris", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 75, + "end": 63, "type": "FULL" }, { - "start": 36, - "end": 73, + "start": 35, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async_flattened_resourceNames", - "title": "ListTargetSitesResourceNamesAsync", - "description": "Snippet for ListTargetSitesAsync", - "file": "SiteSearchEngineServiceClient.ListTargetSitesResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_async", + "title": "RecrawlUrisRequestObjectAsync", + "description": "Snippet for RecrawlUrisAsync", + "file": "SiteSearchEngineServiceClient.RecrawlUrisRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ListTargetSitesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.ListTargetSitesAsync", + "shortName": "RecrawlUrisAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.RecrawlUrisAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", - "name": "parent" - }, - { - "type": "System.String", - "name": "pageToken" - }, - { - "type": "System.Nullable[System.Int32]", - "name": "pageSize" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 76, + "end": 64, "type": "FULL" }, { - "start": 37, - "end": 74, + "start": 36, + "end": 62, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync", - "title": "CreateSitemapRequestObject", - "description": "Snippet for CreateSitemap", - "file": "SiteSearchEngineServiceClient.CreateSitemapRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", + "title": "BatchVerifyTargetSitesRequestObject", + "description": "Snippet for BatchVerifyTargetSites", + "file": "SiteSearchEngineServiceClient.BatchVerifyTargetSitesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSitemap", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemap", + "shortName": "BatchVerifyTargetSites", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchVerifyTargetSites", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSitemapRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesRequest", "name": "request" }, { @@ -21935,14 +30538,14 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -21954,29 +30557,29 @@ "segments": [ { "start": 20, - "end": 62, + "end": 61, "type": "FULL" }, { "start": 35, - "end": 60, + "end": 59, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async", - "title": "CreateSitemapRequestObjectAsync", - "description": "Snippet for CreateSitemapAsync", - "file": "SiteSearchEngineServiceClient.CreateSitemapRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", + "title": "BatchVerifyTargetSitesRequestObjectAsync", + "description": "Snippet for BatchVerifyTargetSitesAsync", + "file": "SiteSearchEngineServiceClient.BatchVerifyTargetSitesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSitemapAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemapAsync", + "shortName": "BatchVerifyTargetSitesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchVerifyTargetSitesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CreateSitemapRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesRequest", "name": "request" }, { @@ -21984,14 +30587,14 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" @@ -22003,234 +30606,222 @@ "segments": [ { "start": 20, - "end": 63, + "end": 62, "type": "FULL" }, { "start": 36, - "end": 61, + "end": 60, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync_flattened", - "title": "CreateSitemap", - "description": "Snippet for CreateSitemap", - "file": "SiteSearchEngineServiceClient.CreateSitemapSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", + "title": "FetchDomainVerificationStatusRequestObject", + "description": "Snippet for FetchDomainVerificationStatus", + "file": "SiteSearchEngineServiceClient.FetchDomainVerificationStatusRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSitemap", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemap", + "shortName": "FetchDomainVerificationStatus", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchDomainVerificationStatus", "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", - "name": "sitemap" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchDomainVerificationStatusRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 78, "type": "FULL" }, { - "start": 35, - "end": 57, + "start": 36, + "end": 76, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async_flattened", - "title": "CreateSitemapAsync", - "description": "Snippet for CreateSitemapAsync", - "file": "SiteSearchEngineServiceClient.CreateSitemapAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", + "title": "FetchDomainVerificationStatusRequestObjectAsync", + "description": "Snippet for FetchDomainVerificationStatusAsync", + "file": "SiteSearchEngineServiceClient.FetchDomainVerificationStatusRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSitemapAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemapAsync", + "shortName": "FetchDomainVerificationStatusAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchDomainVerificationStatusAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", - "name": "sitemap" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchDomainVerificationStatusRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { "shortName": "SiteSearchEngineServiceClient", "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" }, "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", "service": { "shortName": "SiteSearchEngineService", "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 79, "type": "FULL" }, { - "start": 36, - "end": 58, + "start": 37, + "end": 77, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync_flattened_resourceNames", - "title": "CreateSitemapResourceNames", - "description": "Snippet for CreateSitemap", - "file": "SiteSearchEngineServiceClient.CreateSitemapResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_sync", + "title": "WriteUserEventRequestObject", + "description": "Snippet for WriteUserEvent", + "file": "UserEventServiceClient.WriteUserEventRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSitemap", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemap", + "shortName": "WriteUserEvent", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.WriteUserEvent", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", - "name": "sitemap" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.WriteUserEventRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserEvent", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 46, "type": "FULL" }, { - "start": 35, - "end": 57, + "start": 34, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async_flattened_resourceNames", - "title": "CreateSitemapResourceNamesAsync", - "description": "Snippet for CreateSitemapAsync", - "file": "SiteSearchEngineServiceClient.CreateSitemapResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_async", + "title": "WriteUserEventRequestObjectAsync", + "description": "Snippet for WriteUserEventAsync", + "file": "UserEventServiceClient.WriteUserEventRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CreateSitemapAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.CreateSitemapAsync", + "shortName": "WriteUserEventAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.WriteUserEventAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", - "name": "parent" - }, - { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.Sitemap", - "name": "sitemap" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.WriteUserEventRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, - "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "method": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 47, "type": "FULL" }, { - "start": 36, - "end": 58, + "start": 35, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync", - "title": "DeleteSitemapRequestObject", - "description": "Snippet for DeleteSitemap", - "file": "SiteSearchEngineServiceClient.DeleteSitemapRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_sync", + "title": "CollectUserEventRequestObject", + "description": "Snippet for CollectUserEvent", + "file": "UserEventServiceClient.CollectUserEventRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSitemap", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemap", + "shortName": "CollectUserEvent", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.CollectUserEvent", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSitemapRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectUserEventRequest", "name": "request" }, { @@ -22238,17 +30829,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Api.HttpBody", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, @@ -22257,29 +30848,29 @@ "segments": [ { "start": 20, - "end": 62, + "end": 48, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 35, + "end": 46, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async", - "title": "DeleteSitemapRequestObjectAsync", - "description": "Snippet for DeleteSitemapAsync", - "file": "SiteSearchEngineServiceClient.DeleteSitemapRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_async", + "title": "CollectUserEventRequestObjectAsync", + "description": "Snippet for CollectUserEventAsync", + "file": "UserEventServiceClient.CollectUserEventRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSitemapAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemapAsync", + "shortName": "CollectUserEventAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.CollectUserEventAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DeleteSitemapRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectUserEventRequest", "name": "request" }, { @@ -22287,17 +30878,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, @@ -22306,218 +30897,222 @@ "segments": [ { "start": 20, - "end": 63, + "end": 49, "type": "FULL" }, { - "start": 37, - "end": 61, + "start": 36, + "end": 47, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync_flattened", - "title": "DeleteSitemap", - "description": "Snippet for DeleteSitemap", - "file": "SiteSearchEngineServiceClient.DeleteSitemapSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_sync", + "title": "PurgeUserEventsRequestObject", + "description": "Snippet for PurgeUserEvents", + "file": "UserEventServiceClient.PurgeUserEventsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSitemap", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemap", + "shortName": "PurgeUserEvents", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.PurgeUserEvents", "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeUserEventsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 63, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 35, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async_flattened", - "title": "DeleteSitemapAsync", - "description": "Snippet for DeleteSitemapAsync", - "file": "SiteSearchEngineServiceClient.DeleteSitemapAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_async", + "title": "PurgeUserEventsRequestObjectAsync", + "description": "Snippet for PurgeUserEventsAsync", + "file": "UserEventServiceClient.PurgeUserEventsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSitemapAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemapAsync", + "shortName": "PurgeUserEventsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.PurgeUserEventsAsync", "async": true, "parameters": [ { - "type": "System.String", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeUserEventsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 64, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 36, + "end": 62, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync_flattened_resourceNames", - "title": "DeleteSitemapResourceNames", - "description": "Snippet for DeleteSitemap", - "file": "SiteSearchEngineServiceClient.DeleteSitemapResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_sync", + "title": "ImportUserEventsRequestObject", + "description": "Snippet for ImportUserEvents", + "file": "UserEventServiceClient.ImportUserEventsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSitemap", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemap", + "shortName": "ImportUserEvents", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.ImportUserEvents", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SitemapName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 59, + "end": 63, "type": "FULL" }, { - "start": 36, - "end": 57, + "start": 35, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async_flattened_resourceNames", - "title": "DeleteSitemapResourceNamesAsync", - "description": "Snippet for DeleteSitemapAsync", - "file": "SiteSearchEngineServiceClient.DeleteSitemapResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_async", + "title": "ImportUserEventsRequestObjectAsync", + "description": "Snippet for ImportUserEventsAsync", + "file": "UserEventServiceClient.ImportUserEventsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DeleteSitemapAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DeleteSitemapAsync", + "shortName": "ImportUserEventsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.ImportUserEventsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SitemapName", - "name": "name" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest", + "name": "request" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserEventServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" }, "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" } } }, + "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 60, + "end": 64, "type": "FULL" }, { - "start": 37, - "end": 58, + "start": 36, + "end": 62, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync", - "title": "FetchSitemapsRequestObject", - "description": "Snippet for FetchSitemaps", - "file": "SiteSearchEngineServiceClient.FetchSitemapsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync", + "title": "ListUserLicensesRequestObject", + "description": "Snippet for ListUserLicenses", + "file": "UserLicenseServiceClient.ListUserLicensesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchSitemaps", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListUserLicenses", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest", "name": "request" }, { @@ -22525,17 +31120,17 @@ "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsResponse", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22544,29 +31139,29 @@ "segments": [ { "start": 20, - "end": 45, + "end": 80, "type": "FULL" }, { - "start": 34, - "end": 43, + "start": 36, + "end": 78, "type": "SHORT" } ] - }, - { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async", - "title": "FetchSitemapsRequestObjectAsync", - "description": "Snippet for FetchSitemapsAsync", - "file": "SiteSearchEngineServiceClient.FetchSitemapsRequestObjectAsyncSnippet.g.cs", + }, + { + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async", + "title": "ListUserLicensesRequestObjectAsync", + "description": "Snippet for ListUserLicensesAsync", + "file": "UserLicenseServiceClient.ListUserLicensesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchSitemapsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemapsAsync", + "shortName": "ListUserLicensesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListUserLicensesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest", "name": "request" }, { @@ -22574,17 +31169,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22593,46 +31188,54 @@ "segments": [ { "start": 20, - "end": 46, + "end": 81, "type": "FULL" }, { - "start": 35, - "end": 44, + "start": 37, + "end": 79, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync_flattened", - "title": "FetchSitemaps", - "description": "Snippet for FetchSitemaps", - "file": "SiteSearchEngineServiceClient.FetchSitemapsSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync_flattened", + "title": "ListUserLicenses", + "description": "Snippet for ListUserLicenses", + "file": "UserLicenseServiceClient.ListUserLicensesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchSitemaps", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListUserLicenses", "parameters": [ { "type": "System.String", "name": "parent" }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsResponse", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22640,47 +31243,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async_flattened", - "title": "FetchSitemapsAsync", - "description": "Snippet for FetchSitemapsAsync", - "file": "SiteSearchEngineServiceClient.FetchSitemapsAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async_flattened", + "title": "ListUserLicensesAsync", + "description": "Snippet for ListUserLicensesAsync", + "file": "UserLicenseServiceClient.ListUserLicensesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchSitemapsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemapsAsync", + "shortName": "ListUserLicensesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListUserLicensesAsync", "async": true, "parameters": [ { "type": "System.String", "name": "parent" }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22688,46 +31299,54 @@ "segments": [ { "start": 20, - "end": 42, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync_flattened_resourceNames", - "title": "FetchSitemapsResourceNames", - "description": "Snippet for FetchSitemaps", - "file": "SiteSearchEngineServiceClient.FetchSitemapsResourceNamesSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_sync_flattened_resourceNames", + "title": "ListUserLicensesResourceNames", + "description": "Snippet for ListUserLicenses", + "file": "UserLicenseServiceClient.ListUserLicensesResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchSitemaps", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListUserLicenses", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreName", "name": "parent" }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.FetchSitemapsResponse", + "resultType": "Google.Api.Gax.PagedEnumerable", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22735,47 +31354,55 @@ "segments": [ { "start": 20, - "end": 41, + "end": 75, "type": "FULL" }, { - "start": 34, - "end": 39, + "start": 36, + "end": 73, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async_flattened_resourceNames", - "title": "FetchSitemapsResourceNamesAsync", - "description": "Snippet for FetchSitemapsAsync", - "file": "SiteSearchEngineServiceClient.FetchSitemapsResourceNamesAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListUserLicenses_async_flattened_resourceNames", + "title": "ListUserLicensesResourceNamesAsync", + "description": "Snippet for ListUserLicensesAsync", + "file": "UserLicenseServiceClient.ListUserLicensesResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchSitemapsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchSitemapsAsync", + "shortName": "ListUserLicensesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListUserLicensesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineName", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreName", "name": "parent" }, + { + "type": "System.String", + "name": "pageToken" + }, + { + "type": "System.Nullable[System.Int32]", + "name": "pageSize" + }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "Google.Api.Gax.PagedAsyncEnumerable", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22783,28 +31410,28 @@ "segments": [ { "start": 20, - "end": 42, + "end": 76, "type": "FULL" }, { - "start": 35, - "end": 40, + "start": 37, + "end": 74, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", - "title": "EnableAdvancedSiteSearchRequestObject", - "description": "Snippet for EnableAdvancedSiteSearch", - "file": "SiteSearchEngineServiceClient.EnableAdvancedSiteSearchRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync", + "title": "ListLicenseConfigsUsageStatsRequestObject", + "description": "Snippet for ListLicenseConfigsUsageStats", + "file": "UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.EnableAdvancedSiteSearch", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListLicenseConfigsUsageStats", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EnableAdvancedSiteSearchRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest", "name": "request" }, { @@ -22812,17 +31439,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22831,29 +31458,29 @@ "segments": [ { "start": 20, - "end": 61, + "end": 44, "type": "FULL" }, { - "start": 35, - "end": 59, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", - "title": "EnableAdvancedSiteSearchRequestObjectAsync", - "description": "Snippet for EnableAdvancedSiteSearchAsync", - "file": "SiteSearchEngineServiceClient.EnableAdvancedSiteSearchRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async", + "title": "ListLicenseConfigsUsageStatsRequestObjectAsync", + "description": "Snippet for ListLicenseConfigsUsageStatsAsync", + "file": "UserLicenseServiceClient.ListLicenseConfigsUsageStatsRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "EnableAdvancedSiteSearchAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.EnableAdvancedSiteSearchAsync", + "shortName": "ListLicenseConfigsUsageStatsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.EnableAdvancedSiteSearchRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest", "name": "request" }, { @@ -22861,17 +31488,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -22880,222 +31507,218 @@ "segments": [ { "start": 20, - "end": 62, + "end": 45, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", - "title": "DisableAdvancedSiteSearchRequestObject", - "description": "Snippet for DisableAdvancedSiteSearch", - "file": "SiteSearchEngineServiceClient.DisableAdvancedSiteSearchRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync_flattened", + "title": "ListLicenseConfigsUsageStats", + "description": "Snippet for ListLicenseConfigsUsageStats", + "file": "UserLicenseServiceClient.ListLicenseConfigsUsageStatsSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DisableAdvancedSiteSearch", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListLicenseConfigsUsageStats", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DisableAdvancedSiteSearchRequest", - "name": "request" + "type": "System.String", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 61, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 59, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", - "title": "DisableAdvancedSiteSearchRequestObjectAsync", - "description": "Snippet for DisableAdvancedSiteSearchAsync", - "file": "SiteSearchEngineServiceClient.DisableAdvancedSiteSearchRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async_flattened", + "title": "ListLicenseConfigsUsageStatsAsync", + "description": "Snippet for ListLicenseConfigsUsageStatsAsync", + "file": "UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "DisableAdvancedSiteSearchAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.DisableAdvancedSiteSearchAsync", + "shortName": "ListLicenseConfigsUsageStatsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.DisableAdvancedSiteSearchRequest", - "name": "request" + "type": "System.String", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 62, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 60, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_sync", - "title": "RecrawlUrisRequestObject", - "description": "Snippet for RecrawlUris", - "file": "SiteSearchEngineServiceClient.RecrawlUrisRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_sync_flattened_resourceNames", + "title": "ListLicenseConfigsUsageStatsResourceNames", + "description": "Snippet for ListLicenseConfigsUsageStats", + "file": "UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "RecrawlUris", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.RecrawlUris", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListLicenseConfigsUsageStats", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreName", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 61, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_async", - "title": "RecrawlUrisRequestObjectAsync", - "description": "Snippet for RecrawlUrisAsync", - "file": "SiteSearchEngineServiceClient.RecrawlUrisRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_ListLicenseConfigsUsageStats_async_flattened_resourceNames", + "title": "ListLicenseConfigsUsageStatsResourceNamesAsync", + "description": "Snippet for ListLicenseConfigsUsageStatsAsync", + "file": "UserLicenseServiceClient.ListLicenseConfigsUsageStatsResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "RecrawlUrisAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.RecrawlUrisAsync", + "shortName": "ListLicenseConfigsUsageStatsAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreName", + "name": "parent" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", + "shortName": "ListLicenseConfigsUsageStats", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 64, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 62, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", - "title": "BatchVerifyTargetSitesRequestObject", - "description": "Snippet for BatchVerifyTargetSites", - "file": "SiteSearchEngineServiceClient.BatchVerifyTargetSitesRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_BatchUpdateUserLicenses_sync", + "title": "BatchUpdateUserLicensesRequestObject", + "description": "Snippet for BatchUpdateUserLicenses", + "file": "UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchVerifyTargetSites", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchVerifyTargetSites", + "shortName": "BatchUpdateUserLicenses", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.BatchUpdateUserLicenses", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest", "name": "request" }, { @@ -23103,17 +31726,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.LongRunning.Operation", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", + "shortName": "BatchUpdateUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -23122,29 +31745,29 @@ "segments": [ { "start": 20, - "end": 61, + "end": 63, "type": "FULL" }, { "start": 35, - "end": 59, + "end": 61, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", - "title": "BatchVerifyTargetSitesRequestObjectAsync", - "description": "Snippet for BatchVerifyTargetSitesAsync", - "file": "SiteSearchEngineServiceClient.BatchVerifyTargetSitesRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserLicenseService_BatchUpdateUserLicenses_async", + "title": "BatchUpdateUserLicensesRequestObjectAsync", + "description": "Snippet for BatchUpdateUserLicensesAsync", + "file": "UserLicenseServiceClient.BatchUpdateUserLicensesRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "BatchVerifyTargetSitesAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.BatchVerifyTargetSitesAsync", + "shortName": "BatchUpdateUserLicensesAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient.BatchUpdateUserLicensesAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest", "name": "request" }, { @@ -23152,17 +31775,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task>", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserLicenseServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceClient" }, "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", + "shortName": "BatchUpdateUserLicenses", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1beta.UserLicenseService" } } }, @@ -23171,28 +31794,28 @@ "segments": [ { "start": 20, - "end": 62, + "end": 64, "type": "FULL" }, { "start": 36, - "end": 60, + "end": 62, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", - "title": "FetchDomainVerificationStatusRequestObject", - "description": "Snippet for FetchDomainVerificationStatus", - "file": "SiteSearchEngineServiceClient.FetchDomainVerificationStatusRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync", + "title": "GetUserStoreRequestObject", + "description": "Snippet for GetUserStore", + "file": "UserStoreServiceClient.GetUserStoreRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchDomainVerificationStatus", + "shortName": "GetUserStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.GetUserStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchDomainVerificationStatusRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest", "name": "request" }, { @@ -23200,17 +31823,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedEnumerable", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", + "shortName": "GetUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, @@ -23219,29 +31842,29 @@ "segments": [ { "start": 20, - "end": 78, + "end": 44, "type": "FULL" }, { - "start": 36, - "end": 76, + "start": 34, + "end": 42, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", - "title": "FetchDomainVerificationStatusRequestObjectAsync", - "description": "Snippet for FetchDomainVerificationStatusAsync", - "file": "SiteSearchEngineServiceClient.FetchDomainVerificationStatusRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async", + "title": "GetUserStoreRequestObjectAsync", + "description": "Snippet for GetUserStoreAsync", + "file": "UserStoreServiceClient.GetUserStoreRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "FetchDomainVerificationStatusAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient.FetchDomainVerificationStatusAsync", + "shortName": "GetUserStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.GetUserStoreAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.FetchDomainVerificationStatusRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest", "name": "request" }, { @@ -23249,17 +31872,17 @@ "name": "callSettings" } ], - "resultType": "Google.Api.Gax.PagedAsyncEnumerable", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", + "shortName": "GetUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore", "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, @@ -23268,222 +31891,218 @@ "segments": [ { "start": 20, - "end": 79, + "end": 45, "type": "FULL" }, { - "start": 37, - "end": 77, + "start": 35, + "end": 43, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_sync", - "title": "WriteUserEventRequestObject", - "description": "Snippet for WriteUserEvent", - "file": "UserEventServiceClient.WriteUserEventRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync_flattened", + "title": "GetUserStore", + "description": "Snippet for GetUserStore", + "file": "UserStoreServiceClient.GetUserStoreSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "WriteUserEvent", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.WriteUserEvent", + "shortName": "GetUserStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.GetUserStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.WriteUserEventRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserEvent", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", + "shortName": "GetUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 46, + "end": 41, "type": "FULL" }, { "start": 34, - "end": 44, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_async", - "title": "WriteUserEventRequestObjectAsync", - "description": "Snippet for WriteUserEventAsync", - "file": "UserEventServiceClient.WriteUserEventRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async_flattened", + "title": "GetUserStoreAsync", + "description": "Snippet for GetUserStoreAsync", + "file": "UserStoreServiceClient.GetUserStoreAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "WriteUserEventAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.WriteUserEventAsync", + "shortName": "GetUserStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.GetUserStoreAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.WriteUserEventRequest", - "name": "request" + "type": "System.String", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", + "shortName": "GetUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 47, + "end": 42, "type": "FULL" }, { "start": 35, - "end": 45, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_sync", - "title": "CollectUserEventRequestObject", - "description": "Snippet for CollectUserEvent", - "file": "UserEventServiceClient.CollectUserEventRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_GetUserStore_sync_flattened_resourceNames", + "title": "GetUserStoreResourceNames", + "description": "Snippet for GetUserStore", + "file": "UserStoreServiceClient.GetUserStoreResourceNamesSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CollectUserEvent", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.CollectUserEvent", + "shortName": "GetUserStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.GetUserStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectUserEventRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.Api.HttpBody", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", + "shortName": "GetUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 48, + "end": 41, "type": "FULL" }, { - "start": 35, - "end": 46, + "start": 34, + "end": 39, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_async", - "title": "CollectUserEventRequestObjectAsync", - "description": "Snippet for CollectUserEventAsync", - "file": "UserEventServiceClient.CollectUserEventRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_GetUserStore_async_flattened_resourceNames", + "title": "GetUserStoreResourceNamesAsync", + "description": "Snippet for GetUserStoreAsync", + "file": "UserStoreServiceClient.GetUserStoreResourceNamesAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "CollectUserEventAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.CollectUserEventAsync", + "shortName": "GetUserStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.GetUserStoreAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.CollectUserEventRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreName", + "name": "name" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", + "shortName": "GetUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 49, + "end": 42, "type": "FULL" }, { - "start": 36, - "end": 47, + "start": 35, + "end": 40, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_sync", - "title": "PurgeUserEventsRequestObject", - "description": "Snippet for PurgeUserEvents", - "file": "UserEventServiceClient.PurgeUserEventsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_sync", + "title": "UpdateUserStoreRequestObject", + "description": "Snippet for UpdateUserStore", + "file": "UserStoreServiceClient.UpdateUserStoreRequestObjectSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeUserEvents", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.PurgeUserEvents", + "shortName": "UpdateUserStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.UpdateUserStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeUserEventsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest", "name": "request" }, { @@ -23491,17 +32110,17 @@ "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", + "shortName": "UpdateUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.UpdateUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, @@ -23510,29 +32129,29 @@ "segments": [ { "start": 20, - "end": 63, + "end": 46, "type": "FULL" }, { "start": 35, - "end": 61, + "end": 44, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_async", - "title": "PurgeUserEventsRequestObjectAsync", - "description": "Snippet for PurgeUserEventsAsync", - "file": "UserEventServiceClient.PurgeUserEventsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_async", + "title": "UpdateUserStoreRequestObjectAsync", + "description": "Snippet for UpdateUserStoreAsync", + "file": "UserStoreServiceClient.UpdateUserStoreRequestObjectAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "PurgeUserEventsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.PurgeUserEventsAsync", + "shortName": "UpdateUserStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.UpdateUserStoreAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.PurgeUserEventsRequest", + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest", "name": "request" }, { @@ -23540,17 +32159,17 @@ "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", + "shortName": "UpdateUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.UpdateUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, @@ -23559,109 +32178,115 @@ "segments": [ { "start": 20, - "end": 64, + "end": 47, "type": "FULL" }, { "start": 36, - "end": 62, + "end": 45, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_sync", - "title": "ImportUserEventsRequestObject", - "description": "Snippet for ImportUserEvents", - "file": "UserEventServiceClient.ImportUserEventsRequestObjectSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_sync_flattened", + "title": "UpdateUserStore", + "description": "Snippet for UpdateUserStore", + "file": "UserStoreServiceClient.UpdateUserStoreSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportUserEvents", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.ImportUserEvents", + "shortName": "UpdateUserStore", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.UpdateUserStore", "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", + "name": "userStore" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "Google.LongRunning.Operation", + "resultType": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", + "shortName": "UpdateUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.UpdateUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 63, + "end": 43, "type": "FULL" }, { "start": 35, - "end": 61, + "end": 41, "type": "SHORT" } ] }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_async", - "title": "ImportUserEventsRequestObjectAsync", - "description": "Snippet for ImportUserEventsAsync", - "file": "UserEventServiceClient.ImportUserEventsRequestObjectAsyncSnippet.g.cs", + "regionTag": "discoveryengine_v1beta_generated_UserStoreService_UpdateUserStore_async_flattened", + "title": "UpdateUserStoreAsync", + "description": "Snippet for UpdateUserStoreAsync", + "file": "UserStoreServiceClient.UpdateUserStoreAsyncSnippet.g.cs", "language": "C_SHARP", "clientMethod": { - "shortName": "ImportUserEventsAsync", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient.ImportUserEventsAsync", + "shortName": "UpdateUserStoreAsync", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient.UpdateUserStoreAsync", "async": true, "parameters": [ { - "type": "Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsRequest", - "name": "request" + "type": "Google.Cloud.DiscoveryEngine.V1Beta.UserStore", + "name": "userStore" + }, + { + "type": "Google.Protobuf.WellKnownTypes.FieldMask", + "name": "updateMask" }, { "type": "Google.Api.Gax.Grpc.CallSettings", "name": "callSettings" } ], - "resultType": "System.Threading.Tasks.Task>", + "resultType": "System.Threading.Tasks.Task", "client": { - "shortName": "UserEventServiceClient", - "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceClient" + "shortName": "UserStoreServiceClient", + "fullName": "Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceClient" }, "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", + "shortName": "UpdateUserStore", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService.UpdateUserStore", "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + "shortName": "UserStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.UserStoreService" } } }, - "canonical": true, "origin": "API_DEFINITION", "segments": [ { "start": 20, - "end": 64, + "end": 44, "type": "FULL" }, { "start": 36, - "end": 62, + "end": 42, "type": "SHORT" } ] diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AclConfigServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AclConfigServiceClientSnippets.g.cs new file mode 100644 index 000000000000..cc46fe5c63b6 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AclConfigServiceClientSnippets.g.cs @@ -0,0 +1,145 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Cloud.DiscoveryEngine.V1Beta; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedAclConfigServiceClientSnippets + { + /// Snippet for UpdateAclConfig + public void UpdateAclConfigRequestObject() + { + // Snippet: UpdateAclConfig(UpdateAclConfigRequest, CallSettings) + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + UpdateAclConfigRequest request = new UpdateAclConfigRequest + { + AclConfig = new AclConfig(), + }; + // Make the request + AclConfig response = aclConfigServiceClient.UpdateAclConfig(request); + // End snippet + } + + /// Snippet for UpdateAclConfigAsync + public async Task UpdateAclConfigRequestObjectAsync() + { + // Snippet: UpdateAclConfigAsync(UpdateAclConfigRequest, CallSettings) + // Additional: UpdateAclConfigAsync(UpdateAclConfigRequest, CancellationToken) + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateAclConfigRequest request = new UpdateAclConfigRequest + { + AclConfig = new AclConfig(), + }; + // Make the request + AclConfig response = await aclConfigServiceClient.UpdateAclConfigAsync(request); + // End snippet + } + + /// Snippet for GetAclConfig + public void GetAclConfigRequestObject() + { + // Snippet: GetAclConfig(GetAclConfigRequest, CallSettings) + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + GetAclConfigRequest request = new GetAclConfigRequest + { + AclConfigName = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + AclConfig response = aclConfigServiceClient.GetAclConfig(request); + // End snippet + } + + /// Snippet for GetAclConfigAsync + public async Task GetAclConfigRequestObjectAsync() + { + // Snippet: GetAclConfigAsync(GetAclConfigRequest, CallSettings) + // Additional: GetAclConfigAsync(GetAclConfigRequest, CancellationToken) + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + GetAclConfigRequest request = new GetAclConfigRequest + { + AclConfigName = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + AclConfig response = await aclConfigServiceClient.GetAclConfigAsync(request); + // End snippet + } + + /// Snippet for GetAclConfig + public void GetAclConfig() + { + // Snippet: GetAclConfig(string, CallSettings) + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/aclConfig"; + // Make the request + AclConfig response = aclConfigServiceClient.GetAclConfig(name); + // End snippet + } + + /// Snippet for GetAclConfigAsync + public async Task GetAclConfigAsync() + { + // Snippet: GetAclConfigAsync(string, CallSettings) + // Additional: GetAclConfigAsync(string, CancellationToken) + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/aclConfig"; + // Make the request + AclConfig response = await aclConfigServiceClient.GetAclConfigAsync(name); + // End snippet + } + + /// Snippet for GetAclConfig + public void GetAclConfigResourceNames() + { + // Snippet: GetAclConfig(AclConfigName, CallSettings) + // Create client + AclConfigServiceClient aclConfigServiceClient = AclConfigServiceClient.Create(); + // Initialize request argument(s) + AclConfigName name = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + AclConfig response = aclConfigServiceClient.GetAclConfig(name); + // End snippet + } + + /// Snippet for GetAclConfigAsync + public async Task GetAclConfigResourceNamesAsync() + { + // Snippet: GetAclConfigAsync(AclConfigName, CallSettings) + // Additional: GetAclConfigAsync(AclConfigName, CancellationToken) + // Create client + AclConfigServiceClient aclConfigServiceClient = await AclConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + AclConfigName name = AclConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + AclConfig response = await aclConfigServiceClient.GetAclConfigAsync(name); + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AssistantServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AssistantServiceClientSnippets.g.cs new file mode 100644 index 000000000000..c2fa817ee0b5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/AssistantServiceClientSnippets.g.cs @@ -0,0 +1,611 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Api.Gax; + using Google.Api.Gax.Grpc; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedAssistantServiceClientSnippets + { + /// Snippet for StreamAssist + public async Task StreamAssistRequestObject() + { + // Snippet: StreamAssist(StreamAssistRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + StreamAssistRequest request = new StreamAssistRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + Query = new Query(), + SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), + UserMetadata = new AssistUserMetadata(), + ToolsSpec = new StreamAssistRequest.Types.ToolsSpec(), + GenerationSpec = new StreamAssistRequest.Types.GenerationSpec(), + }; + // Make the request, returning a streaming response + using AssistantServiceClient.StreamAssistStream response = assistantServiceClient.StreamAssist(request); + + // Read streaming responses from server until complete + // Note that C# 8 code can use await foreach + AsyncResponseStream responseStream = response.GetResponseStream(); + while (await responseStream.MoveNextAsync()) + { + StreamAssistResponse responseItem = responseStream.Current; + // Do something with streamed response + } + // The response stream has completed + // End snippet + } + + /// Snippet for CreateAssistant + public void CreateAssistantRequestObject() + { + // Snippet: CreateAssistant(CreateAssistantRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + CreateAssistantRequest request = new CreateAssistantRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + Assistant = new Assistant(), + AssistantId = "", + }; + // Make the request + Assistant response = assistantServiceClient.CreateAssistant(request); + // End snippet + } + + /// Snippet for CreateAssistantAsync + public async Task CreateAssistantRequestObjectAsync() + { + // Snippet: CreateAssistantAsync(CreateAssistantRequest, CallSettings) + // Additional: CreateAssistantAsync(CreateAssistantRequest, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateAssistantRequest request = new CreateAssistantRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + Assistant = new Assistant(), + AssistantId = "", + }; + // Make the request + Assistant response = await assistantServiceClient.CreateAssistantAsync(request); + // End snippet + } + + /// Snippet for DeleteAssistant + public void DeleteAssistantRequestObject() + { + // Snippet: DeleteAssistant(DeleteAssistantRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + DeleteAssistantRequest request = new DeleteAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + assistantServiceClient.DeleteAssistant(request); + // End snippet + } + + /// Snippet for DeleteAssistantAsync + public async Task DeleteAssistantRequestObjectAsync() + { + // Snippet: DeleteAssistantAsync(DeleteAssistantRequest, CallSettings) + // Additional: DeleteAssistantAsync(DeleteAssistantRequest, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteAssistantRequest request = new DeleteAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + await assistantServiceClient.DeleteAssistantAsync(request); + // End snippet + } + + /// Snippet for DeleteAssistant + public void DeleteAssistant() + { + // Snippet: DeleteAssistant(string, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + assistantServiceClient.DeleteAssistant(name); + // End snippet + } + + /// Snippet for DeleteAssistantAsync + public async Task DeleteAssistantAsync() + { + // Snippet: DeleteAssistantAsync(string, CallSettings) + // Additional: DeleteAssistantAsync(string, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + await assistantServiceClient.DeleteAssistantAsync(name); + // End snippet + } + + /// Snippet for DeleteAssistant + public void DeleteAssistantResourceNames() + { + // Snippet: DeleteAssistant(AssistantName, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + assistantServiceClient.DeleteAssistant(name); + // End snippet + } + + /// Snippet for DeleteAssistantAsync + public async Task DeleteAssistantResourceNamesAsync() + { + // Snippet: DeleteAssistantAsync(AssistantName, CallSettings) + // Additional: DeleteAssistantAsync(AssistantName, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + await assistantServiceClient.DeleteAssistantAsync(name); + // End snippet + } + + /// Snippet for UpdateAssistant + public void UpdateAssistantRequestObject() + { + // Snippet: UpdateAssistant(UpdateAssistantRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + UpdateAssistantRequest request = new UpdateAssistantRequest + { + Assistant = new Assistant(), + UpdateMask = new FieldMask(), + }; + // Make the request + Assistant response = assistantServiceClient.UpdateAssistant(request); + // End snippet + } + + /// Snippet for UpdateAssistantAsync + public async Task UpdateAssistantRequestObjectAsync() + { + // Snippet: UpdateAssistantAsync(UpdateAssistantRequest, CallSettings) + // Additional: UpdateAssistantAsync(UpdateAssistantRequest, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateAssistantRequest request = new UpdateAssistantRequest + { + Assistant = new Assistant(), + UpdateMask = new FieldMask(), + }; + // Make the request + Assistant response = await assistantServiceClient.UpdateAssistantAsync(request); + // End snippet + } + + /// Snippet for UpdateAssistant + public void UpdateAssistant() + { + // Snippet: UpdateAssistant(Assistant, FieldMask, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + Assistant assistant = new Assistant(); + FieldMask updateMask = new FieldMask(); + // Make the request + Assistant response = assistantServiceClient.UpdateAssistant(assistant, updateMask); + // End snippet + } + + /// Snippet for UpdateAssistantAsync + public async Task UpdateAssistantAsync() + { + // Snippet: UpdateAssistantAsync(Assistant, FieldMask, CallSettings) + // Additional: UpdateAssistantAsync(Assistant, FieldMask, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + Assistant assistant = new Assistant(); + FieldMask updateMask = new FieldMask(); + // Make the request + Assistant response = await assistantServiceClient.UpdateAssistantAsync(assistant, updateMask); + // End snippet + } + + /// Snippet for GetAssistant + public void GetAssistantRequestObject() + { + // Snippet: GetAssistant(GetAssistantRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + GetAssistantRequest request = new GetAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + Assistant response = assistantServiceClient.GetAssistant(request); + // End snippet + } + + /// Snippet for GetAssistantAsync + public async Task GetAssistantRequestObjectAsync() + { + // Snippet: GetAssistantAsync(GetAssistantRequest, CallSettings) + // Additional: GetAssistantAsync(GetAssistantRequest, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + GetAssistantRequest request = new GetAssistantRequest + { + AssistantName = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"), + }; + // Make the request + Assistant response = await assistantServiceClient.GetAssistantAsync(request); + // End snippet + } + + /// Snippet for GetAssistant + public void GetAssistant() + { + // Snippet: GetAssistant(string, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + Assistant response = assistantServiceClient.GetAssistant(name); + // End snippet + } + + /// Snippet for GetAssistantAsync + public async Task GetAssistantAsync() + { + // Snippet: GetAssistantAsync(string, CallSettings) + // Additional: GetAssistantAsync(string, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]/assistants/[ASSISTANT]"; + // Make the request + Assistant response = await assistantServiceClient.GetAssistantAsync(name); + // End snippet + } + + /// Snippet for GetAssistant + public void GetAssistantResourceNames() + { + // Snippet: GetAssistant(AssistantName, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + Assistant response = assistantServiceClient.GetAssistant(name); + // End snippet + } + + /// Snippet for GetAssistantAsync + public async Task GetAssistantResourceNamesAsync() + { + // Snippet: GetAssistantAsync(AssistantName, CallSettings) + // Additional: GetAssistantAsync(AssistantName, CancellationToken) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + AssistantName name = AssistantName.FromProjectLocationCollectionEngineAssistant("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]", "[ASSISTANT]"); + // Make the request + Assistant response = await assistantServiceClient.GetAssistantAsync(name); + // End snippet + } + + /// Snippet for ListAssistants + public void ListAssistantsRequestObject() + { + // Snippet: ListAssistants(ListAssistantsRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + ListAssistantsRequest request = new ListAssistantsRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + }; + // Make the request + PagedEnumerable response = assistantServiceClient.ListAssistants(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAssistantsAsync + public async Task ListAssistantsRequestObjectAsync() + { + // Snippet: ListAssistantsAsync(ListAssistantsRequest, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + ListAssistantsRequest request = new ListAssistantsRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + }; + // Make the request + PagedAsyncEnumerable response = assistantServiceClient.ListAssistantsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAssistants + public void ListAssistants() + { + // Snippet: ListAssistants(string, string, int?, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + // Make the request + PagedEnumerable response = assistantServiceClient.ListAssistants(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAssistantsAsync + public async Task ListAssistantsAsync() + { + // Snippet: ListAssistantsAsync(string, string, int?, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + // Make the request + PagedAsyncEnumerable response = assistantServiceClient.ListAssistantsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAssistants + public void ListAssistantsResourceNames() + { + // Snippet: ListAssistants(EngineName, string, int?, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = AssistantServiceClient.Create(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + // Make the request + PagedEnumerable response = assistantServiceClient.ListAssistants(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListAssistantsAsync + public async Task ListAssistantsResourceNamesAsync() + { + // Snippet: ListAssistantsAsync(EngineName, string, int?, CallSettings) + // Create client + AssistantServiceClient assistantServiceClient = await AssistantServiceClient.CreateAsync(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + // Make the request + PagedAsyncEnumerable response = assistantServiceClient.ListAssistantsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (Assistant item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListAssistantsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (Assistant item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (Assistant item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CmekConfigServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CmekConfigServiceClientSnippets.g.cs new file mode 100644 index 000000000000..76aadaa34dba --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CmekConfigServiceClientSnippets.g.cs @@ -0,0 +1,510 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedCmekConfigServiceClientSnippets + { + /// Snippet for UpdateCmekConfig + public void UpdateCmekConfigRequestObject() + { + // Snippet: UpdateCmekConfig(UpdateCmekConfigRequest, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + UpdateCmekConfigRequest request = new UpdateCmekConfigRequest + { + Config = new CmekConfig(), + SetDefault = false, + }; + // Make the request + Operation response = cmekConfigServiceClient.UpdateCmekConfig(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceUpdateCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UpdateCmekConfigAsync + public async Task UpdateCmekConfigRequestObjectAsync() + { + // Snippet: UpdateCmekConfigAsync(UpdateCmekConfigRequest, CallSettings) + // Additional: UpdateCmekConfigAsync(UpdateCmekConfigRequest, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateCmekConfigRequest request = new UpdateCmekConfigRequest + { + Config = new CmekConfig(), + SetDefault = false, + }; + // Make the request + Operation response = await cmekConfigServiceClient.UpdateCmekConfigAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceUpdateCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UpdateCmekConfig + public void UpdateCmekConfig() + { + // Snippet: UpdateCmekConfig(CmekConfig, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + CmekConfig config = new CmekConfig(); + // Make the request + Operation response = cmekConfigServiceClient.UpdateCmekConfig(config); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceUpdateCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for UpdateCmekConfigAsync + public async Task UpdateCmekConfigAsync() + { + // Snippet: UpdateCmekConfigAsync(CmekConfig, CallSettings) + // Additional: UpdateCmekConfigAsync(CmekConfig, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CmekConfig config = new CmekConfig(); + // Make the request + Operation response = await cmekConfigServiceClient.UpdateCmekConfigAsync(config); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + CmekConfig result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceUpdateCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + CmekConfig retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for GetCmekConfig + public void GetCmekConfigRequestObject() + { + // Snippet: GetCmekConfig(GetCmekConfigRequest, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + GetCmekConfigRequest request = new GetCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + CmekConfig response = cmekConfigServiceClient.GetCmekConfig(request); + // End snippet + } + + /// Snippet for GetCmekConfigAsync + public async Task GetCmekConfigRequestObjectAsync() + { + // Snippet: GetCmekConfigAsync(GetCmekConfigRequest, CallSettings) + // Additional: GetCmekConfigAsync(GetCmekConfigRequest, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + GetCmekConfigRequest request = new GetCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + CmekConfig response = await cmekConfigServiceClient.GetCmekConfigAsync(request); + // End snippet + } + + /// Snippet for GetCmekConfig + public void GetCmekConfig() + { + // Snippet: GetCmekConfig(string, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + CmekConfig response = cmekConfigServiceClient.GetCmekConfig(name); + // End snippet + } + + /// Snippet for GetCmekConfigAsync + public async Task GetCmekConfigAsync() + { + // Snippet: GetCmekConfigAsync(string, CallSettings) + // Additional: GetCmekConfigAsync(string, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + CmekConfig response = await cmekConfigServiceClient.GetCmekConfigAsync(name); + // End snippet + } + + /// Snippet for GetCmekConfig + public void GetCmekConfigResourceNames() + { + // Snippet: GetCmekConfig(CmekConfigName, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CmekConfig response = cmekConfigServiceClient.GetCmekConfig(name); + // End snippet + } + + /// Snippet for GetCmekConfigAsync + public async Task GetCmekConfigResourceNamesAsync() + { + // Snippet: GetCmekConfigAsync(CmekConfigName, CallSettings) + // Additional: GetCmekConfigAsync(CmekConfigName, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + CmekConfig response = await cmekConfigServiceClient.GetCmekConfigAsync(name); + // End snippet + } + + /// Snippet for ListCmekConfigs + public void ListCmekConfigsRequestObject() + { + // Snippet: ListCmekConfigs(ListCmekConfigsRequest, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + ListCmekConfigsRequest request = new ListCmekConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListCmekConfigsResponse response = cmekConfigServiceClient.ListCmekConfigs(request); + // End snippet + } + + /// Snippet for ListCmekConfigsAsync + public async Task ListCmekConfigsRequestObjectAsync() + { + // Snippet: ListCmekConfigsAsync(ListCmekConfigsRequest, CallSettings) + // Additional: ListCmekConfigsAsync(ListCmekConfigsRequest, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + ListCmekConfigsRequest request = new ListCmekConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + ListCmekConfigsResponse response = await cmekConfigServiceClient.ListCmekConfigsAsync(request); + // End snippet + } + + /// Snippet for ListCmekConfigs + public void ListCmekConfigs() + { + // Snippet: ListCmekConfigs(string, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListCmekConfigsResponse response = cmekConfigServiceClient.ListCmekConfigs(parent); + // End snippet + } + + /// Snippet for ListCmekConfigsAsync + public async Task ListCmekConfigsAsync() + { + // Snippet: ListCmekConfigsAsync(string, CallSettings) + // Additional: ListCmekConfigsAsync(string, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + ListCmekConfigsResponse response = await cmekConfigServiceClient.ListCmekConfigsAsync(parent); + // End snippet + } + + /// Snippet for ListCmekConfigs + public void ListCmekConfigsResourceNames() + { + // Snippet: ListCmekConfigs(LocationName, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListCmekConfigsResponse response = cmekConfigServiceClient.ListCmekConfigs(parent); + // End snippet + } + + /// Snippet for ListCmekConfigsAsync + public async Task ListCmekConfigsResourceNamesAsync() + { + // Snippet: ListCmekConfigsAsync(LocationName, CallSettings) + // Additional: ListCmekConfigsAsync(LocationName, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + ListCmekConfigsResponse response = await cmekConfigServiceClient.ListCmekConfigsAsync(parent); + // End snippet + } + + /// Snippet for DeleteCmekConfig + public void DeleteCmekConfigRequestObject() + { + // Snippet: DeleteCmekConfig(DeleteCmekConfigRequest, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + DeleteCmekConfigRequest request = new DeleteCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Operation response = cmekConfigServiceClient.DeleteCmekConfig(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceDeleteCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteCmekConfigAsync + public async Task DeleteCmekConfigRequestObjectAsync() + { + // Snippet: DeleteCmekConfigAsync(DeleteCmekConfigRequest, CallSettings) + // Additional: DeleteCmekConfigAsync(DeleteCmekConfigRequest, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteCmekConfigRequest request = new DeleteCmekConfigRequest + { + CmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + Operation response = await cmekConfigServiceClient.DeleteCmekConfigAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceDeleteCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteCmekConfig + public void DeleteCmekConfig() + { + // Snippet: DeleteCmekConfig(string, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + Operation response = cmekConfigServiceClient.DeleteCmekConfig(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceDeleteCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteCmekConfigAsync + public async Task DeleteCmekConfigAsync() + { + // Snippet: DeleteCmekConfigAsync(string, CallSettings) + // Additional: DeleteCmekConfigAsync(string, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/cmekConfig"; + // Make the request + Operation response = await cmekConfigServiceClient.DeleteCmekConfigAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceDeleteCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteCmekConfig + public void DeleteCmekConfigResourceNames() + { + // Snippet: DeleteCmekConfig(CmekConfigName, CallSettings) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = CmekConfigServiceClient.Create(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = cmekConfigServiceClient.DeleteCmekConfig(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = cmekConfigServiceClient.PollOnceDeleteCmekConfig(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteCmekConfigAsync + public async Task DeleteCmekConfigResourceNamesAsync() + { + // Snippet: DeleteCmekConfigAsync(CmekConfigName, CallSettings) + // Additional: DeleteCmekConfigAsync(CmekConfigName, CancellationToken) + // Create client + CmekConfigServiceClient cmekConfigServiceClient = await CmekConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CmekConfigName name = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + Operation response = await cmekConfigServiceClient.DeleteCmekConfigAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await cmekConfigServiceClient.PollOnceDeleteCmekConfigAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CompletionServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CompletionServiceClientSnippets.g.cs index a331c931e6c0..6dac20236c49 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CompletionServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/CompletionServiceClientSnippets.g.cs @@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets { using Google.Cloud.DiscoveryEngine.V1Beta; using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; using System.Threading.Tasks; /// Generated snippets. @@ -84,6 +85,11 @@ public void AdvancedCompleteQueryRequestObject() AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified, }, UserInfo = new UserInfo(), + SuggestionTypeSpecs = + { + new AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec(), + }, + ExperimentIds = { "", }, }; // Make the request AdvancedCompleteQueryResponse response = completionServiceClient.AdvancedCompleteQuery(request); @@ -111,6 +117,11 @@ public async Task AdvancedCompleteQueryRequestObjectAsync() AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified, }, UserInfo = new UserInfo(), + SuggestionTypeSpecs = + { + new AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec(), + }, + ExperimentIds = { "", }, }; // Make the request AdvancedCompleteQueryResponse response = await completionServiceClient.AdvancedCompleteQueryAsync(request); @@ -382,5 +393,46 @@ public async Task PurgeCompletionSuggestionsRequestObjectAsync() } // End snippet } + + /// Snippet for RemoveSuggestion + public void RemoveSuggestionRequestObject() + { + // Snippet: RemoveSuggestion(RemoveSuggestionRequest, CallSettings) + // Create client + CompletionServiceClient completionServiceClient = CompletionServiceClient.Create(); + // Initialize request argument(s) + RemoveSuggestionRequest request = new RemoveSuggestionRequest + { + CompletionConfigAsCompletionConfigName = CompletionConfigName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), + SearchHistorySuggestion = "", + UserPseudoId = "", + UserInfo = new UserInfo(), + RemoveTime = new Timestamp(), + }; + // Make the request + RemoveSuggestionResponse response = completionServiceClient.RemoveSuggestion(request); + // End snippet + } + + /// Snippet for RemoveSuggestionAsync + public async Task RemoveSuggestionRequestObjectAsync() + { + // Snippet: RemoveSuggestionAsync(RemoveSuggestionRequest, CallSettings) + // Additional: RemoveSuggestionAsync(RemoveSuggestionRequest, CancellationToken) + // Create client + CompletionServiceClient completionServiceClient = await CompletionServiceClient.CreateAsync(); + // Initialize request argument(s) + RemoveSuggestionRequest request = new RemoveSuggestionRequest + { + CompletionConfigAsCompletionConfigName = CompletionConfigName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), + SearchHistorySuggestion = "", + UserPseudoId = "", + UserInfo = new UserInfo(), + RemoveTime = new Timestamp(), + }; + // Make the request + RemoveSuggestionResponse response = await completionServiceClient.RemoveSuggestionAsync(request); + // End snippet + } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ConversationalSearchServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ConversationalSearchServiceClientSnippets.g.cs index a2963c0ada0c..229858fa2f7a 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ConversationalSearchServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ConversationalSearchServiceClientSnippets.g.cs @@ -17,6 +17,7 @@ namespace GoogleCSharpSnippets { using Google.Api.Gax; + using Google.Api.Gax.Grpc; using Google.Cloud.DiscoveryEngine.V1Beta; using Google.Protobuf.WellKnownTypes; using System; @@ -763,6 +764,7 @@ public void AnswerQueryRequestObject() QueryUnderstandingSpec = new AnswerQueryRequest.Types.QueryUnderstandingSpec(), UserPseudoId = "", UserLabels = { { "", "" }, }, + EndUserSpec = new AnswerQueryRequest.Types.EndUserSpec(), }; // Make the request AnswerQueryResponse response = conversationalSearchServiceClient.AnswerQuery(request); @@ -790,12 +792,50 @@ public async Task AnswerQueryRequestObjectAsync() QueryUnderstandingSpec = new AnswerQueryRequest.Types.QueryUnderstandingSpec(), UserPseudoId = "", UserLabels = { { "", "" }, }, + EndUserSpec = new AnswerQueryRequest.Types.EndUserSpec(), }; // Make the request AnswerQueryResponse response = await conversationalSearchServiceClient.AnswerQueryAsync(request); // End snippet } + /// Snippet for StreamAnswerQuery + public async Task StreamAnswerQueryRequestObject() + { + // Snippet: StreamAnswerQuery(AnswerQueryRequest, CallSettings) + // Create client + ConversationalSearchServiceClient conversationalSearchServiceClient = ConversationalSearchServiceClient.Create(); + // Initialize request argument(s) + AnswerQueryRequest request = new AnswerQueryRequest + { + ServingConfigAsServingConfigName = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"), + Query = new Query(), + SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), + SafetySpec = new AnswerQueryRequest.Types.SafetySpec(), + RelatedQuestionsSpec = new AnswerQueryRequest.Types.RelatedQuestionsSpec(), + GroundingSpec = new AnswerQueryRequest.Types.GroundingSpec(), + AnswerGenerationSpec = new AnswerQueryRequest.Types.AnswerGenerationSpec(), + SearchSpec = new AnswerQueryRequest.Types.SearchSpec(), + QueryUnderstandingSpec = new AnswerQueryRequest.Types.QueryUnderstandingSpec(), + UserPseudoId = "", + UserLabels = { { "", "" }, }, + EndUserSpec = new AnswerQueryRequest.Types.EndUserSpec(), + }; + // Make the request, returning a streaming response + using ConversationalSearchServiceClient.StreamAnswerQueryStream response = conversationalSearchServiceClient.StreamAnswerQuery(request); + + // Read streaming responses from server until complete + // Note that C# 8 code can use await foreach + AsyncResponseStream responseStream = response.GetResponseStream(); + while (await responseStream.MoveNextAsync()) + { + AnswerQueryResponse responseItem = responseStream.Current; + // Do something with streamed response + } + // The response stream has completed + // End snippet + } + /// Snippet for GetAnswer public void GetAnswerRequestObject() { @@ -894,6 +934,7 @@ public void CreateSessionRequestObject() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = conversationalSearchServiceClient.CreateSession(request); @@ -912,6 +953,7 @@ public async Task CreateSessionRequestObjectAsync() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = await conversationalSearchServiceClient.CreateSessionAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DataStoreServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DataStoreServiceClientSnippets.g.cs index b94d725aeacd..490e33261dcf 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DataStoreServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DataStoreServiceClientSnippets.g.cs @@ -39,6 +39,7 @@ public void CreateDataStoreRequestObject() DataStore = new DataStore(), DataStoreId = "", CreateAdvancedSiteSearch = false, + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), SkipDefaultSchemaCreation = false, }; // Make the request @@ -76,6 +77,7 @@ public async Task CreateDataStoreRequestObjectAsync() DataStore = new DataStore(), DataStoreId = "", CreateAdvancedSiteSearch = false, + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), SkipDefaultSchemaCreation = false, }; // Make the request diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DocumentServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DocumentServiceClientSnippets.g.cs index 1b7d78d6022f..2e1772b24707 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DocumentServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/DocumentServiceClientSnippets.g.cs @@ -657,6 +657,7 @@ public void ImportDocumentsRequestObject() UpdateMask = new FieldMask(), AutoGenerateIds = false, IdField = "", + ForceRefreshContent = false, }; // Make the request Operation response = documentServiceClient.ImportDocuments(request); @@ -696,6 +697,7 @@ public async Task ImportDocumentsRequestObjectAsync() UpdateMask = new FieldMask(), AutoGenerateIds = false, IdField = "", + ForceRefreshContent = false, }; // Make the request Operation response = await documentServiceClient.ImportDocumentsAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/EngineServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/EngineServiceClientSnippets.g.cs index 6d6e45387b21..86cf33abbc4b 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/EngineServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/EngineServiceClientSnippets.g.cs @@ -18,6 +18,7 @@ namespace GoogleCSharpSnippets { using Google.Api.Gax; using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Cloud.Iam.V1; using Google.LongRunning; using Google.Protobuf.WellKnownTypes; using System; @@ -1189,5 +1190,189 @@ public async Task TuneEngineResourceNamesAsync() } // End snippet } + + /// Snippet for GetIamPolicy + public void GetIamPolicyRequestObject() + { + // Snippet: GetIamPolicy(GetIamPolicyRequest, CallSettings) + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + GetIamPolicyRequest request = new GetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Options = new GetPolicyOptions(), + }; + // Make the request + Policy response = engineServiceClient.GetIamPolicy(request); + // End snippet + } + + /// Snippet for GetIamPolicyAsync + public async Task GetIamPolicyRequestObjectAsync() + { + // Snippet: GetIamPolicyAsync(GetIamPolicyRequest, CallSettings) + // Additional: GetIamPolicyAsync(GetIamPolicyRequest, CancellationToken) + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + GetIamPolicyRequest request = new GetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Options = new GetPolicyOptions(), + }; + // Make the request + Policy response = await engineServiceClient.GetIamPolicyAsync(request); + // End snippet + } + + /// Snippet for GetIamPolicy + public void GetIamPolicy() + { + // Snippet: GetIamPolicy(string, CallSettings) + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + // Make the request + Policy response = engineServiceClient.GetIamPolicy(resource); + // End snippet + } + + /// Snippet for GetIamPolicyAsync + public async Task GetIamPolicyAsync() + { + // Snippet: GetIamPolicyAsync(string, CallSettings) + // Additional: GetIamPolicyAsync(string, CancellationToken) + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + // Make the request + Policy response = await engineServiceClient.GetIamPolicyAsync(resource); + // End snippet + } + + /// Snippet for GetIamPolicy + public void GetIamPolicyResourceNames() + { + // Snippet: GetIamPolicy(IResourceName, CallSettings) + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + // Make the request + Policy response = engineServiceClient.GetIamPolicy(resource); + // End snippet + } + + /// Snippet for GetIamPolicyAsync + public async Task GetIamPolicyResourceNamesAsync() + { + // Snippet: GetIamPolicyAsync(IResourceName, CallSettings) + // Additional: GetIamPolicyAsync(IResourceName, CancellationToken) + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + // Make the request + Policy response = await engineServiceClient.GetIamPolicyAsync(resource); + // End snippet + } + + /// Snippet for SetIamPolicy + public void SetIamPolicyRequestObject() + { + // Snippet: SetIamPolicy(SetIamPolicyRequest, CallSettings) + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + SetIamPolicyRequest request = new SetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Policy = new Policy(), + UpdateMask = new FieldMask(), + }; + // Make the request + Policy response = engineServiceClient.SetIamPolicy(request); + // End snippet + } + + /// Snippet for SetIamPolicyAsync + public async Task SetIamPolicyRequestObjectAsync() + { + // Snippet: SetIamPolicyAsync(SetIamPolicyRequest, CallSettings) + // Additional: SetIamPolicyAsync(SetIamPolicyRequest, CancellationToken) + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + SetIamPolicyRequest request = new SetIamPolicyRequest + { + ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), + Policy = new Policy(), + UpdateMask = new FieldMask(), + }; + // Make the request + Policy response = await engineServiceClient.SetIamPolicyAsync(request); + // End snippet + } + + /// Snippet for SetIamPolicy + public void SetIamPolicy() + { + // Snippet: SetIamPolicy(string, Policy, CallSettings) + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + Policy policy = new Policy(); + // Make the request + Policy response = engineServiceClient.SetIamPolicy(resource, policy); + // End snippet + } + + /// Snippet for SetIamPolicyAsync + public async Task SetIamPolicyAsync() + { + // Snippet: SetIamPolicyAsync(string, Policy, CallSettings) + // Additional: SetIamPolicyAsync(string, Policy, CancellationToken) + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + string resource = "a/wildcard/resource"; + Policy policy = new Policy(); + // Make the request + Policy response = await engineServiceClient.SetIamPolicyAsync(resource, policy); + // End snippet + } + + /// Snippet for SetIamPolicy + public void SetIamPolicyResourceNames() + { + // Snippet: SetIamPolicy(IResourceName, Policy, CallSettings) + // Create client + EngineServiceClient engineServiceClient = EngineServiceClient.Create(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + Policy policy = new Policy(); + // Make the request + Policy response = engineServiceClient.SetIamPolicy(resource, policy); + // End snippet + } + + /// Snippet for SetIamPolicyAsync + public async Task SetIamPolicyResourceNamesAsync() + { + // Snippet: SetIamPolicyAsync(IResourceName, Policy, CallSettings) + // Additional: SetIamPolicyAsync(IResourceName, Policy, CancellationToken) + // Create client + EngineServiceClient engineServiceClient = await EngineServiceClient.CreateAsync(); + // Initialize request argument(s) + IResourceName resource = new UnparsedResourceName("a/wildcard/resource"); + Policy policy = new Policy(); + // Make the request + Policy response = await engineServiceClient.SetIamPolicyAsync(resource, policy); + // End snippet + } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/IdentityMappingStoreServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/IdentityMappingStoreServiceClientSnippets.g.cs new file mode 100644 index 000000000000..d1af995858fd --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/IdentityMappingStoreServiceClientSnippets.g.cs @@ -0,0 +1,910 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using Google.Protobuf.WellKnownTypes; + using System; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedIdentityMappingStoreServiceClientSnippets + { + /// Snippet for CreateIdentityMappingStore + public void CreateIdentityMappingStoreRequestObject() + { + // Snippet: CreateIdentityMappingStore(CreateIdentityMappingStoreRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + CreateIdentityMappingStoreRequest request = new CreateIdentityMappingStoreRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IdentityMappingStoreId = "", + IdentityMappingStore = new IdentityMappingStore(), + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.CreateIdentityMappingStore(request); + // End snippet + } + + /// Snippet for CreateIdentityMappingStoreAsync + public async Task CreateIdentityMappingStoreRequestObjectAsync() + { + // Snippet: CreateIdentityMappingStoreAsync(CreateIdentityMappingStoreRequest, CallSettings) + // Additional: CreateIdentityMappingStoreAsync(CreateIdentityMappingStoreRequest, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateIdentityMappingStoreRequest request = new CreateIdentityMappingStoreRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + IdentityMappingStoreId = "", + IdentityMappingStore = new IdentityMappingStore(), + CmekConfigNameAsCmekConfigName = CmekConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.CreateIdentityMappingStoreAsync(request); + // End snippet + } + + /// Snippet for CreateIdentityMappingStore + public void CreateIdentityMappingStore() + { + // Snippet: CreateIdentityMappingStore(string, IdentityMappingStore, string, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.CreateIdentityMappingStore(parent, identityMappingStore, identityMappingStoreId); + // End snippet + } + + /// Snippet for CreateIdentityMappingStoreAsync + public async Task CreateIdentityMappingStoreAsync() + { + // Snippet: CreateIdentityMappingStoreAsync(string, IdentityMappingStore, string, CallSettings) + // Additional: CreateIdentityMappingStoreAsync(string, IdentityMappingStore, string, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.CreateIdentityMappingStoreAsync(parent, identityMappingStore, identityMappingStoreId); + // End snippet + } + + /// Snippet for CreateIdentityMappingStore + public void CreateIdentityMappingStoreResourceNames() + { + // Snippet: CreateIdentityMappingStore(LocationName, IdentityMappingStore, string, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.CreateIdentityMappingStore(parent, identityMappingStore, identityMappingStoreId); + // End snippet + } + + /// Snippet for CreateIdentityMappingStoreAsync + public async Task CreateIdentityMappingStoreResourceNamesAsync() + { + // Snippet: CreateIdentityMappingStoreAsync(LocationName, IdentityMappingStore, string, CallSettings) + // Additional: CreateIdentityMappingStoreAsync(LocationName, IdentityMappingStore, string, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + IdentityMappingStore identityMappingStore = new IdentityMappingStore(); + string identityMappingStoreId = ""; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.CreateIdentityMappingStoreAsync(parent, identityMappingStore, identityMappingStoreId); + // End snippet + } + + /// Snippet for GetIdentityMappingStore + public void GetIdentityMappingStoreRequestObject() + { + // Snippet: GetIdentityMappingStore(GetIdentityMappingStoreRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + GetIdentityMappingStoreRequest request = new GetIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.GetIdentityMappingStore(request); + // End snippet + } + + /// Snippet for GetIdentityMappingStoreAsync + public async Task GetIdentityMappingStoreRequestObjectAsync() + { + // Snippet: GetIdentityMappingStoreAsync(GetIdentityMappingStoreRequest, CallSettings) + // Additional: GetIdentityMappingStoreAsync(GetIdentityMappingStoreRequest, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + GetIdentityMappingStoreRequest request = new GetIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.GetIdentityMappingStoreAsync(request); + // End snippet + } + + /// Snippet for GetIdentityMappingStore + public void GetIdentityMappingStore() + { + // Snippet: GetIdentityMappingStore(string, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.GetIdentityMappingStore(name); + // End snippet + } + + /// Snippet for GetIdentityMappingStoreAsync + public async Task GetIdentityMappingStoreAsync() + { + // Snippet: GetIdentityMappingStoreAsync(string, CallSettings) + // Additional: GetIdentityMappingStoreAsync(string, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.GetIdentityMappingStoreAsync(name); + // End snippet + } + + /// Snippet for GetIdentityMappingStore + public void GetIdentityMappingStoreResourceNames() + { + // Snippet: GetIdentityMappingStore(IdentityMappingStoreName, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + IdentityMappingStore response = identityMappingStoreServiceClient.GetIdentityMappingStore(name); + // End snippet + } + + /// Snippet for GetIdentityMappingStoreAsync + public async Task GetIdentityMappingStoreResourceNamesAsync() + { + // Snippet: GetIdentityMappingStoreAsync(IdentityMappingStoreName, CallSettings) + // Additional: GetIdentityMappingStoreAsync(IdentityMappingStoreName, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + IdentityMappingStore response = await identityMappingStoreServiceClient.GetIdentityMappingStoreAsync(name); + // End snippet + } + + /// Snippet for DeleteIdentityMappingStore + public void DeleteIdentityMappingStoreRequestObject() + { + // Snippet: DeleteIdentityMappingStore(DeleteIdentityMappingStoreRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + DeleteIdentityMappingStoreRequest request = new DeleteIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + Operation response = identityMappingStoreServiceClient.DeleteIdentityMappingStore(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStore(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIdentityMappingStoreAsync + public async Task DeleteIdentityMappingStoreRequestObjectAsync() + { + // Snippet: DeleteIdentityMappingStoreAsync(DeleteIdentityMappingStoreRequest, CallSettings) + // Additional: DeleteIdentityMappingStoreAsync(DeleteIdentityMappingStoreRequest, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteIdentityMappingStoreRequest request = new DeleteIdentityMappingStoreRequest + { + IdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + Operation response = await identityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStoreAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIdentityMappingStore + public void DeleteIdentityMappingStore() + { + // Snippet: DeleteIdentityMappingStore(string, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + Operation response = identityMappingStoreServiceClient.DeleteIdentityMappingStore(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStore(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIdentityMappingStoreAsync + public async Task DeleteIdentityMappingStoreAsync() + { + // Snippet: DeleteIdentityMappingStoreAsync(string, CallSettings) + // Additional: DeleteIdentityMappingStoreAsync(string, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/identityMappingStores/[IDENTITY_MAPPING_STORE]"; + // Make the request + Operation response = await identityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStoreAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIdentityMappingStore + public void DeleteIdentityMappingStoreResourceNames() + { + // Snippet: DeleteIdentityMappingStore(IdentityMappingStoreName, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + Operation response = identityMappingStoreServiceClient.DeleteIdentityMappingStore(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStore(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for DeleteIdentityMappingStoreAsync + public async Task DeleteIdentityMappingStoreResourceNamesAsync() + { + // Snippet: DeleteIdentityMappingStoreAsync(IdentityMappingStoreName, CallSettings) + // Additional: DeleteIdentityMappingStoreAsync(IdentityMappingStoreName, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + IdentityMappingStoreName name = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"); + // Make the request + Operation response = await identityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync(name); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceDeleteIdentityMappingStoreAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIdentityMappings + public void ImportIdentityMappingsRequestObject() + { + // Snippet: ImportIdentityMappings(ImportIdentityMappingsRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + ImportIdentityMappingsRequest request = new ImportIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new ImportIdentityMappingsRequest.Types.InlineSource(), + }; + // Make the request + Operation response = identityMappingStoreServiceClient.ImportIdentityMappings(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + ImportIdentityMappingsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOnceImportIdentityMappings(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIdentityMappingsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ImportIdentityMappingsAsync + public async Task ImportIdentityMappingsRequestObjectAsync() + { + // Snippet: ImportIdentityMappingsAsync(ImportIdentityMappingsRequest, CallSettings) + // Additional: ImportIdentityMappingsAsync(ImportIdentityMappingsRequest, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + ImportIdentityMappingsRequest request = new ImportIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new ImportIdentityMappingsRequest.Types.InlineSource(), + }; + // Make the request + Operation response = await identityMappingStoreServiceClient.ImportIdentityMappingsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + ImportIdentityMappingsResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOnceImportIdentityMappingsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + ImportIdentityMappingsResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for PurgeIdentityMappings + public void PurgeIdentityMappingsRequestObject() + { + // Snippet: PurgeIdentityMappings(PurgeIdentityMappingsRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + PurgeIdentityMappingsRequest request = new PurgeIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new PurgeIdentityMappingsRequest.Types.InlineSource(), + Filter = "", + Force = false, + }; + // Make the request + Operation response = identityMappingStoreServiceClient.PurgeIdentityMappings(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = identityMappingStoreServiceClient.PollOncePurgeIdentityMappings(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for PurgeIdentityMappingsAsync + public async Task PurgeIdentityMappingsRequestObjectAsync() + { + // Snippet: PurgeIdentityMappingsAsync(PurgeIdentityMappingsRequest, CallSettings) + // Additional: PurgeIdentityMappingsAsync(PurgeIdentityMappingsRequest, CancellationToken) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + PurgeIdentityMappingsRequest request = new PurgeIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + InlineSource = new PurgeIdentityMappingsRequest.Types.InlineSource(), + Filter = "", + Force = false, + }; + // Make the request + Operation response = await identityMappingStoreServiceClient.PurgeIdentityMappingsAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + Empty result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await identityMappingStoreServiceClient.PollOncePurgeIdentityMappingsAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + Empty retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for ListIdentityMappings + public void ListIdentityMappingsRequestObject() + { + // Snippet: ListIdentityMappings(ListIdentityMappingsRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + ListIdentityMappingsRequest request = new ListIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappings(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingEntry item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingEntry item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingEntry item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingsAsync + public async Task ListIdentityMappingsRequestObjectAsync() + { + // Snippet: ListIdentityMappingsAsync(ListIdentityMappingsRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + ListIdentityMappingsRequest request = new ListIdentityMappingsRequest + { + IdentityMappingStoreAsIdentityMappingStoreName = IdentityMappingStoreName.FromProjectLocationIdentityMappingStore("[PROJECT]", "[LOCATION]", "[IDENTITY_MAPPING_STORE]"), + }; + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingEntry item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingEntry item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingEntry item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingStores + public void ListIdentityMappingStoresRequestObject() + { + // Snippet: ListIdentityMappingStores(ListIdentityMappingStoresRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStores(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingStoresAsync + public async Task ListIdentityMappingStoresRequestObjectAsync() + { + // Snippet: ListIdentityMappingStoresAsync(ListIdentityMappingStoresRequest, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + }; + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStoresAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingStores + public void ListIdentityMappingStores() + { + // Snippet: ListIdentityMappingStores(string, string, int?, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStores(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingStoresAsync + public async Task ListIdentityMappingStoresAsync() + { + // Snippet: ListIdentityMappingStoresAsync(string, string, int?, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStoresAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingStores + public void ListIdentityMappingStoresResourceNames() + { + // Snippet: ListIdentityMappingStores(LocationName, string, int?, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = IdentityMappingStoreServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStores(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListIdentityMappingStoresAsync + public async Task ListIdentityMappingStoresResourceNamesAsync() + { + // Snippet: ListIdentityMappingStoresAsync(LocationName, string, int?, CallSettings) + // Create client + IdentityMappingStoreServiceClient identityMappingStoreServiceClient = await IdentityMappingStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = identityMappingStoreServiceClient.ListIdentityMappingStoresAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (IdentityMappingStore item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListIdentityMappingStoresResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (IdentityMappingStore item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (IdentityMappingStore item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/LicenseConfigServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/LicenseConfigServiceClientSnippets.g.cs new file mode 100644 index 000000000000..eb7c329fd0cf --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/LicenseConfigServiceClientSnippets.g.cs @@ -0,0 +1,772 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedLicenseConfigServiceClientSnippets + { + /// Snippet for CreateLicenseConfig + public void CreateLicenseConfigRequestObject() + { + // Snippet: CreateLicenseConfig(CreateLicenseConfigRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + CreateLicenseConfigRequest request = new CreateLicenseConfigRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + LicenseConfig = new LicenseConfig(), + LicenseConfigId = "", + }; + // Make the request + LicenseConfig response = licenseConfigServiceClient.CreateLicenseConfig(request); + // End snippet + } + + /// Snippet for CreateLicenseConfigAsync + public async Task CreateLicenseConfigRequestObjectAsync() + { + // Snippet: CreateLicenseConfigAsync(CreateLicenseConfigRequest, CallSettings) + // Additional: CreateLicenseConfigAsync(CreateLicenseConfigRequest, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateLicenseConfigRequest request = new CreateLicenseConfigRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + LicenseConfig = new LicenseConfig(), + LicenseConfigId = "", + }; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.CreateLicenseConfigAsync(request); + // End snippet + } + + /// Snippet for CreateLicenseConfig + public void CreateLicenseConfig() + { + // Snippet: CreateLicenseConfig(string, LicenseConfig, string, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = licenseConfigServiceClient.CreateLicenseConfig(parent, licenseConfig, licenseConfigId); + // End snippet + } + + /// Snippet for CreateLicenseConfigAsync + public async Task CreateLicenseConfigAsync() + { + // Snippet: CreateLicenseConfigAsync(string, LicenseConfig, string, CallSettings) + // Additional: CreateLicenseConfigAsync(string, LicenseConfig, string, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.CreateLicenseConfigAsync(parent, licenseConfig, licenseConfigId); + // End snippet + } + + /// Snippet for CreateLicenseConfig + public void CreateLicenseConfigResourceNames() + { + // Snippet: CreateLicenseConfig(LocationName, LicenseConfig, string, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = licenseConfigServiceClient.CreateLicenseConfig(parent, licenseConfig, licenseConfigId); + // End snippet + } + + /// Snippet for CreateLicenseConfigAsync + public async Task CreateLicenseConfigResourceNamesAsync() + { + // Snippet: CreateLicenseConfigAsync(LocationName, LicenseConfig, string, CallSettings) + // Additional: CreateLicenseConfigAsync(LocationName, LicenseConfig, string, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + LicenseConfig licenseConfig = new LicenseConfig(); + string licenseConfigId = ""; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.CreateLicenseConfigAsync(parent, licenseConfig, licenseConfigId); + // End snippet + } + + /// Snippet for UpdateLicenseConfig + public void UpdateLicenseConfigRequestObject() + { + // Snippet: UpdateLicenseConfig(UpdateLicenseConfigRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + UpdateLicenseConfigRequest request = new UpdateLicenseConfigRequest + { + LicenseConfig = new LicenseConfig(), + UpdateMask = new FieldMask(), + }; + // Make the request + LicenseConfig response = licenseConfigServiceClient.UpdateLicenseConfig(request); + // End snippet + } + + /// Snippet for UpdateLicenseConfigAsync + public async Task UpdateLicenseConfigRequestObjectAsync() + { + // Snippet: UpdateLicenseConfigAsync(UpdateLicenseConfigRequest, CallSettings) + // Additional: UpdateLicenseConfigAsync(UpdateLicenseConfigRequest, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateLicenseConfigRequest request = new UpdateLicenseConfigRequest + { + LicenseConfig = new LicenseConfig(), + UpdateMask = new FieldMask(), + }; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.UpdateLicenseConfigAsync(request); + // End snippet + } + + /// Snippet for UpdateLicenseConfig + public void UpdateLicenseConfig() + { + // Snippet: UpdateLicenseConfig(LicenseConfig, FieldMask, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LicenseConfig licenseConfig = new LicenseConfig(); + FieldMask updateMask = new FieldMask(); + // Make the request + LicenseConfig response = licenseConfigServiceClient.UpdateLicenseConfig(licenseConfig, updateMask); + // End snippet + } + + /// Snippet for UpdateLicenseConfigAsync + public async Task UpdateLicenseConfigAsync() + { + // Snippet: UpdateLicenseConfigAsync(LicenseConfig, FieldMask, CallSettings) + // Additional: UpdateLicenseConfigAsync(LicenseConfig, FieldMask, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LicenseConfig licenseConfig = new LicenseConfig(); + FieldMask updateMask = new FieldMask(); + // Make the request + LicenseConfig response = await licenseConfigServiceClient.UpdateLicenseConfigAsync(licenseConfig, updateMask); + // End snippet + } + + /// Snippet for GetLicenseConfig + public void GetLicenseConfigRequestObject() + { + // Snippet: GetLicenseConfig(GetLicenseConfigRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + GetLicenseConfigRequest request = new GetLicenseConfigRequest + { + LicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + }; + // Make the request + LicenseConfig response = licenseConfigServiceClient.GetLicenseConfig(request); + // End snippet + } + + /// Snippet for GetLicenseConfigAsync + public async Task GetLicenseConfigRequestObjectAsync() + { + // Snippet: GetLicenseConfigAsync(GetLicenseConfigRequest, CallSettings) + // Additional: GetLicenseConfigAsync(GetLicenseConfigRequest, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + GetLicenseConfigRequest request = new GetLicenseConfigRequest + { + LicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + }; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.GetLicenseConfigAsync(request); + // End snippet + } + + /// Snippet for GetLicenseConfig + public void GetLicenseConfig() + { + // Snippet: GetLicenseConfig(string, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + // Make the request + LicenseConfig response = licenseConfigServiceClient.GetLicenseConfig(name); + // End snippet + } + + /// Snippet for GetLicenseConfigAsync + public async Task GetLicenseConfigAsync() + { + // Snippet: GetLicenseConfigAsync(string, CallSettings) + // Additional: GetLicenseConfigAsync(string, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + // Make the request + LicenseConfig response = await licenseConfigServiceClient.GetLicenseConfigAsync(name); + // End snippet + } + + /// Snippet for GetLicenseConfig + public void GetLicenseConfigResourceNames() + { + // Snippet: GetLicenseConfig(LicenseConfigName, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LicenseConfigName name = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + // Make the request + LicenseConfig response = licenseConfigServiceClient.GetLicenseConfig(name); + // End snippet + } + + /// Snippet for GetLicenseConfigAsync + public async Task GetLicenseConfigResourceNamesAsync() + { + // Snippet: GetLicenseConfigAsync(LicenseConfigName, CallSettings) + // Additional: GetLicenseConfigAsync(LicenseConfigName, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LicenseConfigName name = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + // Make the request + LicenseConfig response = await licenseConfigServiceClient.GetLicenseConfigAsync(name); + // End snippet + } + + /// Snippet for ListLicenseConfigs + public void ListLicenseConfigsRequestObject() + { + // Snippet: ListLicenseConfigs(ListLicenseConfigsRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedEnumerable response = licenseConfigServiceClient.ListLicenseConfigs(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListLicenseConfigsAsync + public async Task ListLicenseConfigsRequestObjectAsync() + { + // Snippet: ListLicenseConfigsAsync(ListLicenseConfigsRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"), + Filter = "", + }; + // Make the request + PagedAsyncEnumerable response = licenseConfigServiceClient.ListLicenseConfigsAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListLicenseConfigs + public void ListLicenseConfigs() + { + // Snippet: ListLicenseConfigs(string, string, int?, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedEnumerable response = licenseConfigServiceClient.ListLicenseConfigs(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListLicenseConfigsAsync + public async Task ListLicenseConfigsAsync() + { + // Snippet: ListLicenseConfigsAsync(string, string, int?, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]"; + // Make the request + PagedAsyncEnumerable response = licenseConfigServiceClient.ListLicenseConfigsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListLicenseConfigs + public void ListLicenseConfigsResourceNames() + { + // Snippet: ListLicenseConfigs(LocationName, string, int?, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedEnumerable response = licenseConfigServiceClient.ListLicenseConfigs(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListLicenseConfigsAsync + public async Task ListLicenseConfigsResourceNamesAsync() + { + // Snippet: ListLicenseConfigsAsync(LocationName, string, int?, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"); + // Make the request + PagedAsyncEnumerable response = licenseConfigServiceClient.ListLicenseConfigsAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (LicenseConfig item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListLicenseConfigsResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (LicenseConfig item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (LicenseConfig item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for DistributeLicenseConfig + public void DistributeLicenseConfigRequestObject() + { + // Snippet: DistributeLicenseConfig(DistributeLicenseConfigRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + DistributeLicenseConfigRequest request = new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + ProjectNumber = 0L, + Location = "", + LicenseCount = 0L, + LicenseConfigId = "", + }; + // Make the request + DistributeLicenseConfigResponse response = licenseConfigServiceClient.DistributeLicenseConfig(request); + // End snippet + } + + /// Snippet for DistributeLicenseConfigAsync + public async Task DistributeLicenseConfigRequestObjectAsync() + { + // Snippet: DistributeLicenseConfigAsync(DistributeLicenseConfigRequest, CallSettings) + // Additional: DistributeLicenseConfigAsync(DistributeLicenseConfigRequest, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DistributeLicenseConfigRequest request = new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + ProjectNumber = 0L, + Location = "", + LicenseCount = 0L, + LicenseConfigId = "", + }; + // Make the request + DistributeLicenseConfigResponse response = await licenseConfigServiceClient.DistributeLicenseConfigAsync(request); + // End snippet + } + + /// Snippet for DistributeLicenseConfig + public void DistributeLicenseConfig() + { + // Snippet: DistributeLicenseConfig(string, long, string, long, string, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = licenseConfigServiceClient.DistributeLicenseConfig(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + // End snippet + } + + /// Snippet for DistributeLicenseConfigAsync + public async Task DistributeLicenseConfigAsync() + { + // Snippet: DistributeLicenseConfigAsync(string, long, string, long, string, CallSettings) + // Additional: DistributeLicenseConfigAsync(string, long, string, long, string, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = await licenseConfigServiceClient.DistributeLicenseConfigAsync(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + // End snippet + } + + /// Snippet for DistributeLicenseConfig + public void DistributeLicenseConfigResourceNames() + { + // Snippet: DistributeLicenseConfig(BillingAccountLicenseConfigName, long, string, long, string, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = licenseConfigServiceClient.DistributeLicenseConfig(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + // End snippet + } + + /// Snippet for DistributeLicenseConfigAsync + public async Task DistributeLicenseConfigResourceNamesAsync() + { + // Snippet: DistributeLicenseConfigAsync(BillingAccountLicenseConfigName, long, string, long, string, CallSettings) + // Additional: DistributeLicenseConfigAsync(BillingAccountLicenseConfigName, long, string, long, string, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + long projectNumber = 0L; + string location = ""; + long licenseCount = 0L; + string licenseConfigId = ""; + // Make the request + DistributeLicenseConfigResponse response = await licenseConfigServiceClient.DistributeLicenseConfigAsync(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId); + // End snippet + } + + /// Snippet for RetractLicenseConfig + public void RetractLicenseConfigRequestObject() + { + // Snippet: RetractLicenseConfig(RetractLicenseConfigRequest, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + RetractLicenseConfigRequest request = new RetractLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + LicenseConfigAsLicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + FullRetract = false, + LicenseCount = 0L, + }; + // Make the request + RetractLicenseConfigResponse response = licenseConfigServiceClient.RetractLicenseConfig(request); + // End snippet + } + + /// Snippet for RetractLicenseConfigAsync + public async Task RetractLicenseConfigRequestObjectAsync() + { + // Snippet: RetractLicenseConfigAsync(RetractLicenseConfigRequest, CallSettings) + // Additional: RetractLicenseConfigAsync(RetractLicenseConfigRequest, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + RetractLicenseConfigRequest request = new RetractLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"), + LicenseConfigAsLicenseConfigName = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"), + FullRetract = false, + LicenseCount = 0L, + }; + // Make the request + RetractLicenseConfigResponse response = await licenseConfigServiceClient.RetractLicenseConfigAsync(request); + // End snippet + } + + /// Snippet for RetractLicenseConfig + public void RetractLicenseConfig() + { + // Snippet: RetractLicenseConfig(string, string, bool, long, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + string licenseConfig = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = licenseConfigServiceClient.RetractLicenseConfig(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + // End snippet + } + + /// Snippet for RetractLicenseConfigAsync + public async Task RetractLicenseConfigAsync() + { + // Snippet: RetractLicenseConfigAsync(string, string, bool, long, CallSettings) + // Additional: RetractLicenseConfigAsync(string, string, bool, long, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string billingAccountLicenseConfig = "billingAccounts/[BILLING_ACCOUNT]/billingAccountLicenseConfigs/[BILLING_ACCOUNT_LICENSE_CONFIG]"; + string licenseConfig = "projects/[PROJECT]/locations/[LOCATION]/licenseConfigs/[LICENSE_CONFIG]"; + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = await licenseConfigServiceClient.RetractLicenseConfigAsync(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + // End snippet + } + + /// Snippet for RetractLicenseConfig + public void RetractLicenseConfigResourceNames() + { + // Snippet: RetractLicenseConfig(BillingAccountLicenseConfigName, LicenseConfigName, bool, long, CallSettings) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = LicenseConfigServiceClient.Create(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + LicenseConfigName licenseConfig = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = licenseConfigServiceClient.RetractLicenseConfig(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + // End snippet + } + + /// Snippet for RetractLicenseConfigAsync + public async Task RetractLicenseConfigResourceNamesAsync() + { + // Snippet: RetractLicenseConfigAsync(BillingAccountLicenseConfigName, LicenseConfigName, bool, long, CallSettings) + // Additional: RetractLicenseConfigAsync(BillingAccountLicenseConfigName, LicenseConfigName, bool, long, CancellationToken) + // Create client + LicenseConfigServiceClient licenseConfigServiceClient = await LicenseConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + BillingAccountLicenseConfigName billingAccountLicenseConfig = BillingAccountLicenseConfigName.FromBillingAccountBillingAccountLicenseConfig("[BILLING_ACCOUNT]", "[BILLING_ACCOUNT_LICENSE_CONFIG]"); + LicenseConfigName licenseConfig = LicenseConfigName.FromProjectLocationLicenseConfig("[PROJECT]", "[LOCATION]", "[LICENSE_CONFIG]"); + bool fullRetract = false; + long licenseCount = 0L; + // Make the request + RetractLicenseConfigResponse response = await licenseConfigServiceClient.RetractLicenseConfigAsync(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount); + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ProjectServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ProjectServiceClientSnippets.g.cs index 4f42a2d3b3dd..fe79d773e730 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ProjectServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ProjectServiceClientSnippets.g.cs @@ -35,6 +35,7 @@ public void ProvisionProjectRequestObject() ProjectName = ProjectName.FromProject("[PROJECT]"), AcceptDataUseTerms = false, DataUseTermsVersion = "", + SaasParams = new ProvisionProjectRequest.Types.SaasParams(), }; // Make the request Operation response = projectServiceClient.ProvisionProject(request); @@ -70,6 +71,7 @@ public async Task ProvisionProjectRequestObjectAsync() ProjectName = ProjectName.FromProject("[PROJECT]"), AcceptDataUseTerms = false, DataUseTermsVersion = "", + SaasParams = new ProvisionProjectRequest.Types.SaasParams(), }; // Make the request Operation response = await projectServiceClient.ProvisionProjectAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SearchServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SearchServiceClientSnippets.g.cs index 79e2622b30b3..0bb61f736211 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SearchServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SearchServiceClientSnippets.g.cs @@ -65,12 +65,24 @@ public void SearchRequestObject() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedEnumerable response = searchServiceClient.Search(request); @@ -149,12 +161,24 @@ public async Task SearchRequestObjectAsync() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedAsyncEnumerable response = searchServiceClient.SearchAsync(request); @@ -233,12 +257,24 @@ public void SearchLiteRequestObject() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedEnumerable response = searchServiceClient.SearchLite(request); @@ -317,12 +353,24 @@ public async Task SearchLiteRequestObjectAsync() }, LanguageCode = "", RegionCode = "", + DisplaySpec = new SearchRequest.Types.DisplaySpec(), + CrowdingSpecs = + { + new SearchRequest.Types.CrowdingSpec(), + }, SessionAsSessionName = SessionName.FromProjectLocationDataStoreSession("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SESSION]"), SessionSpec = new SearchRequest.Types.SessionSpec(), RelevanceThreshold = SearchRequest.Types.RelevanceThreshold.Unspecified, PersonalizationSpec = new SearchRequest.Types.PersonalizationSpec(), OneBoxPageSize = 0, + RelevanceScoreSpec = new SearchRequest.Types.RelevanceScoreSpec(), RankingExpressionBackend = SearchRequest.Types.RankingExpressionBackend.Unspecified, + SearchAddonSpec = new SearchRequest.Types.SearchAddonSpec(), + PageCategories = { "", }, + CustomRankingParams = new SearchRequest.Types.CustomRankingParams(), + NumResultsPerDataStore = 0, + Entity = "", + RelevanceFilterSpec = new SearchRequest.Types.RelevanceFilterSpec(), }; // Make the request PagedAsyncEnumerable response = searchServiceClient.SearchLiteAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ServingConfigServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ServingConfigServiceClientSnippets.g.cs index 9e35a69698fc..f670ee3e7bd9 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ServingConfigServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/ServingConfigServiceClientSnippets.g.cs @@ -25,6 +25,223 @@ namespace GoogleCSharpSnippets /// Generated snippets. public sealed class AllGeneratedServingConfigServiceClientSnippets { + /// Snippet for CreateServingConfig + public void CreateServingConfigRequestObject() + { + // Snippet: CreateServingConfig(CreateServingConfigRequest, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + CreateServingConfigRequest request = new CreateServingConfigRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + ServingConfig = new ServingConfig(), + ServingConfigId = "", + }; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(request); + // End snippet + } + + /// Snippet for CreateServingConfigAsync + public async Task CreateServingConfigRequestObjectAsync() + { + // Snippet: CreateServingConfigAsync(CreateServingConfigRequest, CallSettings) + // Additional: CreateServingConfigAsync(CreateServingConfigRequest, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + CreateServingConfigRequest request = new CreateServingConfigRequest + { + ParentAsEngineName = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"), + ServingConfig = new ServingConfig(), + ServingConfigId = "", + }; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(request); + // End snippet + } + + /// Snippet for CreateServingConfig + public void CreateServingConfig() + { + // Snippet: CreateServingConfig(string, ServingConfig, string, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(parent, servingConfig, servingConfigId); + // End snippet + } + + /// Snippet for CreateServingConfigAsync + public async Task CreateServingConfigAsync() + { + // Snippet: CreateServingConfigAsync(string, ServingConfig, string, CallSettings) + // Additional: CreateServingConfigAsync(string, ServingConfig, string, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/collections/[COLLECTION]/engines/[ENGINE]"; + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(parent, servingConfig, servingConfigId); + // End snippet + } + + /// Snippet for CreateServingConfig + public void CreateServingConfigResourceNames1() + { + // Snippet: CreateServingConfig(EngineName, ServingConfig, string, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(parent, servingConfig, servingConfigId); + // End snippet + } + + /// Snippet for CreateServingConfigAsync + public async Task CreateServingConfigResourceNames1Async() + { + // Snippet: CreateServingConfigAsync(EngineName, ServingConfig, string, CallSettings) + // Additional: CreateServingConfigAsync(EngineName, ServingConfig, string, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + EngineName parent = EngineName.FromProjectLocationCollectionEngine("[PROJECT]", "[LOCATION]", "[COLLECTION]", "[ENGINE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(parent, servingConfig, servingConfigId); + // End snippet + } + + /// Snippet for CreateServingConfig + public void CreateServingConfigResourceNames2() + { + // Snippet: CreateServingConfig(DataStoreName, ServingConfig, string, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + DataStoreName parent = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = servingConfigServiceClient.CreateServingConfig(parent, servingConfig, servingConfigId); + // End snippet + } + + /// Snippet for CreateServingConfigAsync + public async Task CreateServingConfigResourceNames2Async() + { + // Snippet: CreateServingConfigAsync(DataStoreName, ServingConfig, string, CallSettings) + // Additional: CreateServingConfigAsync(DataStoreName, ServingConfig, string, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DataStoreName parent = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"); + ServingConfig servingConfig = new ServingConfig(); + string servingConfigId = ""; + // Make the request + ServingConfig response = await servingConfigServiceClient.CreateServingConfigAsync(parent, servingConfig, servingConfigId); + // End snippet + } + + /// Snippet for DeleteServingConfig + public void DeleteServingConfigRequestObject() + { + // Snippet: DeleteServingConfig(DeleteServingConfigRequest, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + DeleteServingConfigRequest request = new DeleteServingConfigRequest + { + ServingConfigName = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"), + }; + // Make the request + servingConfigServiceClient.DeleteServingConfig(request); + // End snippet + } + + /// Snippet for DeleteServingConfigAsync + public async Task DeleteServingConfigRequestObjectAsync() + { + // Snippet: DeleteServingConfigAsync(DeleteServingConfigRequest, CallSettings) + // Additional: DeleteServingConfigAsync(DeleteServingConfigRequest, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + DeleteServingConfigRequest request = new DeleteServingConfigRequest + { + ServingConfigName = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"), + }; + // Make the request + await servingConfigServiceClient.DeleteServingConfigAsync(request); + // End snippet + } + + /// Snippet for DeleteServingConfig + public void DeleteServingConfig() + { + // Snippet: DeleteServingConfig(string, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/dataStores/[DATA_STORE]/servingConfigs/[SERVING_CONFIG]"; + // Make the request + servingConfigServiceClient.DeleteServingConfig(name); + // End snippet + } + + /// Snippet for DeleteServingConfigAsync + public async Task DeleteServingConfigAsync() + { + // Snippet: DeleteServingConfigAsync(string, CallSettings) + // Additional: DeleteServingConfigAsync(string, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/dataStores/[DATA_STORE]/servingConfigs/[SERVING_CONFIG]"; + // Make the request + await servingConfigServiceClient.DeleteServingConfigAsync(name); + // End snippet + } + + /// Snippet for DeleteServingConfig + public void DeleteServingConfigResourceNames() + { + // Snippet: DeleteServingConfig(ServingConfigName, CallSettings) + // Create client + ServingConfigServiceClient servingConfigServiceClient = ServingConfigServiceClient.Create(); + // Initialize request argument(s) + ServingConfigName name = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"); + // Make the request + servingConfigServiceClient.DeleteServingConfig(name); + // End snippet + } + + /// Snippet for DeleteServingConfigAsync + public async Task DeleteServingConfigResourceNamesAsync() + { + // Snippet: DeleteServingConfigAsync(ServingConfigName, CallSettings) + // Additional: DeleteServingConfigAsync(ServingConfigName, CancellationToken) + // Create client + ServingConfigServiceClient servingConfigServiceClient = await ServingConfigServiceClient.CreateAsync(); + // Initialize request argument(s) + ServingConfigName name = ServingConfigName.FromProjectLocationDataStoreServingConfig("[PROJECT]", "[LOCATION]", "[DATA_STORE]", "[SERVING_CONFIG]"); + // Make the request + await servingConfigServiceClient.DeleteServingConfigAsync(name); + // End snippet + } + /// Snippet for UpdateServingConfig public void UpdateServingConfigRequestObject() { diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SessionServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SessionServiceClientSnippets.g.cs index 30ee3b72c272..b8a6a981c5fe 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SessionServiceClientSnippets.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/SessionServiceClientSnippets.g.cs @@ -36,6 +36,7 @@ public void CreateSessionRequestObject() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = sessionServiceClient.CreateSession(request); @@ -54,6 +55,7 @@ public async Task CreateSessionRequestObjectAsync() { ParentAsDataStoreName = DataStoreName.FromProjectLocationDataStore("[PROJECT]", "[LOCATION]", "[DATA_STORE]"), Session = new Session(), + SessionId = "", }; // Make the request Session response = await sessionServiceClient.CreateSessionAsync(request); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserLicenseServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserLicenseServiceClientSnippets.g.cs new file mode 100644 index 000000000000..1ab6c22b2d7c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserLicenseServiceClientSnippets.g.cs @@ -0,0 +1,464 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Api.Gax; + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.LongRunning; + using System; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedUserLicenseServiceClientSnippets + { + /// Snippet for ListUserLicenses + public void ListUserLicensesRequestObject() + { + // Snippet: ListUserLicenses(ListUserLicensesRequest, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + ListUserLicensesRequest request = new ListUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + Filter = "", + OrderBy = "", + }; + // Make the request + PagedEnumerable response = userLicenseServiceClient.ListUserLicenses(request); + + // Iterate over all response items, lazily performing RPCs as required + foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListUserLicensesAsync + public async Task ListUserLicensesRequestObjectAsync() + { + // Snippet: ListUserLicensesAsync(ListUserLicensesRequest, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + ListUserLicensesRequest request = new ListUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + Filter = "", + OrderBy = "", + }; + // Make the request + PagedAsyncEnumerable response = userLicenseServiceClient.ListUserLicensesAsync(request); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListUserLicenses + public void ListUserLicenses() + { + // Snippet: ListUserLicenses(string, string, int?, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + PagedEnumerable response = userLicenseServiceClient.ListUserLicenses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListUserLicensesAsync + public async Task ListUserLicensesAsync() + { + // Snippet: ListUserLicensesAsync(string, string, int?, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + PagedAsyncEnumerable response = userLicenseServiceClient.ListUserLicensesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListUserLicenses + public void ListUserLicensesResourceNames() + { + // Snippet: ListUserLicenses(UserStoreName, string, int?, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + PagedEnumerable response = userLicenseServiceClient.ListUserLicenses(parent); + + // Iterate over all response items, lazily performing RPCs as required + foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = response.ReadPage(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListUserLicensesAsync + public async Task ListUserLicensesResourceNamesAsync() + { + // Snippet: ListUserLicensesAsync(UserStoreName, string, int?, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + PagedAsyncEnumerable response = userLicenseServiceClient.ListUserLicensesAsync(parent); + + // Iterate over all response items, lazily performing RPCs as required + await foreach (UserLicense item in response) + { + // Do something with each item + Console.WriteLine(item); + } + + // Or iterate over pages (of server-defined size), performing one RPC per page + await foreach (ListUserLicensesResponse page in response.AsRawResponses()) + { + // Do something with each page of items + Console.WriteLine("A page of results:"); + foreach (UserLicense item in page) + { + // Do something with each item + Console.WriteLine(item); + } + } + + // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required + int pageSize = 10; + Page singlePage = await response.ReadPageAsync(pageSize); + // Do something with the page of items + Console.WriteLine($"A page of {pageSize} results (unless it's the final page):"); + foreach (UserLicense item in singlePage) + { + // Do something with each item + Console.WriteLine(item); + } + // Store the pageToken, for when the next page is required. + string nextPageToken = singlePage.NextPageToken; + // End snippet + } + + /// Snippet for ListLicenseConfigsUsageStats + public void ListLicenseConfigsUsageStatsRequestObject() + { + // Snippet: ListLicenseConfigsUsageStats(ListLicenseConfigsUsageStatsRequest, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + ListLicenseConfigsUsageStatsRequest request = new ListLicenseConfigsUsageStatsRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + ListLicenseConfigsUsageStatsResponse response = userLicenseServiceClient.ListLicenseConfigsUsageStats(request); + // End snippet + } + + /// Snippet for ListLicenseConfigsUsageStatsAsync + public async Task ListLicenseConfigsUsageStatsRequestObjectAsync() + { + // Snippet: ListLicenseConfigsUsageStatsAsync(ListLicenseConfigsUsageStatsRequest, CallSettings) + // Additional: ListLicenseConfigsUsageStatsAsync(ListLicenseConfigsUsageStatsRequest, CancellationToken) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + ListLicenseConfigsUsageStatsRequest request = new ListLicenseConfigsUsageStatsRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + ListLicenseConfigsUsageStatsResponse response = await userLicenseServiceClient.ListLicenseConfigsUsageStatsAsync(request); + // End snippet + } + + /// Snippet for ListLicenseConfigsUsageStats + public void ListLicenseConfigsUsageStats() + { + // Snippet: ListLicenseConfigsUsageStats(string, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + ListLicenseConfigsUsageStatsResponse response = userLicenseServiceClient.ListLicenseConfigsUsageStats(parent); + // End snippet + } + + /// Snippet for ListLicenseConfigsUsageStatsAsync + public async Task ListLicenseConfigsUsageStatsAsync() + { + // Snippet: ListLicenseConfigsUsageStatsAsync(string, CallSettings) + // Additional: ListLicenseConfigsUsageStatsAsync(string, CancellationToken) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + string parent = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + ListLicenseConfigsUsageStatsResponse response = await userLicenseServiceClient.ListLicenseConfigsUsageStatsAsync(parent); + // End snippet + } + + /// Snippet for ListLicenseConfigsUsageStats + public void ListLicenseConfigsUsageStatsResourceNames() + { + // Snippet: ListLicenseConfigsUsageStats(UserStoreName, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + ListLicenseConfigsUsageStatsResponse response = userLicenseServiceClient.ListLicenseConfigsUsageStats(parent); + // End snippet + } + + /// Snippet for ListLicenseConfigsUsageStatsAsync + public async Task ListLicenseConfigsUsageStatsResourceNamesAsync() + { + // Snippet: ListLicenseConfigsUsageStatsAsync(UserStoreName, CallSettings) + // Additional: ListLicenseConfigsUsageStatsAsync(UserStoreName, CancellationToken) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStoreName parent = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + ListLicenseConfigsUsageStatsResponse response = await userLicenseServiceClient.ListLicenseConfigsUsageStatsAsync(parent); + // End snippet + } + + /// Snippet for BatchUpdateUserLicenses + public void BatchUpdateUserLicensesRequestObject() + { + // Snippet: BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest, CallSettings) + // Create client + UserLicenseServiceClient userLicenseServiceClient = UserLicenseServiceClient.Create(); + // Initialize request argument(s) + BatchUpdateUserLicensesRequest request = new BatchUpdateUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + InlineSource = new BatchUpdateUserLicensesRequest.Types.InlineSource(), + DeleteUnassignedUserLicenses = false, + }; + // Make the request + Operation response = userLicenseServiceClient.BatchUpdateUserLicenses(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = response.PollUntilCompleted(); + // Retrieve the operation result + BatchUpdateUserLicensesResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = userLicenseServiceClient.PollOnceBatchUpdateUserLicenses(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BatchUpdateUserLicensesResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + + /// Snippet for BatchUpdateUserLicensesAsync + public async Task BatchUpdateUserLicensesRequestObjectAsync() + { + // Snippet: BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest, CallSettings) + // Additional: BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest, CancellationToken) + // Create client + UserLicenseServiceClient userLicenseServiceClient = await UserLicenseServiceClient.CreateAsync(); + // Initialize request argument(s) + BatchUpdateUserLicensesRequest request = new BatchUpdateUserLicensesRequest + { + ParentAsUserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + InlineSource = new BatchUpdateUserLicensesRequest.Types.InlineSource(), + DeleteUnassignedUserLicenses = false, + }; + // Make the request + Operation response = await userLicenseServiceClient.BatchUpdateUserLicensesAsync(request); + + // Poll until the returned long-running operation is complete + Operation completedResponse = await response.PollUntilCompletedAsync(); + // Retrieve the operation result + BatchUpdateUserLicensesResponse result = completedResponse.Result; + + // Or get the name of the operation + string operationName = response.Name; + // This name can be stored, then the long-running operation retrieved later by name + Operation retrievedResponse = await userLicenseServiceClient.PollOnceBatchUpdateUserLicensesAsync(operationName); + // Check if the retrieved long-running operation has completed + if (retrievedResponse.IsCompleted) + { + // If it has completed, then access the result + BatchUpdateUserLicensesResponse retrievedResult = retrievedResponse.Result; + } + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserStoreServiceClientSnippets.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserStoreServiceClientSnippets.g.cs new file mode 100644 index 000000000000..3711d5fb9ee1 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.Snippets/UserStoreServiceClientSnippets.g.cs @@ -0,0 +1,177 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace GoogleCSharpSnippets +{ + using Google.Cloud.DiscoveryEngine.V1Beta; + using Google.Protobuf.WellKnownTypes; + using System.Threading.Tasks; + + /// Generated snippets. + public sealed class AllGeneratedUserStoreServiceClientSnippets + { + /// Snippet for GetUserStore + public void GetUserStoreRequestObject() + { + // Snippet: GetUserStore(GetUserStoreRequest, CallSettings) + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + GetUserStoreRequest request = new GetUserStoreRequest + { + UserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + UserStore response = userStoreServiceClient.GetUserStore(request); + // End snippet + } + + /// Snippet for GetUserStoreAsync + public async Task GetUserStoreRequestObjectAsync() + { + // Snippet: GetUserStoreAsync(GetUserStoreRequest, CallSettings) + // Additional: GetUserStoreAsync(GetUserStoreRequest, CancellationToken) + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + GetUserStoreRequest request = new GetUserStoreRequest + { + UserStoreName = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"), + }; + // Make the request + UserStore response = await userStoreServiceClient.GetUserStoreAsync(request); + // End snippet + } + + /// Snippet for GetUserStore + public void GetUserStore() + { + // Snippet: GetUserStore(string, CallSettings) + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + UserStore response = userStoreServiceClient.GetUserStore(name); + // End snippet + } + + /// Snippet for GetUserStoreAsync + public async Task GetUserStoreAsync() + { + // Snippet: GetUserStoreAsync(string, CallSettings) + // Additional: GetUserStoreAsync(string, CancellationToken) + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + string name = "projects/[PROJECT]/locations/[LOCATION]/userStores/[USER_STORE]"; + // Make the request + UserStore response = await userStoreServiceClient.GetUserStoreAsync(name); + // End snippet + } + + /// Snippet for GetUserStore + public void GetUserStoreResourceNames() + { + // Snippet: GetUserStore(UserStoreName, CallSettings) + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + UserStoreName name = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + UserStore response = userStoreServiceClient.GetUserStore(name); + // End snippet + } + + /// Snippet for GetUserStoreAsync + public async Task GetUserStoreResourceNamesAsync() + { + // Snippet: GetUserStoreAsync(UserStoreName, CallSettings) + // Additional: GetUserStoreAsync(UserStoreName, CancellationToken) + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStoreName name = UserStoreName.FromProjectLocationUserStore("[PROJECT]", "[LOCATION]", "[USER_STORE]"); + // Make the request + UserStore response = await userStoreServiceClient.GetUserStoreAsync(name); + // End snippet + } + + /// Snippet for UpdateUserStore + public void UpdateUserStoreRequestObject() + { + // Snippet: UpdateUserStore(UpdateUserStoreRequest, CallSettings) + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + UpdateUserStoreRequest request = new UpdateUserStoreRequest + { + UserStore = new UserStore(), + UpdateMask = new FieldMask(), + }; + // Make the request + UserStore response = userStoreServiceClient.UpdateUserStore(request); + // End snippet + } + + /// Snippet for UpdateUserStoreAsync + public async Task UpdateUserStoreRequestObjectAsync() + { + // Snippet: UpdateUserStoreAsync(UpdateUserStoreRequest, CallSettings) + // Additional: UpdateUserStoreAsync(UpdateUserStoreRequest, CancellationToken) + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + UpdateUserStoreRequest request = new UpdateUserStoreRequest + { + UserStore = new UserStore(), + UpdateMask = new FieldMask(), + }; + // Make the request + UserStore response = await userStoreServiceClient.UpdateUserStoreAsync(request); + // End snippet + } + + /// Snippet for UpdateUserStore + public void UpdateUserStore() + { + // Snippet: UpdateUserStore(UserStore, FieldMask, CallSettings) + // Create client + UserStoreServiceClient userStoreServiceClient = UserStoreServiceClient.Create(); + // Initialize request argument(s) + UserStore userStore = new UserStore(); + FieldMask updateMask = new FieldMask(); + // Make the request + UserStore response = userStoreServiceClient.UpdateUserStore(userStore, updateMask); + // End snippet + } + + /// Snippet for UpdateUserStoreAsync + public async Task UpdateUserStoreAsync() + { + // Snippet: UpdateUserStoreAsync(UserStore, FieldMask, CallSettings) + // Additional: UpdateUserStoreAsync(UserStore, FieldMask, CancellationToken) + // Create client + UserStoreServiceClient userStoreServiceClient = await UserStoreServiceClient.CreateAsync(); + // Initialize request argument(s) + UserStore userStore = new UserStore(); + FieldMask updateMask = new FieldMask(); + // Make the request + UserStore response = await userStoreServiceClient.UpdateUserStoreAsync(userStore, updateMask); + // End snippet + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfig.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfig.g.cs new file mode 100644 index 000000000000..14e6772367b5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfig.g.cs @@ -0,0 +1,315 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/acl_config.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/acl_config.proto + public static partial class AclConfigReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/acl_config.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AclConfigReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjRnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hY2xfY29u", + "ZmlnLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0", + "YRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2Fw", + "aS9yZXNvdXJjZS5wcm90bxowZ29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2lu", + "ZS92MWJldGEvY29tbW9uLnByb3RvIsQBCglBY2xDb25maWcSEQoEbmFtZRgB", + "IAEoCUID4EEFEkIKCmlkcF9jb25maWcYAiABKAsyLi5nb29nbGUuY2xvdWQu", + "ZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5JZHBDb25maWc6YOpBXQooZGlzY292", + "ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29tL0FjbENvbmZpZxIxcHJvamVjdHMv", + "e3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2FjbENvbmZpZ0KVAgon", + "Y29tLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQg5BY2xD", + "b25maWdQcm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVu", + "Z2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5n", + "aW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292", + "ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdp", + "bmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpW", + "MWJldGFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig.Parser, new[]{ "Name", "IdpConfig" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Access Control Configuration. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AclConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AclConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfigReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AclConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AclConfig(AclConfig other) : this() { + name_ = other.name_; + idpConfig_ = other.idpConfig_ != null ? other.idpConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AclConfig Clone() { + return new AclConfig(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The full resource name of the acl configuration. + /// Format: + /// `projects/{project}/locations/{location}/aclConfig`. + /// + /// This field must be a UTF-8 encoded string with a length limit of 1024 + /// characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "idp_config" field. + public const int IdpConfigFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig idpConfig_; + /// + /// Identity provider config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig IdpConfig { + get { return idpConfig_; } + set { + idpConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AclConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AclConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(IdpConfig, other.IdpConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (idpConfig_ != null) hash ^= IdpConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (idpConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(IdpConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (idpConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(IdpConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (idpConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdpConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AclConfig other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.idpConfig_ != null) { + if (idpConfig_ == null) { + IdpConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig(); + } + IdpConfig.MergeFrom(other.IdpConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (idpConfig_ == null) { + IdpConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig(); + } + input.ReadMessage(IdpConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (idpConfig_ == null) { + IdpConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig(); + } + input.ReadMessage(IdpConfig); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigResourceNames.g.cs new file mode 100644 index 000000000000..ab1c28e8305b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigResourceNames.g.cs @@ -0,0 +1,266 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the AclConfig resource. + public sealed partial class AclConfigName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/aclConfig. + /// + ProjectLocation = 1, + } + + private static gax::PathTemplate s_projectLocation = new gax::PathTemplate("projects/{project}/locations/{location}/aclConfig"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static AclConfigName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new AclConfigName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern projects/{project}/locations/{location}/aclConfig + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AclConfigName FromProjectLocation(string projectId, string locationId) => + new AclConfigName(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/aclConfig. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/aclConfig. + /// + public static string Format(string projectId, string locationId) => FormatProjectLocation(projectId, locationId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/aclConfig. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/aclConfig. + /// + public static string FormatProjectLocation(string projectId, string locationId) => + s_projectLocation.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/aclConfig + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static AclConfigName Parse(string aclConfigName) => Parse(aclConfigName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/aclConfig + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static AclConfigName Parse(string aclConfigName, bool allowUnparsed) => + TryParse(aclConfigName, allowUnparsed, out AclConfigName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/aclConfig + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string aclConfigName, out AclConfigName result) => TryParse(aclConfigName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/aclConfig + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string aclConfigName, bool allowUnparsed, out AclConfigName result) + { + gax::GaxPreconditions.CheckNotNull(aclConfigName, nameof(aclConfigName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocation.TryParseName(aclConfigName, out resourceName)) + { + result = FromProjectLocation(resourceName[0], resourceName[1]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(aclConfigName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private AclConfigName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/aclConfig + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + public AclConfigName(string projectId, string locationId) : this(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocation: return s_projectLocation.Expand(ProjectId, LocationId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as AclConfigName); + + /// + public bool Equals(AclConfigName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(AclConfigName a, AclConfigName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(AclConfigName a, AclConfigName b) => !(a == b); + } + + public partial class AclConfig + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AclConfigName AclConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AclConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigService.g.cs new file mode 100644 index 000000000000..fc953748d0c5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigService.g.cs @@ -0,0 +1,493 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/acl_config_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/acl_config_service.proto + public static partial class AclConfigServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/acl_config_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AclConfigServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cjxnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hY2xfY29u", + "ZmlnX3NlcnZpY2UucHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3Zlcnllbmdp", + "bmUudjF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25zLyovYWNsQ29uZmlnfRrPAcpBHmRpc2NvdmVyeWVuZ2luZS5nb29nbGVh", + "cGlzLmNvbdJBqgFodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Ns", + "b3VkLXBsYXRmb3JtLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgv", + "ZGlzY292ZXJ5ZW5naW5lLnJlYWR3cml0ZSxodHRwczovL3d3dy5nb29nbGVh", + "cGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5zZXJ2aW5nLnJlYWR3cml0", + "ZUKcAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRh", + "QhVBY2xDb25maWdTZXJ2aWNlUHJvdG9QAVpRY2xvdWQuZ29vZ2xlLmNvbS9n", + "by9kaXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rpc2NvdmVyeWVuZ2luZXBi", + "O2Rpc2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZRU5HSU5FqgIjR29vZ2xl", + "LkNsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHKAiNHb29nbGVcQ2xvdWRc", + "RGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRpc2Nv", + "dmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfigReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest.Parser, new[]{ "AclConfig" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for GetAclConfigRequest method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAclConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAclConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAclConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAclConfigRequest(GetAclConfigRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAclConfigRequest Clone() { + return new GetAclConfigRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAclConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAclConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAclConfigRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for UpdateAclConfig method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateAclConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateAclConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAclConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAclConfigRequest(UpdateAclConfigRequest other) : this() { + aclConfig_ = other.aclConfig_ != null ? other.aclConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAclConfigRequest Clone() { + return new UpdateAclConfigRequest(this); + } + + /// Field number for the "acl_config" field. + public const int AclConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig aclConfig_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig AclConfig { + get { return aclConfig_; } + set { + aclConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateAclConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateAclConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AclConfig, other.AclConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (aclConfig_ != null) hash ^= AclConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (aclConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AclConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (aclConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AclConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (aclConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AclConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateAclConfigRequest other) { + if (other == null) { + return; + } + if (other.aclConfig_ != null) { + if (aclConfig_ == null) { + AclConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig(); + } + AclConfig.MergeFrom(other.AclConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (aclConfig_ == null) { + AclConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig(); + } + input.ReadMessage(AclConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (aclConfig_ == null) { + AclConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig(); + } + input.ReadMessage(AclConfig); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceClient.g.cs new file mode 100644 index 000000000000..d73b8ab42503 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceClient.g.cs @@ -0,0 +1,529 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class AclConfigServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static AclConfigServiceSettings GetDefault() => new AclConfigServiceSettings(); + + /// Constructs a new object with default settings. + public AclConfigServiceSettings() + { + } + + private AclConfigServiceSettings(AclConfigServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + UpdateAclConfigSettings = existing.UpdateAclConfigSettings; + GetAclConfigSettings = existing.GetAclConfigSettings; + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(AclConfigServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// AclConfigServiceClient.UpdateAclConfig and AclConfigServiceClient.UpdateAclConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings UpdateAclConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// AclConfigServiceClient.GetAclConfig and AclConfigServiceClient.GetAclConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings GetAclConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public AclConfigServiceSettings Clone() => new AclConfigServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, endpoint + /// etc. + /// + public sealed partial class AclConfigServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public AclConfigServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public AclConfigServiceClientBuilder() : base(AclConfigServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref AclConfigServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override AclConfigServiceClient Build() + { + AclConfigServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private AclConfigServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return AclConfigServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return AclConfigServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => AclConfigServiceClient.ChannelPool; + } + + /// AclConfigService client wrapper, for convenient use. + /// + /// Service for managing Acl Configuration. + /// + public abstract partial class AclConfigServiceClient + { + /// + /// The default endpoint for the AclConfigService service, which is a host of "discoveryengine.googleapis.com" + /// and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default AclConfigService scopes. + /// + /// The default AclConfigService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AclConfigService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new AclConfigServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// The created . + public static AclConfigServiceClient Create() => new AclConfigServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static AclConfigServiceClient Create(grpccore::CallInvoker callInvoker, AclConfigServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + AclConfigService.AclConfigServiceClient grpcClient = new AclConfigService.AclConfigServiceClient(callInvoker); + return new AclConfigServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC AclConfigService client + public virtual AclConfigService.AclConfigServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AclConfig UpdateAclConfig(UpdateAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAclConfigAsync(UpdateAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAclConfigAsync(UpdateAclConfigRequest request, st::CancellationToken cancellationToken) => + UpdateAclConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AclConfig GetAclConfig(GetAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAclConfigAsync(GetAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAclConfigAsync(GetAclConfigRequest request, st::CancellationToken cancellationToken) => + GetAclConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AclConfig GetAclConfig(string name, gaxgrpc::CallSettings callSettings = null) => + GetAclConfig(new GetAclConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAclConfigAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetAclConfigAsync(new GetAclConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAclConfigAsync(string name, st::CancellationToken cancellationToken) => + GetAclConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual AclConfig GetAclConfig(AclConfigName name, gaxgrpc::CallSettings callSettings = null) => + GetAclConfig(new GetAclConfigRequest + { + AclConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAclConfigAsync(AclConfigName name, gaxgrpc::CallSettings callSettings = null) => + GetAclConfigAsync(new GetAclConfigRequest + { + AclConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// + /// Required. Resource name of + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], such as + /// `projects/*/locations/*/aclConfig`. + /// + /// If the caller does not have permission to access the + /// [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAclConfigAsync(AclConfigName name, st::CancellationToken cancellationToken) => + GetAclConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + } + + /// AclConfigService client wrapper implementation, for convenient use. + /// + /// Service for managing Acl Configuration. + /// + public sealed partial class AclConfigServiceClientImpl : AclConfigServiceClient + { + private readonly gaxgrpc::ApiCall _callUpdateAclConfig; + + private readonly gaxgrpc::ApiCall _callGetAclConfig; + + /// + /// Constructs a client wrapper for the AclConfigService service, with the specified gRPC client and settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public AclConfigServiceClientImpl(AclConfigService.AclConfigServiceClient grpcClient, AclConfigServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + AclConfigServiceSettings effectiveSettings = settings ?? AclConfigServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callUpdateAclConfig = clientHelper.BuildApiCall("UpdateAclConfig", grpcClient.UpdateAclConfigAsync, grpcClient.UpdateAclConfig, effectiveSettings.UpdateAclConfigSettings).WithGoogleRequestParam("acl_config.name", request => request.AclConfig?.Name); + Modify_ApiCall(ref _callUpdateAclConfig); + Modify_UpdateAclConfigApiCall(ref _callUpdateAclConfig); + _callGetAclConfig = clientHelper.BuildApiCall("GetAclConfig", grpcClient.GetAclConfigAsync, grpcClient.GetAclConfig, effectiveSettings.GetAclConfigSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetAclConfig); + Modify_GetAclConfigApiCall(ref _callGetAclConfig); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_UpdateAclConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetAclConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(AclConfigService.AclConfigServiceClient grpcClient, AclConfigServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC AclConfigService client + public override AclConfigService.AclConfigServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_UpdateAclConfigRequest(ref UpdateAclConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetAclConfigRequest(ref GetAclConfigRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override AclConfig UpdateAclConfig(UpdateAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateAclConfigRequest(ref request, ref callSettings); + return _callUpdateAclConfig.Sync(request, callSettings); + } + + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateAclConfigAsync(UpdateAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateAclConfigRequest(ref request, ref callSettings); + return _callUpdateAclConfig.Async(request, callSettings); + } + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override AclConfig GetAclConfig(GetAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAclConfigRequest(ref request, ref callSettings); + return _callGetAclConfig.Sync(request, callSettings); + } + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetAclConfigAsync(GetAclConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAclConfigRequest(ref request, ref callSettings); + return _callGetAclConfig.Async(request, callSettings); + } + } + + public static partial class AclConfigService + { + public partial class AclConfigServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceGrpc.g.cs new file mode 100644 index 000000000000..a001af4bc8ea --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceGrpc.g.cs @@ -0,0 +1,289 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/acl_config_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing Acl Configuration. + /// + public static partial class AclConfigService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.AclConfigService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateAclConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_AclConfig = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetAclConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateAclConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateAclConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_UpdateAclConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_AclConfig); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetAclConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetAclConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_GetAclConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_AclConfig); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfigServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of AclConfigService + [grpc::BindServiceMethod(typeof(AclConfigService), "BindService")] + public abstract partial class AclConfigServiceBase + { + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateAclConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetAclConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for AclConfigService + public partial class AclConfigServiceClient : grpc::ClientBase + { + /// Creates a new client for AclConfigService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public AclConfigServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for AclConfigService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public AclConfigServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected AclConfigServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected AclConfigServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig UpdateAclConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateAclConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig UpdateAclConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateAclConfig, null, options, request); + } + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateAclConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateAclConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Default ACL configuration for use in a location of a customer's project. + /// Updates will only reflect to new data stores. Existing data stores will + /// still use the old value. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateAclConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAclConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateAclConfig, null, options, request); + } + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig GetAclConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAclConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.AclConfig GetAclConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetAclConfig, null, options, request); + } + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAclConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAclConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAclConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAclConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetAclConfig, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override AclConfigServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new AclConfigServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(AclConfigServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_UpdateAclConfig, serviceImpl.UpdateAclConfig) + .AddMethod(__Method_GetAclConfig, serviceImpl.GetAclConfig).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, AclConfigServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_UpdateAclConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateAclConfig)); + serviceBinder.AddMethod(__Method_GetAclConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetAclConfig)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceResourceNames.g.cs new file mode 100644 index 000000000000..f7398e63f170 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AclConfigServiceResourceNames.g.cs @@ -0,0 +1,33 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class GetAclConfigRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AclConfigName AclConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AclConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySetting.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySetting.g.cs new file mode 100644 index 000000000000..4857bba604e8 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySetting.g.cs @@ -0,0 +1,491 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/agent_gateway_setting.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/agent_gateway_setting.proto + public static partial class AgentGatewaySettingReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/agent_gateway_setting.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AgentGatewaySettingReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cj9nb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hZ2VudF9n", + "YXRld2F5X3NldHRpbmcucHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3Zlcnll", + "bmdpbmUudjFiZXRhGh9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3Rv", + "Ghlnb29nbGUvYXBpL3Jlc291cmNlLnByb3RvIu8BChNBZ2VudEdhdGV3YXlT", + "ZXR0aW5nEnkKHGRlZmF1bHRfZWdyZXNzX2FnZW50X2dhdGV3YXkYASABKAsy", + "Ti5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5BZ2VudEdh", + "dGV3YXlTZXR0aW5nLkFnZW50R2F0ZXdheVJlZmVyZW5jZUID4EEBGl0KFUFn", + "ZW50R2F0ZXdheVJlZmVyZW5jZRJECgRuYW1lGAEgASgJQjbgQQLgQQX6QS0K", + "K25ldHdvcmtzZXJ2aWNlcy5nb29nbGVhcGlzLmNvbS9BZ2VudEdhdGV3YXlC", + "nwIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YUIY", + "QWdlbnRHYXRld2F5U2V0dGluZ1Byb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20v", + "Z28vZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVw", + "YjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2ds", + "ZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3Vk", + "XERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNj", + "b3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting), global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Parser, new[]{ "DefaultEgressAgentGateway" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference), global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference.Parser, new[]{ "Name" }, null, null, null, null)}) + })); + } + #endregion + + } + #region Messages + /// + /// Agent Gateway setting, which may be attached to Gemini Enterprise resources + /// for egress control of Gemini Enterprise agents to agents and tools outside of + /// Gemini Enterprise. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentGatewaySetting : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentGatewaySetting()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySettingReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGatewaySetting() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGatewaySetting(AgentGatewaySetting other) : this() { + defaultEgressAgentGateway_ = other.defaultEgressAgentGateway_ != null ? other.defaultEgressAgentGateway_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGatewaySetting Clone() { + return new AgentGatewaySetting(this); + } + + /// Field number for the "default_egress_agent_gateway" field. + public const int DefaultEgressAgentGatewayFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference defaultEgressAgentGateway_; + /// + /// Optional. The default egress agent gateway to use, when this setting is + /// applied to a Gemini Enterprise resource. + /// + /// The deployment mode must be GOOGLE_MANAGED, and the governed access path + /// must be AGENT_TO_ANYWHERE. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference DefaultEgressAgentGateway { + get { return defaultEgressAgentGateway_; } + set { + defaultEgressAgentGateway_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentGatewaySetting); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentGatewaySetting other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(DefaultEgressAgentGateway, other.DefaultEgressAgentGateway)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (defaultEgressAgentGateway_ != null) hash ^= DefaultEgressAgentGateway.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (defaultEgressAgentGateway_ != null) { + output.WriteRawTag(10); + output.WriteMessage(DefaultEgressAgentGateway); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (defaultEgressAgentGateway_ != null) { + output.WriteRawTag(10); + output.WriteMessage(DefaultEgressAgentGateway); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (defaultEgressAgentGateway_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultEgressAgentGateway); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentGatewaySetting other) { + if (other == null) { + return; + } + if (other.defaultEgressAgentGateway_ != null) { + if (defaultEgressAgentGateway_ == null) { + DefaultEgressAgentGateway = new global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference(); + } + DefaultEgressAgentGateway.MergeFrom(other.DefaultEgressAgentGateway); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (defaultEgressAgentGateway_ == null) { + DefaultEgressAgentGateway = new global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference(); + } + input.ReadMessage(DefaultEgressAgentGateway); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (defaultEgressAgentGateway_ == null) { + DefaultEgressAgentGateway = new global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Types.AgentGatewayReference(); + } + input.ReadMessage(DefaultEgressAgentGateway); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AgentGatewaySetting message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Reference to an Agent Gateway resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentGatewayReference : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentGatewayReference()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGatewayReference() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGatewayReference(AgentGatewayReference other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGatewayReference Clone() { + return new AgentGatewayReference(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. Immutable. The resource name of the agent gateway. + /// + /// Expected format: + /// `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentGatewayReference); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentGatewayReference other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentGatewayReference other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySettingResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySettingResourceNames.g.cs new file mode 100644 index 000000000000..53ad746a2009 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AgentGatewaySettingResourceNames.g.cs @@ -0,0 +1,39 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class AgentGatewaySetting + { + public partial class Types + { + public partial class AgentGatewayReference + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AgentGatewayName AgentGatewayName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AgentGatewayName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Answer.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Answer.g.cs index c5050cbda921..b5d12229d831 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Answer.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Answer.g.cs @@ -27,123 +27,152 @@ static AnswerReflection() { "CjBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hbnN3ZXIu", "cHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhGh9n", "b29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jl", - "c291cmNlLnByb3RvGhxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvGh9n", - "b29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvIq0jCgZBbnN3ZXISEQoE", - "bmFtZRgBIAEoCUID4EEFEkAKBXN0YXRlGAIgASgOMjEuZ29vZ2xlLmNsb3Vk", - "LmRpc2NvdmVyeWVuZ2luZS52MWJldGEuQW5zd2VyLlN0YXRlEhMKC2Fuc3dl", - "cl90ZXh0GAMgASgJEkcKCWNpdGF0aW9ucxgEIAMoCzI0Lmdvb2dsZS5jbG91", - "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkFuc3dlci5DaXRhdGlvbhJJCgpy", - "ZWZlcmVuY2VzGAUgAygLMjUuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2lu", - "ZS52MWJldGEuQW5zd2VyLlJlZmVyZW5jZRIZChFyZWxhdGVkX3F1ZXN0aW9u", - "cxgGIAMoCRI/CgVzdGVwcxgHIAMoCzIwLmdvb2dsZS5jbG91ZC5kaXNjb3Zl", - "cnllbmdpbmUudjFiZXRhLkFuc3dlci5TdGVwEmQKGHF1ZXJ5X3VuZGVyc3Rh", - "bmRpbmdfaW5mbxgKIAEoCzJCLmdvb2dsZS5jbG91ZC5kaXNjb3Zlcnllbmdp", - "bmUudjFiZXRhLkFuc3dlci5RdWVyeVVuZGVyc3Rh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j4KCGRvY3VtZW50GAEgASgJQiz6QSkKJ2Rpc2NvdmVy", - "eWVuZ2luZS5nb29nbGVhcGlzLmNvbS9Eb2N1bWVudBILCgN1cmkYAiABKAkS", - "DQoFdGl0bGUYAyABKAkScwoOY2h1bmtfY29udGVudHMYBCADKAsyWy5nb29n", - "bGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5BbnN3ZXIuUmVmZXJl", - "bmNlLlVuc3RydWN0dXJlZERvY3VtZW50SW5mby5DaHVua0NvbnRlbnQSLAoL", - "c3RydWN0X2RhdGEYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0GmoK", - "DENodW5rQ29udGVudBIPCgdjb250ZW50GAEgASgJEhcKD3BhZ2VfaWRlbnRp", - "ZmllchgCIAEoCRIcCg9yZWxldmFuY2Vfc2NvcmUYAyABKAJIAIgBAUISChBf", - "cmVsZXZhbmNlX3Njb3JlGq0DCglDaHVua0luZm8SOAoFY2h1bmsYASABKAlC", - "KfpBJgokZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29tL0NodW5rEg8K", - "B2NvbnRlbnQYAiABKAkSHAoPcmVsZXZhbmNlX3Njb3JlGAMgASgCSACIAQES", - "awoRZG9jdW1lbnRfbWV0YWRhdGEYBCABKAsyUC5nb29nbGUuY2xvdWQuZGlz", - "Y292ZXJ5ZW5naW5lLnYxYmV0YS5BbnN3ZXIuUmVmZXJlbmNlLkNodW5rSW5m", - "by5Eb2N1bWVudE1ldGFkYXRhGrUBChBEb2N1bWVudE1ldGFkYXRhEj4KCGRv", - "Y3VtZW50GAEgASgJQiz6QSkKJ2Rpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlz", - "LmNvbS9Eb2N1bWVudBILCgN1cmkYAiABKAkSDQoFdGl0bGUYAyABKAkSFwoP", - "cGFnZV9pZGVudGlmaWVyGAQgASgJEiwKC3N0cnVjdF9kYXRhGAUgASgLMhcu", - "Z29vZ2xlLnByb3RvYnVmLlN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a2lwcGVkUmVhc29uEjQK", + "C2NyZWF0ZV90aW1lGAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFt", + "cEID4EEDEjYKDWNvbXBsZXRlX3RpbWUYCSABKAsyGi5nb29nbGUucHJvdG9i", + "dWYuVGltZXN0YW1wQgPgQQMSTgoOc2FmZXR5X3JhdGluZ3MYDiADKAsyMS5n", + "b29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5TYWZldHlSYXRp", + "bmdCA+BBARp/CghDaXRhdGlvbhITCgtzdGFydF9pbmRleBgBIAEoAxIRCgll", + "bmRfaW5kZXgYAiABKAMSSwoHc291cmNlcxgDIAMoCzI6Lmdvb2dsZS5jbG91", + "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkFuc3dlci5DaXRhdGlvblNvdXJj", + "ZRomCg5DaXRhdGlvblNvdXJjZRIUCgxyZWZlcmVuY2VfaWQYASABKAkajAIK", + "EEdyb3VuZGluZ1N1cHBvcnQSGAoLc3RhcnRfaW5kZXgYASABKANCA+BBAhIW", + "CgllbmRfaW5kZXgYAiABKANCA+BBAhIcCg9ncm91bmRpbmdfc2NvcmUYAyAB", + "KAFIAIgBARIlChhncm91bmRpbmdfY2hlY2tfcmVxdWlyZWQYBCABKAhIAYgB", + "ARJQCgdzb3VyY2VzGAUgAygLMjouZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVu", + "Z2luZS52MWJldGEuQW5zd2VyLkNpdGF0aW9uU291cmNlQgPgQQFCEgoQX2dy", + "b3VuZGluZ19zY29yZUIbChlfZ3JvdW5kaW5nX2NoZWNrX3JlcXVpcmVkGokL", + "CglSZWZlcmVuY2USdAoadW5zdHJ1Y3R1cmVkX2RvY3VtZW50X2luZm8YASAB", + "KAsyTi5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5BbnN3", + "ZXIuUmVmZXJlbmNlLlVuc3RydWN0dXJlZERvY3VtZW50SW5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NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNv", + "bS9BbnN3ZXISY3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0", + "aW9ufS9kYXRhU3RvcmVzL3tkYXRhX3N0b3JlfS9zZXNzaW9ucy97c2Vzc2lv", + "bn0vYW5zd2Vycy97YW5zd2VyfRJ8cHJvamVjdHMve3Byb2plY3R9L2xvY2F0", + "aW9ucy97bG9jYXRpb259L2NvbGxlY3Rpb25zL3tjb2xsZWN0aW9ufS9kYXRh", + "U3RvcmVzL3tkYXRhX3N0b3JlfS9zZXNzaW9ucy97c2Vzc2lvbn0vYW5zd2Vy", + "cy97YW5zd2VyfRJ1cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9j", + "YXRpb259L2NvbGxlY3Rpb25zL3tjb2xsZWN0aW9ufS9lbmdpbmVzL3tlbmdp", + "bmV9L3Nlc3Npb25zL3tzZXNzaW9ufS9hbnN3ZXJzL3thbnN3ZXJ9QhIKEF9n", + "cm91bmRpbmdfc2NvcmVCkgIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5", + "ZW5naW5lLnYxYmV0YUILQW5zd2VyUHJvdG9QAVpRY2xvdWQuZ29vZ2xlLmNv", + "bS9nby9kaXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rpc2NvdmVyeWVuZ2lu", + "ZXBiO2Rpc2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZRU5HSU5FqgIjR29v", + "Z2xlLkNsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHKAiNHb29nbGVcQ2xv", + "dWRcRGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRp", + "c2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Parser, new[]{ "Name", "State", "AnswerText", "Citations", "References", "RelatedQuestions", "Steps", "QueryUnderstandingInfo", "AnswerSkippedReasons", "CreateTime", "CompleteTime" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.State), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.AnswerSkippedReason) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Citation), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Citation.Parser, new[]{ "StartIndex", "EndIndex", "Sources" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Parser, new[]{ "Name", "State", "AnswerText", "GroundingScore", "Citations", "GroundingSupports", "References", "BlobAttachments", "RelatedQuestions", "Steps", "QueryUnderstandingInfo", "AnswerSkippedReasons", "CreateTime", "CompleteTime", "SafetyRatings" }, new[]{ "GroundingScore" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.State), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.AnswerSkippedReason) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Citation), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Citation.Parser, new[]{ "StartIndex", "EndIndex", "Sources" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.CitationSource), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.CitationSource.Parser, new[]{ "ReferenceId" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Parser, new[]{ "UnstructuredDocumentInfo", "ChunkInfo", "StructuredDocumentInfo" }, new[]{ "Content" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Parser, new[]{ "Document", "Uri", "Title", "ChunkContents", "StructData" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent.Parser, new[]{ "Content", "PageIdentifier", "RelevanceScore" }, new[]{ "RelevanceScore" }, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Parser, new[]{ "Chunk", "Content", "RelevanceScore", "DocumentMetadata" }, new[]{ "RelevanceScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata.Parser, new[]{ "Document", "Uri", "Title", "PageIdentifier", "StructData" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo.Parser, new[]{ "Document", "StructData" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.GroundingSupport), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.GroundingSupport.Parser, new[]{ "StartIndex", "EndIndex", "GroundingScore", "GroundingCheckRequired", "Sources" }, new[]{ "GroundingScore", "GroundingCheckRequired" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Parser, new[]{ "UnstructuredDocumentInfo", "ChunkInfo", "StructuredDocumentInfo" }, new[]{ "Content" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Parser, new[]{ "Document", "Uri", "Title", "ChunkContents", "StructData" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent.Parser, new[]{ "Content", "PageIdentifier", "RelevanceScore", "BlobAttachmentIndexes" }, new[]{ "RelevanceScore" }, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Parser, new[]{ "Chunk", "Content", "RelevanceScore", "DocumentMetadata", "BlobAttachmentIndexes" }, new[]{ "RelevanceScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata.Parser, new[]{ "Document", "Uri", "Title", "PageIdentifier", "StructData" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo.Parser, new[]{ "Document", "StructData", "Title", "Uri" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Parser, new[]{ "Data", "AttributionType" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob.Parser, new[]{ "MimeType", "Data" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Parser, new[]{ "State", "Description", "Thought", "Actions" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.State) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Parser, new[]{ "SearchAction", "Observation" }, new[]{ "Action" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.SearchAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.SearchAction.Parser, new[]{ "Query" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Parser, new[]{ "SearchResults" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Parser, new[]{ "Document", "Uri", "Title", "SnippetInfo", "ChunkInfo", "StructData" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.SnippetInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.SnippetInfo.Parser, new[]{ "Snippet", "SnippetStatus" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Step.Types.Action.Types.Observation.Types.SearchResult.Types.ChunkInfo.Parser, new[]{ "Chunk", "Content", "RelevanceScore" }, new[]{ "RelevanceScore" }, null, null, null)})})})}), @@ -165,6 +194,7 @@ public sealed partial class Answer : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Answer()); private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } @@ -192,17 +222,22 @@ public Answer() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Answer(Answer other) : this() { + _hasBits0 = other._hasBits0; name_ = other.name_; state_ = other.state_; answerText_ = other.answerText_; + groundingScore_ = other.groundingScore_; citations_ = other.citations_.Clone(); + groundingSupports_ = other.groundingSupports_.Clone(); references_ = other.references_.Clone(); + blobAttachments_ = other.blobAttachments_.Clone(); relatedQuestions_ = other.relatedQuestions_.Clone(); steps_ = other.steps_.Clone(); queryUnderstandingInfo_ = other.queryUnderstandingInfo_ != null ? other.queryUnderstandingInfo_.Clone() : null; answerSkippedReasons_ = other.answerSkippedReasons_.Clone(); createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; completeTime_ = other.completeTime_ != null ? other.completeTime_.Clone() : null; + safetyRatings_ = other.safetyRatings_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -258,6 +293,37 @@ public string AnswerText { } } + /// Field number for the "grounding_score" field. + public const int GroundingScoreFieldNumber = 12; + private readonly static double GroundingScoreDefaultValue = 0D; + + private double groundingScore_; + /// + /// A score in the range of [0, 1] describing how grounded the answer is by the + /// reference chunks. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double GroundingScore { + get { if ((_hasBits0 & 1) != 0) { return groundingScore_; } else { return GroundingScoreDefaultValue; } } + set { + _hasBits0 |= 1; + groundingScore_ = value; + } + } + /// Gets whether the "grounding_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGroundingScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "grounding_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroundingScore() { + _hasBits0 &= ~1; + } + /// Field number for the "citations" field. public const int CitationsFieldNumber = 4; private static readonly pb::FieldCodec _repeated_citations_codec @@ -272,6 +338,20 @@ public string AnswerText { get { return citations_; } } + /// Field number for the "grounding_supports" field. + public const int GroundingSupportsFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_groundingSupports_codec + = pb::FieldCodec.ForMessage(106, global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.GroundingSupport.Parser); + private readonly pbc::RepeatedField groundingSupports_ = new pbc::RepeatedField(); + /// + /// Optional. Grounding supports. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GroundingSupports { + get { return groundingSupports_; } + } + /// Field number for the "references" field. public const int ReferencesFieldNumber = 5; private static readonly pb::FieldCodec _repeated_references_codec @@ -286,6 +366,20 @@ public string AnswerText { get { return references_; } } + /// Field number for the "blob_attachments" field. + public const int BlobAttachmentsFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_blobAttachments_codec + = pb::FieldCodec.ForMessage(122, global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Parser); + private readonly pbc::RepeatedField blobAttachments_ = new pbc::RepeatedField(); + /// + /// Output only. List of blob attachments in the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlobAttachments { + get { return blobAttachments_; } + } + /// Field number for the "related_questions" field. public const int RelatedQuestionsFieldNumber = 6; private static readonly pb::FieldCodec _repeated_relatedQuestions_codec @@ -374,6 +468,20 @@ public string AnswerText { } } + /// Field number for the "safety_ratings" field. + public const int SafetyRatingsFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_safetyRatings_codec + = pb::FieldCodec.ForMessage(114, global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Parser); + private readonly pbc::RepeatedField safetyRatings_ = new pbc::RepeatedField(); + /// + /// Optional. Safety ratings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SafetyRatings { + get { return safetyRatings_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -392,14 +500,18 @@ public bool Equals(Answer other) { if (Name != other.Name) return false; if (State != other.State) return false; if (AnswerText != other.AnswerText) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(GroundingScore, other.GroundingScore)) return false; if(!citations_.Equals(other.citations_)) return false; + if(!groundingSupports_.Equals(other.groundingSupports_)) return false; if(!references_.Equals(other.references_)) return false; + if(!blobAttachments_.Equals(other.blobAttachments_)) return false; if(!relatedQuestions_.Equals(other.relatedQuestions_)) return false; if(!steps_.Equals(other.steps_)) return false; if (!object.Equals(QueryUnderstandingInfo, other.QueryUnderstandingInfo)) return false; if(!answerSkippedReasons_.Equals(other.answerSkippedReasons_)) return false; if (!object.Equals(CreateTime, other.CreateTime)) return false; if (!object.Equals(CompleteTime, other.CompleteTime)) return false; + if(!safetyRatings_.Equals(other.safetyRatings_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -410,14 +522,18 @@ public override int GetHashCode() { if (Name.Length != 0) hash ^= Name.GetHashCode(); if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.State.Unspecified) hash ^= State.GetHashCode(); if (AnswerText.Length != 0) hash ^= AnswerText.GetHashCode(); + if (HasGroundingScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(GroundingScore); hash ^= citations_.GetHashCode(); + hash ^= groundingSupports_.GetHashCode(); hash ^= references_.GetHashCode(); + hash ^= blobAttachments_.GetHashCode(); hash ^= relatedQuestions_.GetHashCode(); hash ^= steps_.GetHashCode(); if (queryUnderstandingInfo_ != null) hash ^= QueryUnderstandingInfo.GetHashCode(); hash ^= answerSkippedReasons_.GetHashCode(); if (createTime_ != null) hash ^= CreateTime.GetHashCode(); if (completeTime_ != null) hash ^= CompleteTime.GetHashCode(); + hash ^= safetyRatings_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -465,6 +581,13 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(QueryUnderstandingInfo); } answerSkippedReasons_.WriteTo(output, _repeated_answerSkippedReasons_codec); + if (HasGroundingScore) { + output.WriteRawTag(97); + output.WriteDouble(GroundingScore); + } + groundingSupports_.WriteTo(output, _repeated_groundingSupports_codec); + safetyRatings_.WriteTo(output, _repeated_safetyRatings_codec); + blobAttachments_.WriteTo(output, _repeated_blobAttachments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -504,6 +627,13 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(QueryUnderstandingInfo); } answerSkippedReasons_.WriteTo(ref output, _repeated_answerSkippedReasons_codec); + if (HasGroundingScore) { + output.WriteRawTag(97); + output.WriteDouble(GroundingScore); + } + groundingSupports_.WriteTo(ref output, _repeated_groundingSupports_codec); + safetyRatings_.WriteTo(ref output, _repeated_safetyRatings_codec); + blobAttachments_.WriteTo(ref output, _repeated_blobAttachments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -523,8 +653,13 @@ public int CalculateSize() { if (AnswerText.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerText); } + if (HasGroundingScore) { + size += 1 + 8; + } size += citations_.CalculateSize(_repeated_citations_codec); + size += groundingSupports_.CalculateSize(_repeated_groundingSupports_codec); size += references_.CalculateSize(_repeated_references_codec); + size += blobAttachments_.CalculateSize(_repeated_blobAttachments_codec); size += relatedQuestions_.CalculateSize(_repeated_relatedQuestions_codec); size += steps_.CalculateSize(_repeated_steps_codec); if (queryUnderstandingInfo_ != null) { @@ -537,6 +672,7 @@ public int CalculateSize() { if (completeTime_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CompleteTime); } + size += safetyRatings_.CalculateSize(_repeated_safetyRatings_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -558,8 +694,13 @@ public void MergeFrom(Answer other) { if (other.AnswerText.Length != 0) { AnswerText = other.AnswerText; } + if (other.HasGroundingScore) { + GroundingScore = other.GroundingScore; + } citations_.Add(other.citations_); + groundingSupports_.Add(other.groundingSupports_); references_.Add(other.references_); + blobAttachments_.Add(other.blobAttachments_); relatedQuestions_.Add(other.relatedQuestions_); steps_.Add(other.steps_); if (other.queryUnderstandingInfo_ != null) { @@ -581,6 +722,7 @@ public void MergeFrom(Answer other) { } CompleteTime.MergeFrom(other.CompleteTime); } + safetyRatings_.Add(other.safetyRatings_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -654,6 +796,22 @@ public void MergeFrom(pb::CodedInputStream input) { answerSkippedReasons_.AddEntriesFrom(input, _repeated_answerSkippedReasons_codec); break; } + case 97: { + GroundingScore = input.ReadDouble(); + break; + } + case 106: { + groundingSupports_.AddEntriesFrom(input, _repeated_groundingSupports_codec); + break; + } + case 114: { + safetyRatings_.AddEntriesFrom(input, _repeated_safetyRatings_codec); + break; + } + case 122: { + blobAttachments_.AddEntriesFrom(input, _repeated_blobAttachments_codec); + break; + } } } #endif @@ -727,6 +885,22 @@ public void MergeFrom(pb::CodedInputStream input) { answerSkippedReasons_.AddEntriesFrom(ref input, _repeated_answerSkippedReasons_codec); break; } + case 97: { + GroundingScore = input.ReadDouble(); + break; + } + case 106: { + groundingSupports_.AddEntriesFrom(ref input, _repeated_groundingSupports_codec); + break; + } + case 114: { + safetyRatings_.AddEntriesFrom(ref input, _repeated_safetyRatings_codec); + break; + } + case 122: { + blobAttachments_.AddEntriesFrom(ref input, _repeated_blobAttachments_codec); + break; + } } } } @@ -757,6 +931,10 @@ public enum State { /// Answer generation has succeeded. /// [pbr::OriginalName("SUCCEEDED")] Succeeded = 3, + /// + /// Answer generation is currently in progress. + /// + [pbr::OriginalName("STREAMING")] Streaming = 4, } /// @@ -825,6 +1003,22 @@ public enum AnswerSkippedReason { /// generated. /// [pbr::OriginalName("LOW_GROUNDED_ANSWER")] LowGroundedAnswer = 9, + /// + /// The user defined query classification ignored case. + /// + /// Google skips the answer if the query is classified as a user defined + /// query classification. + /// + [pbr::OriginalName("USER_DEFINED_CLASSIFICATION_QUERY_IGNORED")] UserDefinedClassificationQueryIgnored = 10, + /// + /// The unhelpful answer case. + /// + /// Google skips the answer if the answer is not helpful. This can be due to + /// a variety of factors, including but not limited to: the query is not + /// answerable, the answer is not relevant to the query, or the answer is + /// not well-formatted. + /// + [pbr::OriginalName("UNHELPFUL_ANSWER")] UnhelpfulAnswer = 11, } /// @@ -882,7 +1076,8 @@ public Citation Clone() { private long startIndex_; /// /// Index indicates the start of the segment, measured in bytes (UTF-8 - /// unicode). + /// unicode). If there are multi-byte characters,such as non-ASCII + /// characters, the index measurement is longer than the string length. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -897,7 +1092,9 @@ public long StartIndex { public const int EndIndexFieldNumber = 2; private long endIndex_; /// - /// End of the attributed segment, exclusive. + /// End of the attributed segment, exclusive. Measured in bytes (UTF-8 + /// unicode). If there are multi-byte characters,such as non-ASCII + /// characters, the index measurement is longer than the string length. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1306,19 +1503,20 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Reference. + /// Grounding support for a claim in `answer_text`. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Reference : pb::IMessage + public sealed partial class GroundingSupport : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Reference()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GroundingSupport()); private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1334,7 +1532,7 @@ public sealed partial class Reference : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Reference() { + public GroundingSupport() { OnConstruction(); } @@ -1342,114 +1540,154 @@ public Reference() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Reference(Reference other) : this() { - switch (other.ContentCase) { - case ContentOneofCase.UnstructuredDocumentInfo: - UnstructuredDocumentInfo = other.UnstructuredDocumentInfo.Clone(); - break; - case ContentOneofCase.ChunkInfo: - ChunkInfo = other.ChunkInfo.Clone(); - break; - case ContentOneofCase.StructuredDocumentInfo: - StructuredDocumentInfo = other.StructuredDocumentInfo.Clone(); - break; - } - + public GroundingSupport(GroundingSupport other) : this() { + _hasBits0 = other._hasBits0; + startIndex_ = other.startIndex_; + endIndex_ = other.endIndex_; + groundingScore_ = other.groundingScore_; + groundingCheckRequired_ = other.groundingCheckRequired_; + sources_ = other.sources_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Reference Clone() { - return new Reference(this); + public GroundingSupport Clone() { + return new GroundingSupport(this); } - /// Field number for the "unstructured_document_info" field. - public const int UnstructuredDocumentInfoFieldNumber = 1; + /// Field number for the "start_index" field. + public const int StartIndexFieldNumber = 1; + private long startIndex_; /// - /// Unstructured document information. + /// Required. Index indicates the start of the claim, measured in bytes + /// (UTF-8 unicode). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo UnstructuredDocumentInfo { - get { return contentCase_ == ContentOneofCase.UnstructuredDocumentInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo) content_ : null; } + public long StartIndex { + get { return startIndex_; } set { - content_ = value; - contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UnstructuredDocumentInfo; + startIndex_ = value; } } - /// Field number for the "chunk_info" field. - public const int ChunkInfoFieldNumber = 2; + /// Field number for the "end_index" field. + public const int EndIndexFieldNumber = 2; + private long endIndex_; /// - /// Chunk information. + /// Required. End of the claim, exclusive. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo ChunkInfo { - get { return contentCase_ == ContentOneofCase.ChunkInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo) content_ : null; } + public long EndIndex { + get { return endIndex_; } set { - content_ = value; - contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.ChunkInfo; + endIndex_ = value; } } - /// Field number for the "structured_document_info" field. - public const int StructuredDocumentInfoFieldNumber = 3; + /// Field number for the "grounding_score" field. + public const int GroundingScoreFieldNumber = 3; + private readonly static double GroundingScoreDefaultValue = 0D; + + private double groundingScore_; /// - /// Structured document information. + /// A score in the range of [0, 1] describing how grounded is a specific + /// claim by the references. + /// Higher value means that the claim is better supported by the reference + /// chunks. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo StructuredDocumentInfo { - get { return contentCase_ == ContentOneofCase.StructuredDocumentInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo) content_ : null; } + public double GroundingScore { + get { if ((_hasBits0 & 1) != 0) { return groundingScore_; } else { return GroundingScoreDefaultValue; } } set { - content_ = value; - contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.StructuredDocumentInfo; + _hasBits0 |= 1; + groundingScore_ = value; } } + /// Gets whether the "grounding_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGroundingScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "grounding_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroundingScore() { + _hasBits0 &= ~1; + } - private object content_; - /// Enum of possible cases for the "content" oneof. - public enum ContentOneofCase { - None = 0, - UnstructuredDocumentInfo = 1, - ChunkInfo = 2, - StructuredDocumentInfo = 3, + /// Field number for the "grounding_check_required" field. + public const int GroundingCheckRequiredFieldNumber = 4; + private readonly static bool GroundingCheckRequiredDefaultValue = false; + + private bool groundingCheckRequired_; + /// + /// Indicates that this claim required grounding check. When the + /// system decided this claim didn't require attribution/grounding check, + /// this field is set to false. In that case, no grounding check was + /// done for the claim and therefore `grounding_score`, `sources` is not + /// returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool GroundingCheckRequired { + get { if ((_hasBits0 & 2) != 0) { return groundingCheckRequired_; } else { return GroundingCheckRequiredDefaultValue; } } + set { + _hasBits0 |= 2; + groundingCheckRequired_ = value; + } } - private ContentOneofCase contentCase_ = ContentOneofCase.None; + /// Gets whether the "grounding_check_required" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ContentOneofCase ContentCase { - get { return contentCase_; } + public bool HasGroundingCheckRequired { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "grounding_check_required" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroundingCheckRequired() { + _hasBits0 &= ~2; } + /// Field number for the "sources" field. + public const int SourcesFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_sources_codec + = pb::FieldCodec.ForMessage(42, global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.CitationSource.Parser); + private readonly pbc::RepeatedField sources_ = new pbc::RepeatedField(); + /// + /// Optional. Citation sources for the claim. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearContent() { - contentCase_ = ContentOneofCase.None; - content_ = null; + public pbc::RepeatedField Sources { + get { return sources_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Reference); + return Equals(other as GroundingSupport); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Reference other) { + public bool Equals(GroundingSupport other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(UnstructuredDocumentInfo, other.UnstructuredDocumentInfo)) return false; - if (!object.Equals(ChunkInfo, other.ChunkInfo)) return false; - if (!object.Equals(StructuredDocumentInfo, other.StructuredDocumentInfo)) return false; - if (ContentCase != other.ContentCase) return false; + if (StartIndex != other.StartIndex) return false; + if (EndIndex != other.EndIndex) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(GroundingScore, other.GroundingScore)) return false; + if (GroundingCheckRequired != other.GroundingCheckRequired) return false; + if(!sources_.Equals(other.sources_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1457,10 +1695,11 @@ public bool Equals(Reference other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) hash ^= UnstructuredDocumentInfo.GetHashCode(); - if (contentCase_ == ContentOneofCase.ChunkInfo) hash ^= ChunkInfo.GetHashCode(); - if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) hash ^= StructuredDocumentInfo.GetHashCode(); - hash ^= (int) contentCase_; + if (StartIndex != 0L) hash ^= StartIndex.GetHashCode(); + if (EndIndex != 0L) hash ^= EndIndex.GetHashCode(); + if (HasGroundingScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(GroundingScore); + if (HasGroundingCheckRequired) hash ^= GroundingCheckRequired.GetHashCode(); + hash ^= sources_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1479,18 +1718,23 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { - output.WriteRawTag(10); - output.WriteMessage(UnstructuredDocumentInfo); + if (StartIndex != 0L) { + output.WriteRawTag(8); + output.WriteInt64(StartIndex); } - if (contentCase_ == ContentOneofCase.ChunkInfo) { - output.WriteRawTag(18); - output.WriteMessage(ChunkInfo); + if (EndIndex != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EndIndex); } - if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { - output.WriteRawTag(26); - output.WriteMessage(StructuredDocumentInfo); + if (HasGroundingScore) { + output.WriteRawTag(25); + output.WriteDouble(GroundingScore); } + if (HasGroundingCheckRequired) { + output.WriteRawTag(32); + output.WriteBool(GroundingCheckRequired); + } + sources_.WriteTo(output, _repeated_sources_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1501,18 +1745,23 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { - output.WriteRawTag(10); - output.WriteMessage(UnstructuredDocumentInfo); + if (StartIndex != 0L) { + output.WriteRawTag(8); + output.WriteInt64(StartIndex); } - if (contentCase_ == ContentOneofCase.ChunkInfo) { - output.WriteRawTag(18); - output.WriteMessage(ChunkInfo); + if (EndIndex != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EndIndex); } - if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { - output.WriteRawTag(26); - output.WriteMessage(StructuredDocumentInfo); + if (HasGroundingScore) { + output.WriteRawTag(25); + output.WriteDouble(GroundingScore); + } + if (HasGroundingCheckRequired) { + output.WriteRawTag(32); + output.WriteBool(GroundingCheckRequired); } + sources_.WriteTo(ref output, _repeated_sources_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1523,15 +1772,19 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnstructuredDocumentInfo); + if (StartIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartIndex); } - if (contentCase_ == ContentOneofCase.ChunkInfo) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChunkInfo); + if (EndIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndIndex); } - if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructuredDocumentInfo); + if (HasGroundingScore) { + size += 1 + 8; + } + if (HasGroundingCheckRequired) { + size += 1 + 1; } + size += sources_.CalculateSize(_repeated_sources_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1540,31 +1793,23 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Reference other) { + public void MergeFrom(GroundingSupport other) { if (other == null) { return; } - switch (other.ContentCase) { - case ContentOneofCase.UnstructuredDocumentInfo: - if (UnstructuredDocumentInfo == null) { - UnstructuredDocumentInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo(); - } - UnstructuredDocumentInfo.MergeFrom(other.UnstructuredDocumentInfo); - break; - case ContentOneofCase.ChunkInfo: - if (ChunkInfo == null) { - ChunkInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo(); - } - ChunkInfo.MergeFrom(other.ChunkInfo); - break; - case ContentOneofCase.StructuredDocumentInfo: - if (StructuredDocumentInfo == null) { - StructuredDocumentInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo(); - } - StructuredDocumentInfo.MergeFrom(other.StructuredDocumentInfo); - break; + if (other.StartIndex != 0L) { + StartIndex = other.StartIndex; } - + if (other.EndIndex != 0L) { + EndIndex = other.EndIndex; + } + if (other.HasGroundingScore) { + GroundingScore = other.GroundingScore; + } + if (other.HasGroundingCheckRequired) { + GroundingCheckRequired = other.GroundingCheckRequired; + } + sources_.Add(other.sources_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1584,31 +1829,24 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo(); - if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { - subBuilder.MergeFrom(UnstructuredDocumentInfo); - } - input.ReadMessage(subBuilder); - UnstructuredDocumentInfo = subBuilder; + case 8: { + StartIndex = input.ReadInt64(); break; } - case 18: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo(); - if (contentCase_ == ContentOneofCase.ChunkInfo) { - subBuilder.MergeFrom(ChunkInfo); - } - input.ReadMessage(subBuilder); - ChunkInfo = subBuilder; + case 16: { + EndIndex = input.ReadInt64(); break; } - case 26: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo(); - if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { - subBuilder.MergeFrom(StructuredDocumentInfo); - } - input.ReadMessage(subBuilder); - StructuredDocumentInfo = subBuilder; + case 25: { + GroundingScore = input.ReadDouble(); + break; + } + case 32: { + GroundingCheckRequired = input.ReadBool(); + break; + } + case 42: { + sources_.AddEntriesFrom(input, _repeated_sources_codec); break; } } @@ -1630,31 +1868,24 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo(); - if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { - subBuilder.MergeFrom(UnstructuredDocumentInfo); - } - input.ReadMessage(subBuilder); - UnstructuredDocumentInfo = subBuilder; + case 8: { + StartIndex = input.ReadInt64(); break; } - case 18: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo(); - if (contentCase_ == ContentOneofCase.ChunkInfo) { - subBuilder.MergeFrom(ChunkInfo); - } - input.ReadMessage(subBuilder); - ChunkInfo = subBuilder; + case 16: { + EndIndex = input.ReadInt64(); break; } - case 26: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo(); - if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { - subBuilder.MergeFrom(StructuredDocumentInfo); - } - input.ReadMessage(subBuilder); - StructuredDocumentInfo = subBuilder; + case 25: { + GroundingScore = input.ReadDouble(); + break; + } + case 32: { + GroundingCheckRequired = input.ReadBool(); + break; + } + case 42: { + sources_.AddEntriesFrom(ref input, _repeated_sources_codec); break; } } @@ -1662,158 +1893,1244 @@ public void MergeFrom(pb::CodedInputStream input) { } #endif - #region Nested types - /// Container for nested types declared in the Reference message type. + } + + /// + /// Reference. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Reference : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Reference()); + private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - /// - /// Unstructured document information. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UnstructuredDocumentInfo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnstructuredDocumentInfo()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Descriptor.NestedTypes[0]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Descriptor.NestedTypes[3]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnstructuredDocumentInfo() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reference() { + OnConstruction(); + } - partial void OnConstruction(); + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnstructuredDocumentInfo(UnstructuredDocumentInfo other) : this() { - document_ = other.document_; - uri_ = other.uri_; - title_ = other.title_; - chunkContents_ = other.chunkContents_.Clone(); - structData_ = other.structData_ != null ? other.structData_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reference(Reference other) : this() { + switch (other.ContentCase) { + case ContentOneofCase.UnstructuredDocumentInfo: + UnstructuredDocumentInfo = other.UnstructuredDocumentInfo.Clone(); + break; + case ContentOneofCase.ChunkInfo: + ChunkInfo = other.ChunkInfo.Clone(); + break; + case ContentOneofCase.StructuredDocumentInfo: + StructuredDocumentInfo = other.StructuredDocumentInfo.Clone(); + break; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnstructuredDocumentInfo Clone() { - return new UnstructuredDocumentInfo(this); - } + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "document" field. - public const int DocumentFieldNumber = 1; - private string document_ = ""; - /// - /// Document resource name. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Document { - get { return document_; } - set { - document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reference Clone() { + return new Reference(this); + } - /// Field number for the "uri" field. - public const int UriFieldNumber = 2; - private string uri_ = ""; - /// - /// URI for the document. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Uri { - get { return uri_; } - set { - uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + /// Field number for the "unstructured_document_info" field. + public const int UnstructuredDocumentInfoFieldNumber = 1; + /// + /// Unstructured document information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo UnstructuredDocumentInfo { + get { return contentCase_ == ContentOneofCase.UnstructuredDocumentInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo) content_ : null; } + set { + content_ = value; + contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.UnstructuredDocumentInfo; + } + } - /// Field number for the "title" field. - public const int TitleFieldNumber = 3; - private string title_ = ""; - /// - /// Title. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + /// Field number for the "chunk_info" field. + public const int ChunkInfoFieldNumber = 2; + /// + /// Chunk information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo ChunkInfo { + get { return contentCase_ == ContentOneofCase.ChunkInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo) content_ : null; } + set { + content_ = value; + contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.ChunkInfo; + } + } - /// Field number for the "chunk_contents" field. - public const int ChunkContentsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_chunkContents_codec - = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent.Parser); - private readonly pbc::RepeatedField chunkContents_ = new pbc::RepeatedField(); - /// - /// List of cited chunk contents derived from document content. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ChunkContents { - get { return chunkContents_; } - } + /// Field number for the "structured_document_info" field. + public const int StructuredDocumentInfoFieldNumber = 3; + /// + /// Structured document information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo StructuredDocumentInfo { + get { return contentCase_ == ContentOneofCase.StructuredDocumentInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo) content_ : null; } + set { + content_ = value; + contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.StructuredDocumentInfo; + } + } - /// Field number for the "struct_data" field. - public const int StructDataFieldNumber = 5; - private global::Google.Protobuf.WellKnownTypes.Struct structData_; - /// - /// The structured JSON metadata for the document. - /// It is populated from the struct data from the Chunk in search result. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Protobuf.WellKnownTypes.Struct StructData { + private object content_; + /// Enum of possible cases for the "content" oneof. + public enum ContentOneofCase { + None = 0, + UnstructuredDocumentInfo = 1, + ChunkInfo = 2, + StructuredDocumentInfo = 3, + } + private ContentOneofCase contentCase_ = ContentOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentOneofCase ContentCase { + get { return contentCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + contentCase_ = ContentOneofCase.None; + content_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Reference); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Reference other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(UnstructuredDocumentInfo, other.UnstructuredDocumentInfo)) return false; + if (!object.Equals(ChunkInfo, other.ChunkInfo)) return false; + if (!object.Equals(StructuredDocumentInfo, other.StructuredDocumentInfo)) return false; + if (ContentCase != other.ContentCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) hash ^= UnstructuredDocumentInfo.GetHashCode(); + if (contentCase_ == ContentOneofCase.ChunkInfo) hash ^= ChunkInfo.GetHashCode(); + if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) hash ^= StructuredDocumentInfo.GetHashCode(); + hash ^= (int) contentCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { + output.WriteRawTag(10); + output.WriteMessage(UnstructuredDocumentInfo); + } + if (contentCase_ == ContentOneofCase.ChunkInfo) { + output.WriteRawTag(18); + output.WriteMessage(ChunkInfo); + } + if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { + output.WriteRawTag(26); + output.WriteMessage(StructuredDocumentInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { + output.WriteRawTag(10); + output.WriteMessage(UnstructuredDocumentInfo); + } + if (contentCase_ == ContentOneofCase.ChunkInfo) { + output.WriteRawTag(18); + output.WriteMessage(ChunkInfo); + } + if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { + output.WriteRawTag(26); + output.WriteMessage(StructuredDocumentInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnstructuredDocumentInfo); + } + if (contentCase_ == ContentOneofCase.ChunkInfo) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChunkInfo); + } + if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructuredDocumentInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Reference other) { + if (other == null) { + return; + } + switch (other.ContentCase) { + case ContentOneofCase.UnstructuredDocumentInfo: + if (UnstructuredDocumentInfo == null) { + UnstructuredDocumentInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo(); + } + UnstructuredDocumentInfo.MergeFrom(other.UnstructuredDocumentInfo); + break; + case ContentOneofCase.ChunkInfo: + if (ChunkInfo == null) { + ChunkInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo(); + } + ChunkInfo.MergeFrom(other.ChunkInfo); + break; + case ContentOneofCase.StructuredDocumentInfo: + if (StructuredDocumentInfo == null) { + StructuredDocumentInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo(); + } + StructuredDocumentInfo.MergeFrom(other.StructuredDocumentInfo); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo(); + if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { + subBuilder.MergeFrom(UnstructuredDocumentInfo); + } + input.ReadMessage(subBuilder); + UnstructuredDocumentInfo = subBuilder; + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo(); + if (contentCase_ == ContentOneofCase.ChunkInfo) { + subBuilder.MergeFrom(ChunkInfo); + } + input.ReadMessage(subBuilder); + ChunkInfo = subBuilder; + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo(); + if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { + subBuilder.MergeFrom(StructuredDocumentInfo); + } + input.ReadMessage(subBuilder); + StructuredDocumentInfo = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo(); + if (contentCase_ == ContentOneofCase.UnstructuredDocumentInfo) { + subBuilder.MergeFrom(UnstructuredDocumentInfo); + } + input.ReadMessage(subBuilder); + UnstructuredDocumentInfo = subBuilder; + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo(); + if (contentCase_ == ContentOneofCase.ChunkInfo) { + subBuilder.MergeFrom(ChunkInfo); + } + input.ReadMessage(subBuilder); + ChunkInfo = subBuilder; + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.StructuredDocumentInfo(); + if (contentCase_ == ContentOneofCase.StructuredDocumentInfo) { + subBuilder.MergeFrom(StructuredDocumentInfo); + } + input.ReadMessage(subBuilder); + StructuredDocumentInfo = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Reference message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Unstructured document information. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnstructuredDocumentInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnstructuredDocumentInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnstructuredDocumentInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnstructuredDocumentInfo(UnstructuredDocumentInfo other) : this() { + document_ = other.document_; + uri_ = other.uri_; + title_ = other.title_; + chunkContents_ = other.chunkContents_.Clone(); + structData_ = other.structData_ != null ? other.structData_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnstructuredDocumentInfo Clone() { + return new UnstructuredDocumentInfo(this); + } + + /// Field number for the "document" field. + public const int DocumentFieldNumber = 1; + private string document_ = ""; + /// + /// Document resource name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Document { + get { return document_; } + set { + document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "uri" field. + public const int UriFieldNumber = 2; + private string uri_ = ""; + /// + /// URI for the document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 3; + private string title_ = ""; + /// + /// Title. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "chunk_contents" field. + public const int ChunkContentsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_chunkContents_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Types.ChunkContent.Parser); + private readonly pbc::RepeatedField chunkContents_ = new pbc::RepeatedField(); + /// + /// List of cited chunk contents derived from document content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ChunkContents { + get { return chunkContents_; } + } + + /// Field number for the "struct_data" field. + public const int StructDataFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Struct structData_; + /// + /// The structured JSON metadata for the document. + /// It is populated from the struct data from the Chunk in search result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Struct StructData { get { return structData_; } set { - structData_ = value; + structData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnstructuredDocumentInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnstructuredDocumentInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Document != other.Document) return false; + if (Uri != other.Uri) return false; + if (Title != other.Title) return false; + if(!chunkContents_.Equals(other.chunkContents_)) return false; + if (!object.Equals(StructData, other.StructData)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Document.Length != 0) hash ^= Document.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + hash ^= chunkContents_.GetHashCode(); + if (structData_ != null) hash ^= StructData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Document.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Document); + } + if (Uri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + chunkContents_.WriteTo(output, _repeated_chunkContents_codec); + if (structData_ != null) { + output.WriteRawTag(42); + output.WriteMessage(StructData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Document.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Document); + } + if (Uri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + chunkContents_.WriteTo(ref output, _repeated_chunkContents_codec); + if (structData_ != null) { + output.WriteRawTag(42); + output.WriteMessage(StructData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Document.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + } + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + size += chunkContents_.CalculateSize(_repeated_chunkContents_codec); + if (structData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnstructuredDocumentInfo other) { + if (other == null) { + return; + } + if (other.Document.Length != 0) { + Document = other.Document; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + chunkContents_.Add(other.chunkContents_); + if (other.structData_ != null) { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + StructData.MergeFrom(other.StructData); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Document = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + chunkContents_.AddEntriesFrom(input, _repeated_chunkContents_codec); + break; + } + case 42: { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(StructData); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Document = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + chunkContents_.AddEntriesFrom(ref input, _repeated_chunkContents_codec); + break; + } + case 42: { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(StructData); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the UnstructuredDocumentInfo message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Chunk content. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChunkContent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkContent()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkContent(ChunkContent other) : this() { + _hasBits0 = other._hasBits0; + content_ = other.content_; + pageIdentifier_ = other.pageIdentifier_; + relevanceScore_ = other.relevanceScore_; + blobAttachmentIndexes_ = other.blobAttachmentIndexes_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkContent Clone() { + return new ChunkContent(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private string content_ = ""; + /// + /// Chunk textual content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_identifier" field. + public const int PageIdentifierFieldNumber = 2; + private string pageIdentifier_ = ""; + /// + /// Page identifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageIdentifier { + get { return pageIdentifier_; } + set { + pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "relevance_score" field. + public const int RelevanceScoreFieldNumber = 3; + private readonly static float RelevanceScoreDefaultValue = 0F; + + private float relevanceScore_; + /// + /// The relevance of the chunk for a given query. Values range from 0.0 + /// (completely irrelevant) to 1.0 (completely relevant). + /// This value is for informational purpose only. It may change for + /// the same query and chunk at any time due to a model retraining or + /// change in implementation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float RelevanceScore { + get { if ((_hasBits0 & 1) != 0) { return relevanceScore_; } else { return RelevanceScoreDefaultValue; } } + set { + _hasBits0 |= 1; + relevanceScore_ = value; + } + } + /// Gets whether the "relevance_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRelevanceScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "relevance_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelevanceScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "blob_attachment_indexes" field. + public const int BlobAttachmentIndexesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_blobAttachmentIndexes_codec + = pb::FieldCodec.ForInt64(34); + private readonly pbc::RepeatedField blobAttachmentIndexes_ = new pbc::RepeatedField(); + /// + /// Output only. Stores indexes of blobattachments linked to this chunk. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlobAttachmentIndexes { + get { return blobAttachmentIndexes_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChunkContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChunkContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (PageIdentifier != other.PageIdentifier) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RelevanceScore, other.RelevanceScore)) return false; + if(!blobAttachmentIndexes_.Equals(other.blobAttachmentIndexes_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (PageIdentifier.Length != 0) hash ^= PageIdentifier.GetHashCode(); + if (HasRelevanceScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RelevanceScore); + hash ^= blobAttachmentIndexes_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (PageIdentifier.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PageIdentifier); + } + if (HasRelevanceScore) { + output.WriteRawTag(29); + output.WriteFloat(RelevanceScore); + } + blobAttachmentIndexes_.WriteTo(output, _repeated_blobAttachmentIndexes_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (PageIdentifier.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PageIdentifier); + } + if (HasRelevanceScore) { + output.WriteRawTag(29); + output.WriteFloat(RelevanceScore); + } + blobAttachmentIndexes_.WriteTo(ref output, _repeated_blobAttachmentIndexes_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (PageIdentifier.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageIdentifier); + } + if (HasRelevanceScore) { + size += 1 + 4; + } + size += blobAttachmentIndexes_.CalculateSize(_repeated_blobAttachmentIndexes_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChunkContent other) { + if (other == null) { + return; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.PageIdentifier.Length != 0) { + PageIdentifier = other.PageIdentifier; + } + if (other.HasRelevanceScore) { + RelevanceScore = other.RelevanceScore; + } + blobAttachmentIndexes_.Add(other.blobAttachmentIndexes_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + PageIdentifier = input.ReadString(); + break; + } + case 29: { + RelevanceScore = input.ReadFloat(); + break; + } + case 34: + case 32: { + blobAttachmentIndexes_.AddEntriesFrom(input, _repeated_blobAttachmentIndexes_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + PageIdentifier = input.ReadString(); + break; + } + case 29: { + RelevanceScore = input.ReadFloat(); + break; + } + case 34: + case 32: { + blobAttachmentIndexes_.AddEntriesFrom(ref input, _repeated_blobAttachmentIndexes_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Chunk information. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChunkInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkInfo(ChunkInfo other) : this() { + _hasBits0 = other._hasBits0; + chunk_ = other.chunk_; + content_ = other.content_; + relevanceScore_ = other.relevanceScore_; + documentMetadata_ = other.documentMetadata_ != null ? other.documentMetadata_.Clone() : null; + blobAttachmentIndexes_ = other.blobAttachmentIndexes_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkInfo Clone() { + return new ChunkInfo(this); + } + + /// Field number for the "chunk" field. + public const int ChunkFieldNumber = 1; + private string chunk_ = ""; + /// + /// Chunk resource name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Chunk { + get { return chunk_; } + set { + chunk_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 2; + private string content_ = ""; + /// + /// Chunk textual content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "relevance_score" field. + public const int RelevanceScoreFieldNumber = 3; + private readonly static float RelevanceScoreDefaultValue = 0F; + + private float relevanceScore_; + /// + /// The relevance of the chunk for a given query. Values range from 0.0 + /// (completely irrelevant) to 1.0 (completely relevant). + /// This value is for informational purpose only. It may change for + /// the same query and chunk at any time due to a model retraining or + /// change in implementation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float RelevanceScore { + get { if ((_hasBits0 & 1) != 0) { return relevanceScore_; } else { return RelevanceScoreDefaultValue; } } + set { + _hasBits0 |= 1; + relevanceScore_ = value; + } + } + /// Gets whether the "relevance_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRelevanceScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "relevance_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelevanceScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "document_metadata" field. + public const int DocumentMetadataFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata documentMetadata_; + /// + /// Document metadata. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata DocumentMetadata { + get { return documentMetadata_; } + set { + documentMetadata_ = value; } } + /// Field number for the "blob_attachment_indexes" field. + public const int BlobAttachmentIndexesFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_blobAttachmentIndexes_codec + = pb::FieldCodec.ForInt64(42); + private readonly pbc::RepeatedField blobAttachmentIndexes_ = new pbc::RepeatedField(); + /// + /// Output only. Stores indexes of blobattachments linked to this chunk. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlobAttachmentIndexes { + get { return blobAttachmentIndexes_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as UnstructuredDocumentInfo); + return Equals(other as ChunkInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UnstructuredDocumentInfo other) { + public bool Equals(ChunkInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Document != other.Document) return false; - if (Uri != other.Uri) return false; - if (Title != other.Title) return false; - if(!chunkContents_.Equals(other.chunkContents_)) return false; - if (!object.Equals(StructData, other.StructData)) return false; + if (Chunk != other.Chunk) return false; + if (Content != other.Content) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RelevanceScore, other.RelevanceScore)) return false; + if (!object.Equals(DocumentMetadata, other.DocumentMetadata)) return false; + if(!blobAttachmentIndexes_.Equals(other.blobAttachmentIndexes_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1821,11 +3138,11 @@ public bool Equals(UnstructuredDocumentInfo other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Document.Length != 0) hash ^= Document.GetHashCode(); - if (Uri.Length != 0) hash ^= Uri.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - hash ^= chunkContents_.GetHashCode(); - if (structData_ != null) hash ^= StructData.GetHashCode(); + if (Chunk.Length != 0) hash ^= Chunk.GetHashCode(); + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (HasRelevanceScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RelevanceScore); + if (documentMetadata_ != null) hash ^= DocumentMetadata.GetHashCode(); + hash ^= blobAttachmentIndexes_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1844,23 +3161,23 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Document.Length != 0) { + if (Chunk.Length != 0) { output.WriteRawTag(10); - output.WriteString(Document); + output.WriteString(Chunk); } - if (Uri.Length != 0) { + if (Content.Length != 0) { output.WriteRawTag(18); - output.WriteString(Uri); + output.WriteString(Content); } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); + if (HasRelevanceScore) { + output.WriteRawTag(29); + output.WriteFloat(RelevanceScore); } - chunkContents_.WriteTo(output, _repeated_chunkContents_codec); - if (structData_ != null) { - output.WriteRawTag(42); - output.WriteMessage(StructData); + if (documentMetadata_ != null) { + output.WriteRawTag(34); + output.WriteMessage(DocumentMetadata); } + blobAttachmentIndexes_.WriteTo(output, _repeated_blobAttachmentIndexes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1871,23 +3188,23 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Document.Length != 0) { + if (Chunk.Length != 0) { output.WriteRawTag(10); - output.WriteString(Document); + output.WriteString(Chunk); } - if (Uri.Length != 0) { + if (Content.Length != 0) { output.WriteRawTag(18); - output.WriteString(Uri); + output.WriteString(Content); } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); + if (HasRelevanceScore) { + output.WriteRawTag(29); + output.WriteFloat(RelevanceScore); } - chunkContents_.WriteTo(ref output, _repeated_chunkContents_codec); - if (structData_ != null) { - output.WriteRawTag(42); - output.WriteMessage(StructData); + if (documentMetadata_ != null) { + output.WriteRawTag(34); + output.WriteMessage(DocumentMetadata); } + blobAttachmentIndexes_.WriteTo(ref output, _repeated_blobAttachmentIndexes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1898,19 +3215,19 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Document.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + if (Chunk.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Chunk); } - if (Uri.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + if (HasRelevanceScore) { + size += 1 + 4; } - size += chunkContents_.CalculateSize(_repeated_chunkContents_codec); - if (structData_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); + if (documentMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DocumentMetadata); } + size += blobAttachmentIndexes_.CalculateSize(_repeated_blobAttachmentIndexes_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1919,26 +3236,26 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UnstructuredDocumentInfo other) { + public void MergeFrom(ChunkInfo other) { if (other == null) { return; } - if (other.Document.Length != 0) { - Document = other.Document; + if (other.Chunk.Length != 0) { + Chunk = other.Chunk; } - if (other.Uri.Length != 0) { - Uri = other.Uri; + if (other.Content.Length != 0) { + Content = other.Content; } - if (other.Title.Length != 0) { - Title = other.Title; + if (other.HasRelevanceScore) { + RelevanceScore = other.RelevanceScore; } - chunkContents_.Add(other.chunkContents_); - if (other.structData_ != null) { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + if (other.documentMetadata_ != null) { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata(); } - StructData.MergeFrom(other.StructData); + DocumentMetadata.MergeFrom(other.DocumentMetadata); } + blobAttachmentIndexes_.Add(other.blobAttachmentIndexes_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1959,26 +3276,27 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Document = input.ReadString(); + Chunk = input.ReadString(); break; } case 18: { - Uri = input.ReadString(); + Content = input.ReadString(); break; } - case 26: { - Title = input.ReadString(); + case 29: { + RelevanceScore = input.ReadFloat(); break; } case 34: { - chunkContents_.AddEntriesFrom(input, _repeated_chunkContents_codec); + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata(); + } + input.ReadMessage(DocumentMetadata); break; } - case 42: { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - input.ReadMessage(StructData); + case 42: + case 40: { + blobAttachmentIndexes_.AddEntriesFrom(input, _repeated_blobAttachmentIndexes_codec); break; } } @@ -2001,26 +3319,27 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Document = input.ReadString(); + Chunk = input.ReadString(); break; } case 18: { - Uri = input.ReadString(); + Content = input.ReadString(); break; } - case 26: { - Title = input.ReadString(); + case 29: { + RelevanceScore = input.ReadFloat(); break; } case 34: { - chunkContents_.AddEntriesFrom(ref input, _repeated_chunkContents_codec); + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata(); + } + input.ReadMessage(DocumentMetadata); break; } - case 42: { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - input.ReadMessage(StructData); + case 42: + case 40: { + blobAttachmentIndexes_.AddEntriesFrom(ref input, _repeated_blobAttachmentIndexes_codec); break; } } @@ -2029,30 +3348,29 @@ public void MergeFrom(pb::CodedInputStream input) { #endif #region Nested types - /// Container for nested types declared in the UnstructuredDocumentInfo message type. + /// Container for nested types declared in the ChunkInfo message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// Chunk content. + /// Document metadata. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ChunkContent : pb::IMessage + public sealed partial class DocumentMetadata : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkContent()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DocumentMetadata()); private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.UnstructuredDocumentInfo.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2063,7 +3381,7 @@ public sealed partial class ChunkContent : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkContent() { + public DocumentMetadata() { OnConstruction(); } @@ -2071,102 +3389,117 @@ public ChunkContent() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkContent(ChunkContent other) : this() { - _hasBits0 = other._hasBits0; - content_ = other.content_; + public DocumentMetadata(DocumentMetadata other) : this() { + document_ = other.document_; + uri_ = other.uri_; + title_ = other.title_; pageIdentifier_ = other.pageIdentifier_; - relevanceScore_ = other.relevanceScore_; + structData_ = other.structData_ != null ? other.structData_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkContent Clone() { - return new ChunkContent(this); + public DocumentMetadata Clone() { + return new DocumentMetadata(this); } - /// Field number for the "content" field. - public const int ContentFieldNumber = 1; - private string content_ = ""; + /// Field number for the "document" field. + public const int DocumentFieldNumber = 1; + private string document_ = ""; /// - /// Chunk textual content. + /// Document resource name. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } + public string Document { + get { return document_; } set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "page_identifier" field. - public const int PageIdentifierFieldNumber = 2; - private string pageIdentifier_ = ""; + /// Field number for the "uri" field. + public const int UriFieldNumber = 2; + private string uri_ = ""; /// - /// Page identifier. + /// URI for the document. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PageIdentifier { - get { return pageIdentifier_; } + public string Uri { + get { return uri_; } set { - pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "relevance_score" field. - public const int RelevanceScoreFieldNumber = 3; - private readonly static float RelevanceScoreDefaultValue = 0F; - - private float relevanceScore_; + /// Field number for the "title" field. + public const int TitleFieldNumber = 3; + private string title_ = ""; /// - /// The relevance of the chunk for a given query. Values range from 0.0 - /// (completely irrelevant) to 1.0 (completely relevant). - /// This value is for informational purpose only. It may change for - /// the same query and chunk at any time due to a model retraining or - /// change in implementation. + /// Title. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float RelevanceScore { - get { if ((_hasBits0 & 1) != 0) { return relevanceScore_; } else { return RelevanceScoreDefaultValue; } } + public string Title { + get { return title_; } set { - _hasBits0 |= 1; - relevanceScore_ = value; + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Gets whether the "relevance_score" field is set + + /// Field number for the "page_identifier" field. + public const int PageIdentifierFieldNumber = 4; + private string pageIdentifier_ = ""; + /// + /// Page identifier. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRelevanceScore { - get { return (_hasBits0 & 1) != 0; } + public string PageIdentifier { + get { return pageIdentifier_; } + set { + pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } - /// Clears the value of the "relevance_score" field + + /// Field number for the "struct_data" field. + public const int StructDataFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Struct structData_; + /// + /// The structured JSON metadata for the document. + /// It is populated from the struct data from the Chunk in search result. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRelevanceScore() { - _hasBits0 &= ~1; + public global::Google.Protobuf.WellKnownTypes.Struct StructData { + get { return structData_; } + set { + structData_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ChunkContent); + return Equals(other as DocumentMetadata); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ChunkContent other) { + public bool Equals(DocumentMetadata other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Content != other.Content) return false; + if (Document != other.Document) return false; + if (Uri != other.Uri) return false; + if (Title != other.Title) return false; if (PageIdentifier != other.PageIdentifier) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RelevanceScore, other.RelevanceScore)) return false; + if (!object.Equals(StructData, other.StructData)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2174,9 +3507,11 @@ public bool Equals(ChunkContent other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (Document.Length != 0) hash ^= Document.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); if (PageIdentifier.Length != 0) hash ^= PageIdentifier.GetHashCode(); - if (HasRelevanceScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RelevanceScore); + if (structData_ != null) hash ^= StructData.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2195,17 +3530,25 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Content.Length != 0) { + if (Document.Length != 0) { output.WriteRawTag(10); - output.WriteString(Content); + output.WriteString(Document); } - if (PageIdentifier.Length != 0) { + if (Uri.Length != 0) { output.WriteRawTag(18); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (PageIdentifier.Length != 0) { + output.WriteRawTag(34); output.WriteString(PageIdentifier); } - if (HasRelevanceScore) { - output.WriteRawTag(29); - output.WriteFloat(RelevanceScore); + if (structData_ != null) { + output.WriteRawTag(42); + output.WriteMessage(StructData); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -2217,17 +3560,25 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Content.Length != 0) { + if (Document.Length != 0) { output.WriteRawTag(10); - output.WriteString(Content); + output.WriteString(Document); } - if (PageIdentifier.Length != 0) { + if (Uri.Length != 0) { output.WriteRawTag(18); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (PageIdentifier.Length != 0) { + output.WriteRawTag(34); output.WriteString(PageIdentifier); } - if (HasRelevanceScore) { - output.WriteRawTag(29); - output.WriteFloat(RelevanceScore); + if (structData_ != null) { + output.WriteRawTag(42); + output.WriteMessage(StructData); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -2239,14 +3590,20 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + if (Document.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + } + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); } if (PageIdentifier.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PageIdentifier); } - if (HasRelevanceScore) { - size += 1 + 4; + if (structData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -2256,18 +3613,27 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ChunkContent other) { + public void MergeFrom(DocumentMetadata other) { if (other == null) { return; } - if (other.Content.Length != 0) { - Content = other.Content; + if (other.Document.Length != 0) { + Document = other.Document; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Title.Length != 0) { + Title = other.Title; } if (other.PageIdentifier.Length != 0) { PageIdentifier = other.PageIdentifier; } - if (other.HasRelevanceScore) { - RelevanceScore = other.RelevanceScore; + if (other.structData_ != null) { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + StructData.MergeFrom(other.StructData); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -2289,15 +3655,26 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Content = input.ReadString(); + Document = input.ReadString(); break; } case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { PageIdentifier = input.ReadString(); break; } - case 29: { - RelevanceScore = input.ReadFloat(); + case 42: { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(StructData); break; } } @@ -2319,16 +3696,27 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - Content = input.ReadString(); + case 10: { + Document = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); break; } - case 18: { + case 34: { PageIdentifier = input.ReadString(); break; } - case 29: { - RelevanceScore = input.ReadFloat(); + case 42: { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(StructData); break; } } @@ -2344,25 +3732,24 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Chunk information. + /// Structured search information. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ChunkInfo : pb::IMessage + public sealed partial class StructuredDocumentInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkInfo()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StructuredDocumentInfo()); private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Descriptor.NestedTypes[1]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Descriptor.NestedTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2373,7 +3760,7 @@ public sealed partial class ChunkInfo : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkInfo() { + public StructuredDocumentInfo() { OnConstruction(); } @@ -2381,119 +3768,99 @@ public ChunkInfo() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkInfo(ChunkInfo other) : this() { - _hasBits0 = other._hasBits0; - chunk_ = other.chunk_; - content_ = other.content_; - relevanceScore_ = other.relevanceScore_; - documentMetadata_ = other.documentMetadata_ != null ? other.documentMetadata_.Clone() : null; + public StructuredDocumentInfo(StructuredDocumentInfo other) : this() { + document_ = other.document_; + structData_ = other.structData_ != null ? other.structData_.Clone() : null; + title_ = other.title_; + uri_ = other.uri_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkInfo Clone() { - return new ChunkInfo(this); + public StructuredDocumentInfo Clone() { + return new StructuredDocumentInfo(this); } - /// Field number for the "chunk" field. - public const int ChunkFieldNumber = 1; - private string chunk_ = ""; + /// Field number for the "document" field. + public const int DocumentFieldNumber = 1; + private string document_ = ""; /// - /// Chunk resource name. + /// Document resource name. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Chunk { - get { return chunk_; } + public string Document { + get { return document_; } set { - chunk_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "content" field. - public const int ContentFieldNumber = 2; - private string content_ = ""; + /// Field number for the "struct_data" field. + public const int StructDataFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Struct structData_; /// - /// Chunk textual content. + /// Structured search data. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } + public global::Google.Protobuf.WellKnownTypes.Struct StructData { + get { return structData_; } set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + structData_ = value; } } - /// Field number for the "relevance_score" field. - public const int RelevanceScoreFieldNumber = 3; - private readonly static float RelevanceScoreDefaultValue = 0F; - - private float relevanceScore_; + /// Field number for the "title" field. + public const int TitleFieldNumber = 3; + private string title_ = ""; /// - /// The relevance of the chunk for a given query. Values range from 0.0 - /// (completely irrelevant) to 1.0 (completely relevant). - /// This value is for informational purpose only. It may change for - /// the same query and chunk at any time due to a model retraining or - /// change in implementation. + /// Output only. The title of the document. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float RelevanceScore { - get { if ((_hasBits0 & 1) != 0) { return relevanceScore_; } else { return RelevanceScoreDefaultValue; } } + public string Title { + get { return title_; } set { - _hasBits0 |= 1; - relevanceScore_ = value; + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Gets whether the "relevance_score" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRelevanceScore { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "relevance_score" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRelevanceScore() { - _hasBits0 &= ~1; - } - /// Field number for the "document_metadata" field. - public const int DocumentMetadataFieldNumber = 4; - private global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata documentMetadata_; + /// Field number for the "uri" field. + public const int UriFieldNumber = 4; + private string uri_ = ""; /// - /// Document metadata. + /// Output only. The URI of the document. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata DocumentMetadata { - get { return documentMetadata_; } + public string Uri { + get { return uri_; } set { - documentMetadata_ = value; + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ChunkInfo); + return Equals(other as StructuredDocumentInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ChunkInfo other) { + public bool Equals(StructuredDocumentInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Chunk != other.Chunk) return false; - if (Content != other.Content) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RelevanceScore, other.RelevanceScore)) return false; - if (!object.Equals(DocumentMetadata, other.DocumentMetadata)) return false; + if (Document != other.Document) return false; + if (!object.Equals(StructData, other.StructData)) return false; + if (Title != other.Title) return false; + if (Uri != other.Uri) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2501,10 +3868,10 @@ public bool Equals(ChunkInfo other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Chunk.Length != 0) hash ^= Chunk.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - if (HasRelevanceScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RelevanceScore); - if (documentMetadata_ != null) hash ^= DocumentMetadata.GetHashCode(); + if (Document.Length != 0) hash ^= Document.GetHashCode(); + if (structData_ != null) hash ^= StructData.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2523,21 +3890,21 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Chunk.Length != 0) { + if (Document.Length != 0) { output.WriteRawTag(10); - output.WriteString(Chunk); + output.WriteString(Document); } - if (Content.Length != 0) { + if (structData_ != null) { output.WriteRawTag(18); - output.WriteString(Content); + output.WriteMessage(StructData); } - if (HasRelevanceScore) { - output.WriteRawTag(29); - output.WriteFloat(RelevanceScore); + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); } - if (documentMetadata_ != null) { + if (Uri.Length != 0) { output.WriteRawTag(34); - output.WriteMessage(DocumentMetadata); + output.WriteString(Uri); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -2549,555 +3916,453 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Chunk.Length != 0) { + if (Document.Length != 0) { output.WriteRawTag(10); - output.WriteString(Chunk); + output.WriteString(Document); } - if (Content.Length != 0) { + if (structData_ != null) { output.WriteRawTag(18); - output.WriteString(Content); + output.WriteMessage(StructData); } - if (HasRelevanceScore) { - output.WriteRawTag(29); - output.WriteFloat(RelevanceScore); + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); } - if (documentMetadata_ != null) { + if (Uri.Length != 0) { output.WriteRawTag(34); - output.WriteMessage(DocumentMetadata); + output.WriteString(Uri); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Chunk.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Chunk); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - if (HasRelevanceScore) { - size += 1 + 4; - } - if (documentMetadata_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DocumentMetadata); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ChunkInfo other) { - if (other == null) { - return; - } - if (other.Chunk.Length != 0) { - Chunk = other.Chunk; - } - if (other.Content.Length != 0) { - Content = other.Content; - } - if (other.HasRelevanceScore) { - RelevanceScore = other.RelevanceScore; - } - if (other.documentMetadata_ != null) { - if (documentMetadata_ == null) { - DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata(); - } - DocumentMetadata.MergeFrom(other.DocumentMetadata); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Chunk = input.ReadString(); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 29: { - RelevanceScore = input.ReadFloat(); - break; - } - case 34: { - if (documentMetadata_ == null) { - DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata(); - } - input.ReadMessage(DocumentMetadata); - break; - } - } - } - #endif - } + #endif - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + public int CalculateSize() { + int size = 0; + if (Document.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Chunk = input.ReadString(); - break; - } - case 18: { - Content = input.ReadString(); - break; - } - case 29: { - RelevanceScore = input.ReadFloat(); - break; - } - case 34: { - if (documentMetadata_ == null) { - DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Types.DocumentMetadata(); - } - input.ReadMessage(DocumentMetadata); - break; - } - } + if (structData_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); } + return size; } - #endif - #region Nested types - /// Container for nested types declared in the ChunkInfo message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - /// - /// Document metadata. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DocumentMetadata : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DocumentMetadata()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Types.ChunkInfo.Descriptor.NestedTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DocumentMetadata() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DocumentMetadata(DocumentMetadata other) : this() { - document_ = other.document_; - uri_ = other.uri_; - title_ = other.title_; - pageIdentifier_ = other.pageIdentifier_; - structData_ = other.structData_ != null ? other.structData_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DocumentMetadata Clone() { - return new DocumentMetadata(this); - } - - /// Field number for the "document" field. - public const int DocumentFieldNumber = 1; - private string document_ = ""; - /// - /// Document resource name. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Document { - get { return document_; } - set { - document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "uri" field. - public const int UriFieldNumber = 2; - private string uri_ = ""; - /// - /// URI for the document. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Uri { - get { return uri_; } - set { - uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 3; - private string title_ = ""; - /// - /// Title. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "page_identifier" field. - public const int PageIdentifierFieldNumber = 4; - private string pageIdentifier_ = ""; - /// - /// Page identifier. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PageIdentifier { - get { return pageIdentifier_; } - set { - pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "struct_data" field. - public const int StructDataFieldNumber = 5; - private global::Google.Protobuf.WellKnownTypes.Struct structData_; - /// - /// The structured JSON metadata for the document. - /// It is populated from the struct data from the Chunk in search result. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Protobuf.WellKnownTypes.Struct StructData { - get { return structData_; } - set { - structData_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DocumentMetadata); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DocumentMetadata other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Document != other.Document) return false; - if (Uri != other.Uri) return false; - if (Title != other.Title) return false; - if (PageIdentifier != other.PageIdentifier) return false; - if (!object.Equals(StructData, other.StructData)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Document.Length != 0) hash ^= Document.GetHashCode(); - if (Uri.Length != 0) hash ^= Uri.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (PageIdentifier.Length != 0) hash ^= PageIdentifier.GetHashCode(); - if (structData_ != null) hash ^= StructData.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Document.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Document); - } - if (Uri.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Uri); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (PageIdentifier.Length != 0) { - output.WriteRawTag(34); - output.WriteString(PageIdentifier); - } - if (structData_ != null) { - output.WriteRawTag(42); - output.WriteMessage(StructData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StructuredDocumentInfo other) { + if (other == null) { + return; + } + if (other.Document.Length != 0) { + Document = other.Document; + } + if (other.structData_ != null) { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); } + StructData.MergeFrom(other.StructData); + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Document.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Document); - } - if (Uri.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Uri); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Document = input.ReadString(); + break; } - if (PageIdentifier.Length != 0) { - output.WriteRawTag(34); - output.WriteString(PageIdentifier); + case 18: { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(StructData); + break; } - if (structData_ != null) { - output.WriteRawTag(42); - output.WriteMessage(StructData); + case 26: { + Title = input.ReadString(); + break; } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + case 34: { + Uri = input.ReadString(); + break; } } - #endif + } + #endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Document.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); - } - if (Uri.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Document = input.ReadString(); + break; } - if (PageIdentifier.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PageIdentifier); + case 18: { + if (structData_ == null) { + StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); + } + input.ReadMessage(StructData); + break; } - if (structData_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); + case 26: { + Title = input.ReadString(); + break; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + case 34: { + Uri = input.ReadString(); + break; } - return size; } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Stores binarydata attached to text answer, e.g. image, video, audio, etc. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BlobAttachment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlobAttachment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Descriptor.NestedTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlobAttachment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlobAttachment(BlobAttachment other) : this() { + data_ = other.data_ != null ? other.data_.Clone() : null; + attributionType_ = other.attributionType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BlobAttachment Clone() { + return new BlobAttachment(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob data_; + /// + /// Output only. The mime type and data of the blob. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob Data { + get { return data_; } + set { + data_ = value; + } + } + + /// Field number for the "attribution_type" field. + public const int AttributionTypeFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType attributionType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType.Unspecified; + /// + /// Output only. The attribution type of the blob. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType AttributionType { + get { return attributionType_; } + set { + attributionType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BlobAttachment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BlobAttachment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Data, other.Data)) return false; + if (AttributionType != other.AttributionType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (data_ != null) hash ^= Data.GetHashCode(); + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType.Unspecified) hash ^= AttributionType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (data_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Data); + } + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) AttributionType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (data_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Data); + } + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) AttributionType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); + } + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AttributionType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DocumentMetadata other) { - if (other == null) { - return; - } - if (other.Document.Length != 0) { - Document = other.Document; - } - if (other.Uri.Length != 0) { - Uri = other.Uri; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.PageIdentifier.Length != 0) { - PageIdentifier = other.PageIdentifier; - } - if (other.structData_ != null) { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - StructData.MergeFrom(other.StructData); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BlobAttachment other) { + if (other == null) { + return; + } + if (other.data_ != null) { + if (data_ == null) { + Data = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob(); + } + Data.MergeFrom(other.Data); + } + if (other.AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType.Unspecified) { + AttributionType = other.AttributionType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Document = input.ReadString(); - break; - } - case 18: { - Uri = input.ReadString(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 34: { - PageIdentifier = input.ReadString(); - break; - } - case 42: { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - input.ReadMessage(StructData); - break; - } - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (data_ == null) { + Data = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob(); } + input.ReadMessage(Data); + break; + } + case 16: { + AttributionType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType) input.ReadEnum(); + break; + } + } + } + #endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Document = input.ReadString(); - break; - } - case 18: { - Uri = input.ReadString(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 34: { - PageIdentifier = input.ReadString(); - break; - } - case 42: { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - input.ReadMessage(StructData); - break; - } - } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (data_ == null) { + Data = new global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.Blob(); } - #endif - + input.ReadMessage(Data); + break; + } + case 16: { + AttributionType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Types.AttributionType) input.ReadEnum(); + break; } - } - #endregion + } + } + #endif + #region Nested types + /// Container for nested types declared in the BlobAttachment message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The source of the blob. + /// + public enum AttributionType { + /// + /// Unspecified attribution type. + /// + [pbr::OriginalName("ATTRIBUTION_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// The attachment data is from the corpus. + /// + [pbr::OriginalName("CORPUS")] Corpus = 1, + /// + /// The attachment data is generated by the model through code + /// generation. + /// + [pbr::OriginalName("GENERATED")] Generated = 2, } /// - /// Structured search information. + /// The media type and data of the blob. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StructuredDocumentInfo : pb::IMessage + public sealed partial class Blob : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StructuredDocumentInfo()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Blob()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.Reference.Descriptor.NestedTypes[2]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Types.BlobAttachment.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3108,7 +4373,7 @@ public sealed partial class StructuredDocumentInfo : pb::IMessageField number for the "document" field. - public const int DocumentFieldNumber = 1; - private string document_ = ""; + /// Field number for the "mime_type" field. + public const int MimeTypeFieldNumber = 1; + private string mimeType_ = ""; /// - /// Document resource name. + /// Output only. The media type (MIME type) of the generated or retrieved + /// data. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Document { - get { return document_; } + public string MimeType { + get { return mimeType_; } set { - document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + mimeType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "struct_data" field. - public const int StructDataFieldNumber = 2; - private global::Google.Protobuf.WellKnownTypes.Struct structData_; + /// Field number for the "data" field. + public const int DataFieldNumber = 2; + private pb::ByteString data_ = pb::ByteString.Empty; /// - /// Structured search data. + /// Output only. Raw bytes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Protobuf.WellKnownTypes.Struct StructData { - get { return structData_; } + public pb::ByteString Data { + get { return data_; } set { - structData_ = value; + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as StructuredDocumentInfo); + return Equals(other as Blob); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StructuredDocumentInfo other) { + public bool Equals(Blob other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Document != other.Document) return false; - if (!object.Equals(StructData, other.StructData)) return false; + if (MimeType != other.MimeType) return false; + if (Data != other.Data) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3182,8 +4448,8 @@ public bool Equals(StructuredDocumentInfo other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Document.Length != 0) hash ^= Document.GetHashCode(); - if (structData_ != null) hash ^= StructData.GetHashCode(); + if (MimeType.Length != 0) hash ^= MimeType.GetHashCode(); + if (Data.Length != 0) hash ^= Data.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3202,13 +4468,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Document.Length != 0) { + if (MimeType.Length != 0) { output.WriteRawTag(10); - output.WriteString(Document); + output.WriteString(MimeType); } - if (structData_ != null) { + if (Data.Length != 0) { output.WriteRawTag(18); - output.WriteMessage(StructData); + output.WriteBytes(Data); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -3220,13 +4486,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Document.Length != 0) { + if (MimeType.Length != 0) { output.WriteRawTag(10); - output.WriteString(Document); + output.WriteString(MimeType); } - if (structData_ != null) { + if (Data.Length != 0) { output.WriteRawTag(18); - output.WriteMessage(StructData); + output.WriteBytes(Data); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -3238,11 +4504,11 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Document.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + if (MimeType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MimeType); } - if (structData_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); + if (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -3252,18 +4518,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StructuredDocumentInfo other) { + public void MergeFrom(Blob other) { if (other == null) { return; } - if (other.Document.Length != 0) { - Document = other.Document; + if (other.MimeType.Length != 0) { + MimeType = other.MimeType; } - if (other.structData_ != null) { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - StructData.MergeFrom(other.StructData); + if (other.Data.Length != 0) { + Data = other.Data; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3285,14 +4548,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Document = input.ReadString(); + MimeType = input.ReadString(); break; } case 18: { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - input.ReadMessage(StructData); + Data = input.ReadBytes(); break; } } @@ -3315,14 +4575,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Document = input.ReadString(); + MimeType = input.ReadString(); break; } case 18: { - if (structData_ == null) { - StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); - } - input.ReadMessage(StructData); + Data = input.ReadBytes(); break; } } @@ -3355,7 +4612,7 @@ public sealed partial class Step : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Descriptor.NestedTypes[3]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Answer.Descriptor.NestedTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5358,7 +6615,7 @@ public sealed partial class QueryUnderstandingInfo : pb::IMessage [pbr::OriginalName("NON_ANSWER_SEEKING_QUERY_V2")] NonAnswerSeekingQueryV2 = 4, + /// + /// User defined query classification type. + /// + [pbr::OriginalName("USER_DEFINED_CLASSIFICATION_QUERY")] UserDefinedClassificationQuery = 5, } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswer.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswer.g.cs new file mode 100644 index 000000000000..68e9bf3a2957 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswer.g.cs @@ -0,0 +1,5527 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/assist_answer.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/assist_answer.proto + public static partial class AssistAnswerReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/assist_answer.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AssistAnswerReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cjdnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hc3Npc3Rf", + "YW5zd2VyLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYx", + "YmV0YRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xl", + "L2FwaS9yZXNvdXJjZS5wcm90bxpFZ29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVu", + "Z2luZS92MWJldGEvZ3JvdW5kZWRfZ2VuZXJhd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ZXJ5RW5naW5lXFYxYmV0YeoCJkdv", + "b2dsZTo6Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Parser, new[]{ "Name", "State", "Replies", "AssistSkippedReasons", "CustomerPolicyEnforcementResult" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.AssistSkippedReason) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.Reply), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.Reply.Parser, new[]{ "GroundedContent", "CreateTime" }, new[]{ "Reply" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Parser, new[]{ "Verdict", "PolicyResults" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult.Parser, new[]{ "BannedPhrases" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult.Parser, new[]{ "ModelArmorViolation", "Error" }, new[]{ "Result" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.PolicyEnforcementResult), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.PolicyEnforcementResult.Parser, new[]{ "BannedPhraseEnforcementResult", "ModelArmorEnforcementResult" }, new[]{ "EnforcementResult" }, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Parser, new[]{ "Text", "InlineData", "File", "ExecutableCode", "CodeExecutionResult", "Role", "Thought" }, new[]{ "Data" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob.Parser, new[]{ "MimeType", "Data" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File.Parser, new[]{ "MimeType", "FileId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode.Parser, new[]{ "Code" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Parser, new[]{ "Outcome", "Output" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome) }, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Parser, new[]{ "TextGroundingMetadata", "Content", "CitationMetadata" }, new[]{ "Metadata" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Parser, new[]{ "Segments", "VisualSegments", "References" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Segment), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Segment.Parser, new[]{ "StartIndex", "EndIndex", "ReferenceIndices", "GroundingScore", "Text" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment.Parser, new[]{ "ReferenceIndices", "ContentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Parser, new[]{ "Content", "CodeSnippet", "DocumentMetadata" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Parser, new[]{ "Language", "Document", "Uri", "Title", "PageIdentifier", "Domain", "MimeType" }, new[]{ "Document", "Uri", "Title", "PageIdentifier", "Domain", "MimeType" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language) }, null, null)})})}) + })); + } + #endregion + + } + #region Messages + /// + /// AssistAnswer resource, main part of + /// [AssistResponse][google.cloud.discoveryengine.v1beta.AssistResponse]. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AssistAnswer : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AssistAnswer()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswerReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistAnswer() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistAnswer(AssistAnswer other) : this() { + name_ = other.name_; + state_ = other.state_; + replies_ = other.replies_.Clone(); + assistSkippedReasons_ = other.assistSkippedReasons_.Clone(); + customerPolicyEnforcementResult_ = other.customerPolicyEnforcementResult_ != null ? other.customerPolicyEnforcementResult_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistAnswer Clone() { + return new AssistAnswer(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. Identifier. Resource name of the `AssistAnswer`. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` + /// + /// This field must be a UTF-8 encoded string with a length limit of 1024 + /// characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State state_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State.Unspecified; + /// + /// State of the answer generation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "replies" field. + public const int RepliesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_replies_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.Reply.Parser); + private readonly pbc::RepeatedField replies_ = new pbc::RepeatedField(); + /// + /// Replies of the assistant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Replies { + get { return replies_; } + } + + /// Field number for the "assist_skipped_reasons" field. + public const int AssistSkippedReasonsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_assistSkippedReasons_codec + = pb::FieldCodec.ForEnum(42, x => (int) x, x => (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.AssistSkippedReason) x); + private readonly pbc::RepeatedField assistSkippedReasons_ = new pbc::RepeatedField(); + /// + /// Reasons for not answering the assist call. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AssistSkippedReasons { + get { return assistSkippedReasons_; } + } + + /// Field number for the "customer_policy_enforcement_result" field. + public const int CustomerPolicyEnforcementResultFieldNumber = 8; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult customerPolicyEnforcementResult_; + /// + /// Optional. The field contains information about the various policy checks' + /// results like the banned phrases or the Model Armor checks. This field is + /// populated only if the assist call was skipped due to a policy violation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult CustomerPolicyEnforcementResult { + get { return customerPolicyEnforcementResult_; } + set { + customerPolicyEnforcementResult_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AssistAnswer); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AssistAnswer other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (State != other.State) return false; + if(!replies_.Equals(other.replies_)) return false; + if(!assistSkippedReasons_.Equals(other.assistSkippedReasons_)) return false; + if (!object.Equals(CustomerPolicyEnforcementResult, other.CustomerPolicyEnforcementResult)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State.Unspecified) hash ^= State.GetHashCode(); + hash ^= replies_.GetHashCode(); + hash ^= assistSkippedReasons_.GetHashCode(); + if (customerPolicyEnforcementResult_ != null) hash ^= CustomerPolicyEnforcementResult.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) State); + } + replies_.WriteTo(output, _repeated_replies_codec); + assistSkippedReasons_.WriteTo(output, _repeated_assistSkippedReasons_codec); + if (customerPolicyEnforcementResult_ != null) { + output.WriteRawTag(66); + output.WriteMessage(CustomerPolicyEnforcementResult); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) State); + } + replies_.WriteTo(ref output, _repeated_replies_codec); + assistSkippedReasons_.WriteTo(ref output, _repeated_assistSkippedReasons_codec); + if (customerPolicyEnforcementResult_ != null) { + output.WriteRawTag(66); + output.WriteMessage(CustomerPolicyEnforcementResult); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); + } + size += replies_.CalculateSize(_repeated_replies_codec); + size += assistSkippedReasons_.CalculateSize(_repeated_assistSkippedReasons_codec); + if (customerPolicyEnforcementResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CustomerPolicyEnforcementResult); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AssistAnswer other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.State != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State.Unspecified) { + State = other.State; + } + replies_.Add(other.replies_); + assistSkippedReasons_.Add(other.assistSkippedReasons_); + if (other.customerPolicyEnforcementResult_ != null) { + if (customerPolicyEnforcementResult_ == null) { + CustomerPolicyEnforcementResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult(); + } + CustomerPolicyEnforcementResult.MergeFrom(other.CustomerPolicyEnforcementResult); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + State = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State) input.ReadEnum(); + break; + } + case 26: { + replies_.AddEntriesFrom(input, _repeated_replies_codec); + break; + } + case 42: + case 40: { + assistSkippedReasons_.AddEntriesFrom(input, _repeated_assistSkippedReasons_codec); + break; + } + case 66: { + if (customerPolicyEnforcementResult_ == null) { + CustomerPolicyEnforcementResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult(); + } + input.ReadMessage(CustomerPolicyEnforcementResult); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + State = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.State) input.ReadEnum(); + break; + } + case 26: { + replies_.AddEntriesFrom(ref input, _repeated_replies_codec); + break; + } + case 42: + case 40: { + assistSkippedReasons_.AddEntriesFrom(ref input, _repeated_assistSkippedReasons_codec); + break; + } + case 66: { + if (customerPolicyEnforcementResult_ == null) { + CustomerPolicyEnforcementResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult(); + } + input.ReadMessage(CustomerPolicyEnforcementResult); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AssistAnswer message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// State of the answer generation. + /// + public enum State { + /// + /// Unknown. + /// + [pbr::OriginalName("STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// Assist operation is currently in progress. + /// + [pbr::OriginalName("IN_PROGRESS")] InProgress = 1, + /// + /// Assist operation has failed. + /// + [pbr::OriginalName("FAILED")] Failed = 2, + /// + /// Assist operation has succeeded. + /// + [pbr::OriginalName("SUCCEEDED")] Succeeded = 3, + /// + /// Assist operation has been skipped. + /// + [pbr::OriginalName("SKIPPED")] Skipped = 4, + /// + /// Assist operation has been cancelled (e.g. client closed the stream). + /// May contain a partial response. + /// + [pbr::OriginalName("CANCELLED")] Cancelled = 5, + } + + /// + /// Possible reasons for not answering an assist call. + /// + public enum AssistSkippedReason { + /// + /// Default value. Skip reason is not specified. + /// + [pbr::OriginalName("ASSIST_SKIPPED_REASON_UNSPECIFIED")] Unspecified = 0, + /// + /// The assistant ignored the query, because it did not appear to be + /// answer-seeking. + /// + [pbr::OriginalName("NON_ASSIST_SEEKING_QUERY_IGNORED")] NonAssistSeekingQueryIgnored = 1, + /// + /// The assistant ignored the query or refused to answer because of a + /// customer policy violation (e.g., the query or the answer contained a + /// banned phrase). + /// + [pbr::OriginalName("CUSTOMER_POLICY_VIOLATION")] CustomerPolicyViolation = 2, + } + + /// + /// One part of the multi-part response of the assist call. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Reply : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Reply()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reply() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reply(Reply other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + switch (other.ReplyCase) { + case ReplyOneofCase.GroundedContent: + GroundedContent = other.GroundedContent.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reply Clone() { + return new Reply(this); + } + + /// Field number for the "grounded_content" field. + public const int GroundedContentFieldNumber = 1; + /// + /// Possibly grounded response text or media from the assistant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent GroundedContent { + get { return replyCase_ == ReplyOneofCase.GroundedContent ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent) reply_ : null; } + set { + reply_ = value; + replyCase_ = value == null ? ReplyOneofCase.None : ReplyOneofCase.GroundedContent; + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 14; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// The time when the reply was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + private object reply_; + /// Enum of possible cases for the "reply" oneof. + public enum ReplyOneofCase { + None = 0, + GroundedContent = 1, + } + private ReplyOneofCase replyCase_ = ReplyOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplyOneofCase ReplyCase { + get { return replyCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReply() { + replyCase_ = ReplyOneofCase.None; + reply_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Reply); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Reply other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(GroundedContent, other.GroundedContent)) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (ReplyCase != other.ReplyCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (replyCase_ == ReplyOneofCase.GroundedContent) hash ^= GroundedContent.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + hash ^= (int) replyCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (replyCase_ == ReplyOneofCase.GroundedContent) { + output.WriteRawTag(10); + output.WriteMessage(GroundedContent); + } + if (createTime_ != null) { + output.WriteRawTag(114); + output.WriteMessage(CreateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (replyCase_ == ReplyOneofCase.GroundedContent) { + output.WriteRawTag(10); + output.WriteMessage(GroundedContent); + } + if (createTime_ != null) { + output.WriteRawTag(114); + output.WriteMessage(CreateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (replyCase_ == ReplyOneofCase.GroundedContent) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GroundedContent); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Reply other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + switch (other.ReplyCase) { + case ReplyOneofCase.GroundedContent: + if (GroundedContent == null) { + GroundedContent = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent(); + } + GroundedContent.MergeFrom(other.GroundedContent); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent(); + if (replyCase_ == ReplyOneofCase.GroundedContent) { + subBuilder.MergeFrom(GroundedContent); + } + input.ReadMessage(subBuilder); + GroundedContent = subBuilder; + break; + } + case 114: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent(); + if (replyCase_ == ReplyOneofCase.GroundedContent) { + subBuilder.MergeFrom(GroundedContent); + } + input.ReadMessage(subBuilder); + GroundedContent = subBuilder; + break; + } + case 114: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + } + } + } + #endif + + } + + /// + /// Customer policy enforcement results. Contains the results of the various + /// policy checks, like the banned phrases or the Model Armor checks. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomerPolicyEnforcementResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomerPolicyEnforcementResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerPolicyEnforcementResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerPolicyEnforcementResult(CustomerPolicyEnforcementResult other) : this() { + verdict_ = other.verdict_; + policyResults_ = other.policyResults_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerPolicyEnforcementResult Clone() { + return new CustomerPolicyEnforcementResult(this); + } + + /// Field number for the "verdict" field. + public const int VerdictFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict verdict_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict.Unspecified; + /// + /// Final verdict of the customer policy enforcement. If only one policy + /// blocked the processing, the verdict is BLOCK. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict Verdict { + get { return verdict_; } + set { + verdict_ = value; + } + } + + /// Field number for the "policy_results" field. + public const int PolicyResultsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_policyResults_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.PolicyEnforcementResult.Parser); + private readonly pbc::RepeatedField policyResults_ = new pbc::RepeatedField(); + /// + /// Customer policy enforcement results. + /// Populated only if the assist call was skipped due to a policy + /// violation. It contains results from those filters that blocked the + /// processing of the query. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PolicyResults { + get { return policyResults_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomerPolicyEnforcementResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomerPolicyEnforcementResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Verdict != other.Verdict) return false; + if(!policyResults_.Equals(other.policyResults_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Verdict != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict.Unspecified) hash ^= Verdict.GetHashCode(); + hash ^= policyResults_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Verdict != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Verdict); + } + policyResults_.WriteTo(output, _repeated_policyResults_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Verdict != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Verdict); + } + policyResults_.WriteTo(ref output, _repeated_policyResults_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Verdict != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Verdict); + } + size += policyResults_.CalculateSize(_repeated_policyResults_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomerPolicyEnforcementResult other) { + if (other == null) { + return; + } + if (other.Verdict != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict.Unspecified) { + Verdict = other.Verdict; + } + policyResults_.Add(other.policyResults_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Verdict = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict) input.ReadEnum(); + break; + } + case 26: { + policyResults_.AddEntriesFrom(input, _repeated_policyResults_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Verdict = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict) input.ReadEnum(); + break; + } + case 26: { + policyResults_.AddEntriesFrom(ref input, _repeated_policyResults_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CustomerPolicyEnforcementResult message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The verdict of the customer policy enforcement. + /// + public enum Verdict { + /// + /// Unknown value. + /// + [pbr::OriginalName("UNSPECIFIED")] Unspecified = 0, + /// + /// There was no policy violation. + /// + [pbr::OriginalName("ALLOW")] Allow = 1, + /// + /// Processing was blocked by the customer policy. + /// + [pbr::OriginalName("BLOCK")] Block = 2, + } + + /// + /// Customer policy enforcement result for the banned phrase policy. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BannedPhraseEnforcementResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BannedPhraseEnforcementResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BannedPhraseEnforcementResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BannedPhraseEnforcementResult(BannedPhraseEnforcementResult other) : this() { + bannedPhrases_ = other.bannedPhrases_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BannedPhraseEnforcementResult Clone() { + return new BannedPhraseEnforcementResult(this); + } + + /// Field number for the "banned_phrases" field. + public const int BannedPhrasesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_bannedPhrases_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField bannedPhrases_ = new pbc::RepeatedField(); + /// + /// The banned phrases that were found in the query or the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BannedPhrases { + get { return bannedPhrases_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BannedPhraseEnforcementResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BannedPhraseEnforcementResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!bannedPhrases_.Equals(other.bannedPhrases_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= bannedPhrases_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + bannedPhrases_.WriteTo(output, _repeated_bannedPhrases_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + bannedPhrases_.WriteTo(ref output, _repeated_bannedPhrases_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += bannedPhrases_.CalculateSize(_repeated_bannedPhrases_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BannedPhraseEnforcementResult other) { + if (other == null) { + return; + } + bannedPhrases_.Add(other.bannedPhrases_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + bannedPhrases_.AddEntriesFrom(input, _repeated_bannedPhrases_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + bannedPhrases_.AddEntriesFrom(ref input, _repeated_bannedPhrases_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Customer policy enforcement result for the Model Armor policy. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ModelArmorEnforcementResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ModelArmorEnforcementResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorEnforcementResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorEnforcementResult(ModelArmorEnforcementResult other) : this() { + switch (other.ResultCase) { + case ResultOneofCase.ModelArmorViolation: + ModelArmorViolation = other.ModelArmorViolation; + break; + case ResultOneofCase.Error: + Error = other.Error.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorEnforcementResult Clone() { + return new ModelArmorEnforcementResult(this); + } + + /// Field number for the "model_armor_violation" field. + public const int ModelArmorViolationFieldNumber = 1; + /// + /// The Model Armor violation that was found. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelArmorViolation { + get { return HasModelArmorViolation ? (string) result_ : ""; } + set { + result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + resultCase_ = ResultOneofCase.ModelArmorViolation; + } + } + /// Gets whether the "model_armor_violation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasModelArmorViolation { + get { return resultCase_ == ResultOneofCase.ModelArmorViolation; } + } + /// Clears the value of the oneof if it's currently set to "model_armor_violation" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearModelArmorViolation() { + if (HasModelArmorViolation) { + ClearResult(); + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 2; + /// + /// The error returned by Model Armor if the policy enforcement failed + /// for some reason. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Rpc.Status Error { + get { return resultCase_ == ResultOneofCase.Error ? (global::Google.Rpc.Status) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Error; + } + } + + private object result_; + /// Enum of possible cases for the "result" oneof. + public enum ResultOneofCase { + None = 0, + ModelArmorViolation = 1, + Error = 2, + } + private ResultOneofCase resultCase_ = ResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultOneofCase ResultCase { + get { return resultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + resultCase_ = ResultOneofCase.None; + result_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ModelArmorEnforcementResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ModelArmorEnforcementResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ModelArmorViolation != other.ModelArmorViolation) return false; + if (!object.Equals(Error, other.Error)) return false; + if (ResultCase != other.ResultCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasModelArmorViolation) hash ^= ModelArmorViolation.GetHashCode(); + if (resultCase_ == ResultOneofCase.Error) hash ^= Error.GetHashCode(); + hash ^= (int) resultCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasModelArmorViolation) { + output.WriteRawTag(10); + output.WriteString(ModelArmorViolation); + } + if (resultCase_ == ResultOneofCase.Error) { + output.WriteRawTag(18); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasModelArmorViolation) { + output.WriteRawTag(10); + output.WriteString(ModelArmorViolation); + } + if (resultCase_ == ResultOneofCase.Error) { + output.WriteRawTag(18); + output.WriteMessage(Error); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasModelArmorViolation) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelArmorViolation); + } + if (resultCase_ == ResultOneofCase.Error) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ModelArmorEnforcementResult other) { + if (other == null) { + return; + } + switch (other.ResultCase) { + case ResultOneofCase.ModelArmorViolation: + ModelArmorViolation = other.ModelArmorViolation; + break; + case ResultOneofCase.Error: + if (Error == null) { + Error = new global::Google.Rpc.Status(); + } + Error.MergeFrom(other.Error); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ModelArmorViolation = input.ReadString(); + break; + } + case 18: { + global::Google.Rpc.Status subBuilder = new global::Google.Rpc.Status(); + if (resultCase_ == ResultOneofCase.Error) { + subBuilder.MergeFrom(Error); + } + input.ReadMessage(subBuilder); + Error = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ModelArmorViolation = input.ReadString(); + break; + } + case 18: { + global::Google.Rpc.Status subBuilder = new global::Google.Rpc.Status(); + if (resultCase_ == ResultOneofCase.Error) { + subBuilder.MergeFrom(Error); + } + input.ReadMessage(subBuilder); + Error = subBuilder; + break; + } + } + } + } + #endif + + } + + /// + /// Customer policy enforcement result for a single policy type. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PolicyEnforcementResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PolicyEnforcementResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PolicyEnforcementResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PolicyEnforcementResult(PolicyEnforcementResult other) : this() { + switch (other.EnforcementResultCase) { + case EnforcementResultOneofCase.BannedPhraseEnforcementResult: + BannedPhraseEnforcementResult = other.BannedPhraseEnforcementResult.Clone(); + break; + case EnforcementResultOneofCase.ModelArmorEnforcementResult: + ModelArmorEnforcementResult = other.ModelArmorEnforcementResult.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PolicyEnforcementResult Clone() { + return new PolicyEnforcementResult(this); + } + + /// Field number for the "banned_phrase_enforcement_result" field. + public const int BannedPhraseEnforcementResultFieldNumber = 3; + /// + /// The policy enforcement result for the banned phrase policy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult BannedPhraseEnforcementResult { + get { return enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult) enforcementResult_ : null; } + set { + enforcementResult_ = value; + enforcementResultCase_ = value == null ? EnforcementResultOneofCase.None : EnforcementResultOneofCase.BannedPhraseEnforcementResult; + } + } + + /// Field number for the "model_armor_enforcement_result" field. + public const int ModelArmorEnforcementResultFieldNumber = 4; + /// + /// The policy enforcement result for the Model Armor policy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult ModelArmorEnforcementResult { + get { return enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult) enforcementResult_ : null; } + set { + enforcementResult_ = value; + enforcementResultCase_ = value == null ? EnforcementResultOneofCase.None : EnforcementResultOneofCase.ModelArmorEnforcementResult; + } + } + + private object enforcementResult_; + /// Enum of possible cases for the "enforcement_result" oneof. + public enum EnforcementResultOneofCase { + None = 0, + BannedPhraseEnforcementResult = 3, + ModelArmorEnforcementResult = 4, + } + private EnforcementResultOneofCase enforcementResultCase_ = EnforcementResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnforcementResultOneofCase EnforcementResultCase { + get { return enforcementResultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEnforcementResult() { + enforcementResultCase_ = EnforcementResultOneofCase.None; + enforcementResult_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PolicyEnforcementResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PolicyEnforcementResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(BannedPhraseEnforcementResult, other.BannedPhraseEnforcementResult)) return false; + if (!object.Equals(ModelArmorEnforcementResult, other.ModelArmorEnforcementResult)) return false; + if (EnforcementResultCase != other.EnforcementResultCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult) hash ^= BannedPhraseEnforcementResult.GetHashCode(); + if (enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult) hash ^= ModelArmorEnforcementResult.GetHashCode(); + hash ^= (int) enforcementResultCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult) { + output.WriteRawTag(26); + output.WriteMessage(BannedPhraseEnforcementResult); + } + if (enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult) { + output.WriteRawTag(34); + output.WriteMessage(ModelArmorEnforcementResult); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult) { + output.WriteRawTag(26); + output.WriteMessage(BannedPhraseEnforcementResult); + } + if (enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult) { + output.WriteRawTag(34); + output.WriteMessage(ModelArmorEnforcementResult); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BannedPhraseEnforcementResult); + } + if (enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModelArmorEnforcementResult); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PolicyEnforcementResult other) { + if (other == null) { + return; + } + switch (other.EnforcementResultCase) { + case EnforcementResultOneofCase.BannedPhraseEnforcementResult: + if (BannedPhraseEnforcementResult == null) { + BannedPhraseEnforcementResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult(); + } + BannedPhraseEnforcementResult.MergeFrom(other.BannedPhraseEnforcementResult); + break; + case EnforcementResultOneofCase.ModelArmorEnforcementResult: + if (ModelArmorEnforcementResult == null) { + ModelArmorEnforcementResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult(); + } + ModelArmorEnforcementResult.MergeFrom(other.ModelArmorEnforcementResult); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult(); + if (enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult) { + subBuilder.MergeFrom(BannedPhraseEnforcementResult); + } + input.ReadMessage(subBuilder); + BannedPhraseEnforcementResult = subBuilder; + break; + } + case 34: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult(); + if (enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult) { + subBuilder.MergeFrom(ModelArmorEnforcementResult); + } + input.ReadMessage(subBuilder); + ModelArmorEnforcementResult = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.BannedPhraseEnforcementResult(); + if (enforcementResultCase_ == EnforcementResultOneofCase.BannedPhraseEnforcementResult) { + subBuilder.MergeFrom(BannedPhraseEnforcementResult); + } + input.ReadMessage(subBuilder); + BannedPhraseEnforcementResult = subBuilder; + break; + } + case 34: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.ModelArmorEnforcementResult(); + if (enforcementResultCase_ == EnforcementResultOneofCase.ModelArmorEnforcementResult) { + subBuilder.MergeFrom(ModelArmorEnforcementResult); + } + input.ReadMessage(subBuilder); + ModelArmorEnforcementResult = subBuilder; + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// Multi-modal content. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AssistantContent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AssistantContent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswerReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistantContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistantContent(AssistantContent other) : this() { + role_ = other.role_; + thought_ = other.thought_; + switch (other.DataCase) { + case DataOneofCase.Text: + Text = other.Text; + break; + case DataOneofCase.InlineData: + InlineData = other.InlineData.Clone(); + break; + case DataOneofCase.File: + File = other.File.Clone(); + break; + case DataOneofCase.ExecutableCode: + ExecutableCode = other.ExecutableCode.Clone(); + break; + case DataOneofCase.CodeExecutionResult: + CodeExecutionResult = other.CodeExecutionResult.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistantContent Clone() { + return new AssistantContent(this); + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 2; + /// + /// Inline text. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return HasText ? (string) data_ : ""; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + dataCase_ = DataOneofCase.Text; + } + } + /// Gets whether the "text" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasText { + get { return dataCase_ == DataOneofCase.Text; } + } + /// Clears the value of the oneof if it's currently set to "text" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearText() { + if (HasText) { + ClearData(); + } + } + + /// Field number for the "inline_data" field. + public const int InlineDataFieldNumber = 3; + /// + /// Inline binary data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob InlineData { + get { return dataCase_ == DataOneofCase.InlineData ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.InlineData; + } + } + + /// Field number for the "file" field. + public const int FileFieldNumber = 4; + /// + /// A file, e.g., an audio summary. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File File { + get { return dataCase_ == DataOneofCase.File ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.File; + } + } + + /// Field number for the "executable_code" field. + public const int ExecutableCodeFieldNumber = 7; + /// + /// Code generated by the model that is meant to be executed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode ExecutableCode { + get { return dataCase_ == DataOneofCase.ExecutableCode ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.ExecutableCode; + } + } + + /// Field number for the "code_execution_result" field. + public const int CodeExecutionResultFieldNumber = 8; + /// + /// Result of executing an ExecutableCode. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult CodeExecutionResult { + get { return dataCase_ == DataOneofCase.CodeExecutionResult ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.CodeExecutionResult; + } + } + + /// Field number for the "role" field. + public const int RoleFieldNumber = 1; + private string role_ = ""; + /// + /// The producer of the content. Can be "model" or "user". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Role { + get { return role_; } + set { + role_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "thought" field. + public const int ThoughtFieldNumber = 6; + private bool thought_; + /// + /// Optional. Indicates if the part is thought from the model. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Thought { + get { return thought_; } + set { + thought_ = value; + } + } + + private object data_; + /// Enum of possible cases for the "data" oneof. + public enum DataOneofCase { + None = 0, + Text = 2, + InlineData = 3, + File = 4, + ExecutableCode = 7, + CodeExecutionResult = 8, + } + private DataOneofCase dataCase_ = DataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataOneofCase DataCase { + get { return dataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + dataCase_ = DataOneofCase.None; + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AssistantContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AssistantContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Text != other.Text) return false; + if (!object.Equals(InlineData, other.InlineData)) return false; + if (!object.Equals(File, other.File)) return false; + if (!object.Equals(ExecutableCode, other.ExecutableCode)) return false; + if (!object.Equals(CodeExecutionResult, other.CodeExecutionResult)) return false; + if (Role != other.Role) return false; + if (Thought != other.Thought) return false; + if (DataCase != other.DataCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasText) hash ^= Text.GetHashCode(); + if (dataCase_ == DataOneofCase.InlineData) hash ^= InlineData.GetHashCode(); + if (dataCase_ == DataOneofCase.File) hash ^= File.GetHashCode(); + if (dataCase_ == DataOneofCase.ExecutableCode) hash ^= ExecutableCode.GetHashCode(); + if (dataCase_ == DataOneofCase.CodeExecutionResult) hash ^= CodeExecutionResult.GetHashCode(); + if (Role.Length != 0) hash ^= Role.GetHashCode(); + if (Thought != false) hash ^= Thought.GetHashCode(); + hash ^= (int) dataCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Role.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Role); + } + if (HasText) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (dataCase_ == DataOneofCase.InlineData) { + output.WriteRawTag(26); + output.WriteMessage(InlineData); + } + if (dataCase_ == DataOneofCase.File) { + output.WriteRawTag(34); + output.WriteMessage(File); + } + if (Thought != false) { + output.WriteRawTag(48); + output.WriteBool(Thought); + } + if (dataCase_ == DataOneofCase.ExecutableCode) { + output.WriteRawTag(58); + output.WriteMessage(ExecutableCode); + } + if (dataCase_ == DataOneofCase.CodeExecutionResult) { + output.WriteRawTag(66); + output.WriteMessage(CodeExecutionResult); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Role.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Role); + } + if (HasText) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (dataCase_ == DataOneofCase.InlineData) { + output.WriteRawTag(26); + output.WriteMessage(InlineData); + } + if (dataCase_ == DataOneofCase.File) { + output.WriteRawTag(34); + output.WriteMessage(File); + } + if (Thought != false) { + output.WriteRawTag(48); + output.WriteBool(Thought); + } + if (dataCase_ == DataOneofCase.ExecutableCode) { + output.WriteRawTag(58); + output.WriteMessage(ExecutableCode); + } + if (dataCase_ == DataOneofCase.CodeExecutionResult) { + output.WriteRawTag(66); + output.WriteMessage(CodeExecutionResult); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasText) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (dataCase_ == DataOneofCase.InlineData) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InlineData); + } + if (dataCase_ == DataOneofCase.File) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(File); + } + if (dataCase_ == DataOneofCase.ExecutableCode) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecutableCode); + } + if (dataCase_ == DataOneofCase.CodeExecutionResult) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CodeExecutionResult); + } + if (Role.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Role); + } + if (Thought != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AssistantContent other) { + if (other == null) { + return; + } + if (other.Role.Length != 0) { + Role = other.Role; + } + if (other.Thought != false) { + Thought = other.Thought; + } + switch (other.DataCase) { + case DataOneofCase.Text: + Text = other.Text; + break; + case DataOneofCase.InlineData: + if (InlineData == null) { + InlineData = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob(); + } + InlineData.MergeFrom(other.InlineData); + break; + case DataOneofCase.File: + if (File == null) { + File = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File(); + } + File.MergeFrom(other.File); + break; + case DataOneofCase.ExecutableCode: + if (ExecutableCode == null) { + ExecutableCode = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode(); + } + ExecutableCode.MergeFrom(other.ExecutableCode); + break; + case DataOneofCase.CodeExecutionResult: + if (CodeExecutionResult == null) { + CodeExecutionResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult(); + } + CodeExecutionResult.MergeFrom(other.CodeExecutionResult); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Role = input.ReadString(); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob(); + if (dataCase_ == DataOneofCase.InlineData) { + subBuilder.MergeFrom(InlineData); + } + input.ReadMessage(subBuilder); + InlineData = subBuilder; + break; + } + case 34: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File(); + if (dataCase_ == DataOneofCase.File) { + subBuilder.MergeFrom(File); + } + input.ReadMessage(subBuilder); + File = subBuilder; + break; + } + case 48: { + Thought = input.ReadBool(); + break; + } + case 58: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode(); + if (dataCase_ == DataOneofCase.ExecutableCode) { + subBuilder.MergeFrom(ExecutableCode); + } + input.ReadMessage(subBuilder); + ExecutableCode = subBuilder; + break; + } + case 66: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult(); + if (dataCase_ == DataOneofCase.CodeExecutionResult) { + subBuilder.MergeFrom(CodeExecutionResult); + } + input.ReadMessage(subBuilder); + CodeExecutionResult = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Role = input.ReadString(); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.Blob(); + if (dataCase_ == DataOneofCase.InlineData) { + subBuilder.MergeFrom(InlineData); + } + input.ReadMessage(subBuilder); + InlineData = subBuilder; + break; + } + case 34: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.File(); + if (dataCase_ == DataOneofCase.File) { + subBuilder.MergeFrom(File); + } + input.ReadMessage(subBuilder); + File = subBuilder; + break; + } + case 48: { + Thought = input.ReadBool(); + break; + } + case 58: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.ExecutableCode(); + if (dataCase_ == DataOneofCase.ExecutableCode) { + subBuilder.MergeFrom(ExecutableCode); + } + input.ReadMessage(subBuilder); + ExecutableCode = subBuilder; + break; + } + case 66: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult(); + if (dataCase_ == DataOneofCase.CodeExecutionResult) { + subBuilder.MergeFrom(CodeExecutionResult); + } + input.ReadMessage(subBuilder); + CodeExecutionResult = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AssistantContent message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Inline blob. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Blob : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Blob()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Blob() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Blob(Blob other) : this() { + mimeType_ = other.mimeType_; + data_ = other.data_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Blob Clone() { + return new Blob(this); + } + + /// Field number for the "mime_type" field. + public const int MimeTypeFieldNumber = 1; + private string mimeType_ = ""; + /// + /// Required. The media type (MIME type) of the generated data. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MimeType { + get { return mimeType_; } + set { + mimeType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 2; + private pb::ByteString data_ = pb::ByteString.Empty; + /// + /// Required. Raw bytes. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Data { + get { return data_; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Blob); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Blob other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MimeType != other.MimeType) return false; + if (Data != other.Data) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (MimeType.Length != 0) hash ^= MimeType.GetHashCode(); + if (Data.Length != 0) hash ^= Data.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (MimeType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MimeType); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Data); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MimeType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MimeType); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Data); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (MimeType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MimeType); + } + if (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Blob other) { + if (other == null) { + return; + } + if (other.MimeType.Length != 0) { + MimeType = other.MimeType; + } + if (other.Data.Length != 0) { + Data = other.Data; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + MimeType = input.ReadString(); + break; + } + case 18: { + Data = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + MimeType = input.ReadString(); + break; + } + case 18: { + Data = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + /// + /// A file, e.g., an audio summary. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class File : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new File()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public File() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public File(File other) : this() { + mimeType_ = other.mimeType_; + fileId_ = other.fileId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public File Clone() { + return new File(this); + } + + /// Field number for the "mime_type" field. + public const int MimeTypeFieldNumber = 1; + private string mimeType_ = ""; + /// + /// Required. The media type (MIME type) of the file. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MimeType { + get { return mimeType_; } + set { + mimeType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "file_id" field. + public const int FileIdFieldNumber = 2; + private string fileId_ = ""; + /// + /// Required. The file ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FileId { + get { return fileId_; } + set { + fileId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as File); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(File other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MimeType != other.MimeType) return false; + if (FileId != other.FileId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (MimeType.Length != 0) hash ^= MimeType.GetHashCode(); + if (FileId.Length != 0) hash ^= FileId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (MimeType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MimeType); + } + if (FileId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MimeType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MimeType); + } + if (FileId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (MimeType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MimeType); + } + if (FileId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(File other) { + if (other == null) { + return; + } + if (other.MimeType.Length != 0) { + MimeType = other.MimeType; + } + if (other.FileId.Length != 0) { + FileId = other.FileId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + MimeType = input.ReadString(); + break; + } + case 18: { + FileId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + MimeType = input.ReadString(); + break; + } + case 18: { + FileId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Code generated by the model that is meant to be executed by the model. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecutableCode : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecutableCode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutableCode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutableCode(ExecutableCode other) : this() { + code_ = other.code_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutableCode Clone() { + return new ExecutableCode(this); + } + + /// Field number for the "code" field. + public const int CodeFieldNumber = 2; + private string code_ = ""; + /// + /// Required. The code content. Currently only supports Python. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Code { + get { return code_; } + set { + code_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecutableCode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecutableCode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Code != other.Code) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Code.Length != 0) hash ^= Code.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Code.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Code); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Code.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Code); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Code.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Code); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecutableCode other) { + if (other == null) { + return; + } + if (other.Code.Length != 0) { + Code = other.Code; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + Code = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + Code = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Result of executing ExecutableCode. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CodeExecutionResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CodeExecutionResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CodeExecutionResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CodeExecutionResult(CodeExecutionResult other) : this() { + outcome_ = other.outcome_; + output_ = other.output_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CodeExecutionResult Clone() { + return new CodeExecutionResult(this); + } + + /// Field number for the "outcome" field. + public const int OutcomeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome outcome_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome.Unspecified; + /// + /// Required. Outcome of the code execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome Outcome { + get { return outcome_; } + set { + outcome_ = value; + } + } + + /// Field number for the "output" field. + public const int OutputFieldNumber = 2; + private string output_ = ""; + /// + /// Optional. Contains stdout when code execution is successful, stderr or + /// other description otherwise. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Output { + get { return output_; } + set { + output_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CodeExecutionResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CodeExecutionResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Outcome != other.Outcome) return false; + if (Output != other.Output) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Outcome != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome.Unspecified) hash ^= Outcome.GetHashCode(); + if (Output.Length != 0) hash ^= Output.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Outcome != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Outcome); + } + if (Output.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Outcome != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Outcome); + } + if (Output.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Output); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Outcome != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Outcome); + } + if (Output.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Output); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CodeExecutionResult other) { + if (other == null) { + return; + } + if (other.Outcome != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome.Unspecified) { + Outcome = other.Outcome; + } + if (other.Output.Length != 0) { + Output = other.Output; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Outcome = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome) input.ReadEnum(); + break; + } + case 18: { + Output = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Outcome = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent.Types.CodeExecutionResult.Types.Outcome) input.ReadEnum(); + break; + } + case 18: { + Output = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CodeExecutionResult message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Enumeration of possible outcomes of the code execution. + /// + public enum Outcome { + /// + /// Unspecified status. This value should not be used. + /// + [pbr::OriginalName("OUTCOME_UNSPECIFIED")] Unspecified = 0, + /// + /// Code execution completed successfully. + /// + [pbr::OriginalName("OUTCOME_OK")] Ok = 1, + /// + /// Code execution finished but with a failure. `stderr` should contain the + /// reason. + /// + [pbr::OriginalName("OUTCOME_FAILED")] Failed = 2, + /// + /// Code execution ran for too long, and was cancelled. There may or may + /// not be a partial output present. + /// + [pbr::OriginalName("OUTCOME_DEADLINE_EXCEEDED")] DeadlineExceeded = 3, + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// A piece of content and possibly its grounding information. + /// + /// Not all content needs grounding. Phrases like "Of course, I will gladly + /// search it for you." do not need grounding. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AssistantGroundedContent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AssistantGroundedContent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswerReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistantGroundedContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistantGroundedContent(AssistantGroundedContent other) : this() { + content_ = other.content_ != null ? other.content_.Clone() : null; + citationMetadata_ = other.citationMetadata_ != null ? other.citationMetadata_.Clone() : null; + switch (other.MetadataCase) { + case MetadataOneofCase.TextGroundingMetadata: + TextGroundingMetadata = other.TextGroundingMetadata.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistantGroundedContent Clone() { + return new AssistantGroundedContent(this); + } + + /// Field number for the "text_grounding_metadata" field. + public const int TextGroundingMetadataFieldNumber = 3; + /// + /// Metadata for grounding based on text sources. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata TextGroundingMetadata { + get { return metadataCase_ == MetadataOneofCase.TextGroundingMetadata ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata) metadata_ : null; } + set { + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.TextGroundingMetadata; + } + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent content_; + /// + /// The content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent Content { + get { return content_; } + set { + content_ = value; + } + } + + /// Field number for the "citation_metadata" field. + public const int CitationMetadataFieldNumber = 5; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata citationMetadata_; + /// + /// Source attribution of the generated content. See also + /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata CitationMetadata { + get { return citationMetadata_; } + set { + citationMetadata_ = value; + } + } + + private object metadata_; + /// Enum of possible cases for the "metadata" oneof. + public enum MetadataOneofCase { + None = 0, + TextGroundingMetadata = 3, + } + private MetadataOneofCase metadataCase_ = MetadataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MetadataOneofCase MetadataCase { + get { return metadataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMetadata() { + metadataCase_ = MetadataOneofCase.None; + metadata_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AssistantGroundedContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AssistantGroundedContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(TextGroundingMetadata, other.TextGroundingMetadata)) return false; + if (!object.Equals(Content, other.Content)) return false; + if (!object.Equals(CitationMetadata, other.CitationMetadata)) return false; + if (MetadataCase != other.MetadataCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (metadataCase_ == MetadataOneofCase.TextGroundingMetadata) hash ^= TextGroundingMetadata.GetHashCode(); + if (content_ != null) hash ^= Content.GetHashCode(); + if (citationMetadata_ != null) hash ^= CitationMetadata.GetHashCode(); + hash ^= (int) metadataCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (content_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Content); + } + if (metadataCase_ == MetadataOneofCase.TextGroundingMetadata) { + output.WriteRawTag(26); + output.WriteMessage(TextGroundingMetadata); + } + if (citationMetadata_ != null) { + output.WriteRawTag(42); + output.WriteMessage(CitationMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (content_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Content); + } + if (metadataCase_ == MetadataOneofCase.TextGroundingMetadata) { + output.WriteRawTag(26); + output.WriteMessage(TextGroundingMetadata); + } + if (citationMetadata_ != null) { + output.WriteRawTag(42); + output.WriteMessage(CitationMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (metadataCase_ == MetadataOneofCase.TextGroundingMetadata) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TextGroundingMetadata); + } + if (content_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Content); + } + if (citationMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CitationMetadata); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AssistantGroundedContent other) { + if (other == null) { + return; + } + if (other.content_ != null) { + if (content_ == null) { + Content = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent(); + } + Content.MergeFrom(other.Content); + } + if (other.citationMetadata_ != null) { + if (citationMetadata_ == null) { + CitationMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata(); + } + CitationMetadata.MergeFrom(other.CitationMetadata); + } + switch (other.MetadataCase) { + case MetadataOneofCase.TextGroundingMetadata: + if (TextGroundingMetadata == null) { + TextGroundingMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata(); + } + TextGroundingMetadata.MergeFrom(other.TextGroundingMetadata); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (content_ == null) { + Content = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent(); + } + input.ReadMessage(Content); + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata(); + if (metadataCase_ == MetadataOneofCase.TextGroundingMetadata) { + subBuilder.MergeFrom(TextGroundingMetadata); + } + input.ReadMessage(subBuilder); + TextGroundingMetadata = subBuilder; + break; + } + case 42: { + if (citationMetadata_ == null) { + CitationMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata(); + } + input.ReadMessage(CitationMetadata); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (content_ == null) { + Content = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantContent(); + } + input.ReadMessage(Content); + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata(); + if (metadataCase_ == MetadataOneofCase.TextGroundingMetadata) { + subBuilder.MergeFrom(TextGroundingMetadata); + } + input.ReadMessage(subBuilder); + TextGroundingMetadata = subBuilder; + break; + } + case 42: { + if (citationMetadata_ == null) { + CitationMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata(); + } + input.ReadMessage(CitationMetadata); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AssistantGroundedContent message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Grounding details for text sources. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TextGroundingMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TextGroundingMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TextGroundingMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TextGroundingMetadata(TextGroundingMetadata other) : this() { + segments_ = other.segments_.Clone(); + visualSegments_ = other.visualSegments_.Clone(); + references_ = other.references_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TextGroundingMetadata Clone() { + return new TextGroundingMetadata(this); + } + + /// Field number for the "segments" field. + public const int SegmentsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_segments_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Segment.Parser); + private readonly pbc::RepeatedField segments_ = new pbc::RepeatedField(); + /// + /// Grounding information for parts of the text. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Segments { + get { return segments_; } + } + + /// Field number for the "visual_segments" field. + public const int VisualSegmentsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_visualSegments_codec + = pb::FieldCodec.ForMessage(50, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.VisualSegment.Parser); + private readonly pbc::RepeatedField visualSegments_ = new pbc::RepeatedField(); + /// + /// Grounding information for parts of the visual content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField VisualSegments { + get { return visualSegments_; } + } + + /// Field number for the "references" field. + public const int ReferencesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_references_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Parser); + private readonly pbc::RepeatedField references_ = new pbc::RepeatedField(); + /// + /// References for the grounded text. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField References { + get { return references_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TextGroundingMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TextGroundingMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!segments_.Equals(other.segments_)) return false; + if(!visualSegments_.Equals(other.visualSegments_)) return false; + if(!references_.Equals(other.references_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= segments_.GetHashCode(); + hash ^= visualSegments_.GetHashCode(); + hash ^= references_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + references_.WriteTo(output, _repeated_references_codec); + segments_.WriteTo(output, _repeated_segments_codec); + visualSegments_.WriteTo(output, _repeated_visualSegments_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + references_.WriteTo(ref output, _repeated_references_codec); + segments_.WriteTo(ref output, _repeated_segments_codec); + visualSegments_.WriteTo(ref output, _repeated_visualSegments_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += segments_.CalculateSize(_repeated_segments_codec); + size += visualSegments_.CalculateSize(_repeated_visualSegments_codec); + size += references_.CalculateSize(_repeated_references_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TextGroundingMetadata other) { + if (other == null) { + return; + } + segments_.Add(other.segments_); + visualSegments_.Add(other.visualSegments_); + references_.Add(other.references_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + references_.AddEntriesFrom(input, _repeated_references_codec); + break; + } + case 34: { + segments_.AddEntriesFrom(input, _repeated_segments_codec); + break; + } + case 50: { + visualSegments_.AddEntriesFrom(input, _repeated_visualSegments_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + references_.AddEntriesFrom(ref input, _repeated_references_codec); + break; + } + case 34: { + segments_.AddEntriesFrom(ref input, _repeated_segments_codec); + break; + } + case 50: { + visualSegments_.AddEntriesFrom(ref input, _repeated_visualSegments_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the TextGroundingMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Grounding information for a segment of the text. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Segment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Segment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Segment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Segment(Segment other) : this() { + startIndex_ = other.startIndex_; + endIndex_ = other.endIndex_; + referenceIndices_ = other.referenceIndices_.Clone(); + groundingScore_ = other.groundingScore_; + text_ = other.text_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Segment Clone() { + return new Segment(this); + } + + /// Field number for the "start_index" field. + public const int StartIndexFieldNumber = 1; + private long startIndex_; + /// + /// Zero-based index indicating the start of the segment, measured in bytes + /// of a UTF-8 string (i.e. characters encoded on multiple bytes have a + /// length of more than one). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StartIndex { + get { return startIndex_; } + set { + startIndex_ = value; + } + } + + /// Field number for the "end_index" field. + public const int EndIndexFieldNumber = 2; + private long endIndex_; + /// + /// End of the segment, exclusive. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EndIndex { + get { return endIndex_; } + set { + endIndex_ = value; + } + } + + /// Field number for the "reference_indices" field. + public const int ReferenceIndicesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_referenceIndices_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField referenceIndices_ = new pbc::RepeatedField(); + /// + /// References for the segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ReferenceIndices { + get { return referenceIndices_; } + } + + /// Field number for the "grounding_score" field. + public const int GroundingScoreFieldNumber = 5; + private float groundingScore_; + /// + /// Score for the segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float GroundingScore { + get { return groundingScore_; } + set { + groundingScore_ = value; + } + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 6; + private string text_ = ""; + /// + /// The text segment itself. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Segment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Segment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StartIndex != other.StartIndex) return false; + if (EndIndex != other.EndIndex) return false; + if(!referenceIndices_.Equals(other.referenceIndices_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(GroundingScore, other.GroundingScore)) return false; + if (Text != other.Text) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (StartIndex != 0L) hash ^= StartIndex.GetHashCode(); + if (EndIndex != 0L) hash ^= EndIndex.GetHashCode(); + hash ^= referenceIndices_.GetHashCode(); + if (GroundingScore != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GroundingScore); + if (Text.Length != 0) hash ^= Text.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (StartIndex != 0L) { + output.WriteRawTag(8); + output.WriteInt64(StartIndex); + } + if (EndIndex != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EndIndex); + } + referenceIndices_.WriteTo(output, _repeated_referenceIndices_codec); + if (GroundingScore != 0F) { + output.WriteRawTag(45); + output.WriteFloat(GroundingScore); + } + if (Text.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Text); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StartIndex != 0L) { + output.WriteRawTag(8); + output.WriteInt64(StartIndex); + } + if (EndIndex != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EndIndex); + } + referenceIndices_.WriteTo(ref output, _repeated_referenceIndices_codec); + if (GroundingScore != 0F) { + output.WriteRawTag(45); + output.WriteFloat(GroundingScore); + } + if (Text.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Text); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (StartIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartIndex); + } + if (EndIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndIndex); + } + size += referenceIndices_.CalculateSize(_repeated_referenceIndices_codec); + if (GroundingScore != 0F) { + size += 1 + 4; + } + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Segment other) { + if (other == null) { + return; + } + if (other.StartIndex != 0L) { + StartIndex = other.StartIndex; + } + if (other.EndIndex != 0L) { + EndIndex = other.EndIndex; + } + referenceIndices_.Add(other.referenceIndices_); + if (other.GroundingScore != 0F) { + GroundingScore = other.GroundingScore; + } + if (other.Text.Length != 0) { + Text = other.Text; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StartIndex = input.ReadInt64(); + break; + } + case 16: { + EndIndex = input.ReadInt64(); + break; + } + case 34: + case 32: { + referenceIndices_.AddEntriesFrom(input, _repeated_referenceIndices_codec); + break; + } + case 45: { + GroundingScore = input.ReadFloat(); + break; + } + case 50: { + Text = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StartIndex = input.ReadInt64(); + break; + } + case 16: { + EndIndex = input.ReadInt64(); + break; + } + case 34: + case 32: { + referenceIndices_.AddEntriesFrom(ref input, _repeated_referenceIndices_codec); + break; + } + case 45: { + GroundingScore = input.ReadFloat(); + break; + } + case 50: { + Text = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Grounding information for a visual segment. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VisualSegment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VisualSegment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VisualSegment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VisualSegment(VisualSegment other) : this() { + referenceIndices_ = other.referenceIndices_.Clone(); + contentId_ = other.contentId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VisualSegment Clone() { + return new VisualSegment(this); + } + + /// Field number for the "reference_indices" field. + public const int ReferenceIndicesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_referenceIndices_codec + = pb::FieldCodec.ForInt32(10); + private readonly pbc::RepeatedField referenceIndices_ = new pbc::RepeatedField(); + /// + /// References for the visual segment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ReferenceIndices { + get { return referenceIndices_; } + } + + /// Field number for the "content_id" field. + public const int ContentIdFieldNumber = 2; + private string contentId_ = ""; + /// + /// The content id of the visual segment. In order to display the citation + /// of the visual element, this content_id needs to match with the + /// `grounded_content.content_metadata.content_id` field. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ContentId { + get { return contentId_; } + set { + contentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VisualSegment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VisualSegment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!referenceIndices_.Equals(other.referenceIndices_)) return false; + if (ContentId != other.ContentId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= referenceIndices_.GetHashCode(); + if (ContentId.Length != 0) hash ^= ContentId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + referenceIndices_.WriteTo(output, _repeated_referenceIndices_codec); + if (ContentId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ContentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + referenceIndices_.WriteTo(ref output, _repeated_referenceIndices_codec); + if (ContentId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ContentId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += referenceIndices_.CalculateSize(_repeated_referenceIndices_codec); + if (ContentId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ContentId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VisualSegment other) { + if (other == null) { + return; + } + referenceIndices_.Add(other.referenceIndices_); + if (other.ContentId.Length != 0) { + ContentId = other.ContentId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + referenceIndices_.AddEntriesFrom(input, _repeated_referenceIndices_codec); + break; + } + case 18: { + ContentId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + referenceIndices_.AddEntriesFrom(ref input, _repeated_referenceIndices_codec); + break; + } + case 18: { + ContentId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Referenced content and related document metadata. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Reference : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Reference()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reference() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reference(Reference other) : this() { + content_ = other.content_; + codeSnippet_ = other.codeSnippet_; + documentMetadata_ = other.documentMetadata_ != null ? other.documentMetadata_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Reference Clone() { + return new Reference(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private string content_ = ""; + /// + /// Referenced text content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "code_snippet" field. + public const int CodeSnippetFieldNumber = 4; + private string codeSnippet_ = ""; + /// + /// Chunk of code snippet from the referenced document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CodeSnippet { + get { return codeSnippet_; } + set { + codeSnippet_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "document_metadata" field. + public const int DocumentMetadataFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata documentMetadata_; + /// + /// Document metadata. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata DocumentMetadata { + get { return documentMetadata_; } + set { + documentMetadata_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Reference); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Reference other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (CodeSnippet != other.CodeSnippet) return false; + if (!object.Equals(DocumentMetadata, other.DocumentMetadata)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (CodeSnippet.Length != 0) hash ^= CodeSnippet.GetHashCode(); + if (documentMetadata_ != null) hash ^= DocumentMetadata.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (documentMetadata_ != null) { + output.WriteRawTag(18); + output.WriteMessage(DocumentMetadata); + } + if (CodeSnippet.Length != 0) { + output.WriteRawTag(34); + output.WriteString(CodeSnippet); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (documentMetadata_ != null) { + output.WriteRawTag(18); + output.WriteMessage(DocumentMetadata); + } + if (CodeSnippet.Length != 0) { + output.WriteRawTag(34); + output.WriteString(CodeSnippet); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (CodeSnippet.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CodeSnippet); + } + if (documentMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DocumentMetadata); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Reference other) { + if (other == null) { + return; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.CodeSnippet.Length != 0) { + CodeSnippet = other.CodeSnippet; + } + if (other.documentMetadata_ != null) { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata(); + } + DocumentMetadata.MergeFrom(other.DocumentMetadata); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata(); + } + input.ReadMessage(DocumentMetadata); + break; + } + case 34: { + CodeSnippet = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata(); + } + input.ReadMessage(DocumentMetadata); + break; + } + case 34: { + CodeSnippet = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Reference message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Document metadata. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DocumentMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DocumentMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DocumentMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DocumentMetadata(DocumentMetadata other) : this() { + language_ = other.language_; + document_ = other.document_; + uri_ = other.uri_; + title_ = other.title_; + pageIdentifier_ = other.pageIdentifier_; + domain_ = other.domain_; + mimeType_ = other.mimeType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DocumentMetadata Clone() { + return new DocumentMetadata(this); + } + + /// Field number for the "language" field. + public const int LanguageFieldNumber = 8; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language language_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language.Unspecified; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language Language { + get { return language_; } + set { + language_ = value; + } + } + + /// Field number for the "document" field. + public const int DocumentFieldNumber = 1; + private readonly static string DocumentDefaultValue = ""; + + private string document_; + /// + /// Document resource name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Document { + get { return document_ ?? DocumentDefaultValue; } + set { + document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "document" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDocument { + get { return document_ != null; } + } + /// Clears the value of the "document" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDocument() { + document_ = null; + } + + /// Field number for the "uri" field. + public const int UriFieldNumber = 2; + private readonly static string UriDefaultValue = ""; + + private string uri_; + /// + /// URI for the document. It may contain a URL that redirects to the + /// actual website. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_ ?? UriDefaultValue; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "uri" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUri { + get { return uri_ != null; } + } + /// Clears the value of the "uri" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUri() { + uri_ = null; + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 3; + private readonly static string TitleDefaultValue = ""; + + private string title_; + /// + /// Title. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_ ?? TitleDefaultValue; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "title" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTitle { + get { return title_ != null; } + } + /// Clears the value of the "title" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTitle() { + title_ = null; + } + + /// Field number for the "page_identifier" field. + public const int PageIdentifierFieldNumber = 4; + private readonly static string PageIdentifierDefaultValue = ""; + + private string pageIdentifier_; + /// + /// Page identifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageIdentifier { + get { return pageIdentifier_ ?? PageIdentifierDefaultValue; } + set { + pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "page_identifier" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPageIdentifier { + get { return pageIdentifier_ != null; } + } + /// Clears the value of the "page_identifier" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPageIdentifier() { + pageIdentifier_ = null; + } + + /// Field number for the "domain" field. + public const int DomainFieldNumber = 5; + private readonly static string DomainDefaultValue = ""; + + private string domain_; + /// + /// Domain name from the document URI. Note that the `uri` field may + /// contain a URL that redirects to the actual website, in which case + /// this will contain the domain name of the target site. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Domain { + get { return domain_ ?? DomainDefaultValue; } + set { + domain_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "domain" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDomain { + get { return domain_ != null; } + } + /// Clears the value of the "domain" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDomain() { + domain_ = null; + } + + /// Field number for the "mime_type" field. + public const int MimeTypeFieldNumber = 7; + private readonly static string MimeTypeDefaultValue = ""; + + private string mimeType_; + /// + /// The mime type of the document. + /// https://www.iana.org/assignments/media-types/media-types.xhtml. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MimeType { + get { return mimeType_ ?? MimeTypeDefaultValue; } + set { + mimeType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "mime_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMimeType { + get { return mimeType_ != null; } + } + /// Clears the value of the "mime_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMimeType() { + mimeType_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DocumentMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DocumentMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Language != other.Language) return false; + if (Document != other.Document) return false; + if (Uri != other.Uri) return false; + if (Title != other.Title) return false; + if (PageIdentifier != other.PageIdentifier) return false; + if (Domain != other.Domain) return false; + if (MimeType != other.MimeType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Language != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language.Unspecified) hash ^= Language.GetHashCode(); + if (HasDocument) hash ^= Document.GetHashCode(); + if (HasUri) hash ^= Uri.GetHashCode(); + if (HasTitle) hash ^= Title.GetHashCode(); + if (HasPageIdentifier) hash ^= PageIdentifier.GetHashCode(); + if (HasDomain) hash ^= Domain.GetHashCode(); + if (HasMimeType) hash ^= MimeType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasDocument) { + output.WriteRawTag(10); + output.WriteString(Document); + } + if (HasUri) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (HasTitle) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (HasPageIdentifier) { + output.WriteRawTag(34); + output.WriteString(PageIdentifier); + } + if (HasDomain) { + output.WriteRawTag(42); + output.WriteString(Domain); + } + if (HasMimeType) { + output.WriteRawTag(58); + output.WriteString(MimeType); + } + if (Language != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language.Unspecified) { + output.WriteRawTag(64); + output.WriteEnum((int) Language); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasDocument) { + output.WriteRawTag(10); + output.WriteString(Document); + } + if (HasUri) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (HasTitle) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (HasPageIdentifier) { + output.WriteRawTag(34); + output.WriteString(PageIdentifier); + } + if (HasDomain) { + output.WriteRawTag(42); + output.WriteString(Domain); + } + if (HasMimeType) { + output.WriteRawTag(58); + output.WriteString(MimeType); + } + if (Language != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language.Unspecified) { + output.WriteRawTag(64); + output.WriteEnum((int) Language); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Language != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Language); + } + if (HasDocument) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + } + if (HasUri) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (HasTitle) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (HasPageIdentifier) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageIdentifier); + } + if (HasDomain) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Domain); + } + if (HasMimeType) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MimeType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DocumentMetadata other) { + if (other == null) { + return; + } + if (other.Language != global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language.Unspecified) { + Language = other.Language; + } + if (other.HasDocument) { + Document = other.Document; + } + if (other.HasUri) { + Uri = other.Uri; + } + if (other.HasTitle) { + Title = other.Title; + } + if (other.HasPageIdentifier) { + PageIdentifier = other.PageIdentifier; + } + if (other.HasDomain) { + Domain = other.Domain; + } + if (other.HasMimeType) { + MimeType = other.MimeType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Document = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + PageIdentifier = input.ReadString(); + break; + } + case 42: { + Domain = input.ReadString(); + break; + } + case 58: { + MimeType = input.ReadString(); + break; + } + case 64: { + Language = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Document = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + PageIdentifier = input.ReadString(); + break; + } + case 42: { + Domain = input.ReadString(); + break; + } + case 58: { + MimeType = input.ReadString(); + break; + } + case 64: { + Language = (global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata.Types.Language) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the DocumentMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Language of the referenced content. For now, it is only used for + /// code. + /// + public enum Language { + [pbr::OriginalName("LANGUAGE_UNSPECIFIED")] Unspecified = 0, + [pbr::OriginalName("PYTHON")] Python = 1, + [pbr::OriginalName("SQL")] Sql = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + } + #endregion + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswerResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswerResourceNames.g.cs new file mode 100644 index 000000000000..652b7d055f50 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistAnswerResourceNames.g.cs @@ -0,0 +1,374 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the AssistAnswer resource. + public sealed partial class AssistAnswerName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// . + /// + ProjectLocationCollectionEngineSessionAssistAnswer = 1, + } + + private static gax::PathTemplate s_projectLocationCollectionEngineSessionAssistAnswer = new gax::PathTemplate("projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static AssistAnswerName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new AssistAnswerName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Session ID. Must not be null or empty. + /// The AssistAnswer ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AssistAnswerName FromProjectLocationCollectionEngineSessionAssistAnswer(string projectId, string locationId, string collectionId, string engineId, string sessionId, string assistAnswerId) => + new AssistAnswerName(ResourceNameType.ProjectLocationCollectionEngineSessionAssistAnswer, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), collectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), engineId: gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), sessionId: gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId)), assistAnswerId: gax::GaxPreconditions.CheckNotNullOrEmpty(assistAnswerId, nameof(assistAnswerId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Session ID. Must not be null or empty. + /// The AssistAnswer ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// . + /// + public static string Format(string projectId, string locationId, string collectionId, string engineId, string sessionId, string assistAnswerId) => + FormatProjectLocationCollectionEngineSessionAssistAnswer(projectId, locationId, collectionId, engineId, sessionId, assistAnswerId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Session ID. Must not be null or empty. + /// The AssistAnswer ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// . + /// + public static string FormatProjectLocationCollectionEngineSessionAssistAnswer(string projectId, string locationId, string collectionId, string engineId, string sessionId, string assistAnswerId) => + s_projectLocationCollectionEngineSessionAssistAnswer.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(assistAnswerId, nameof(assistAnswerId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static AssistAnswerName Parse(string assistAnswerName) => Parse(assistAnswerName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static AssistAnswerName Parse(string assistAnswerName, bool allowUnparsed) => + TryParse(assistAnswerName, allowUnparsed, out AssistAnswerName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string assistAnswerName, out AssistAnswerName result) => + TryParse(assistAnswerName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string assistAnswerName, bool allowUnparsed, out AssistAnswerName result) + { + gax::GaxPreconditions.CheckNotNull(assistAnswerName, nameof(assistAnswerName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationCollectionEngineSessionAssistAnswer.TryParseName(assistAnswerName, out resourceName)) + { + result = FromProjectLocationCollectionEngineSessionAssistAnswer(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4], resourceName[5]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(assistAnswerName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private AssistAnswerName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string assistAnswerId = null, string collectionId = null, string engineId = null, string locationId = null, string projectId = null, string sessionId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AssistAnswerId = assistAnswerId; + CollectionId = collectionId; + EngineId = engineId; + LocationId = locationId; + ProjectId = projectId; + SessionId = sessionId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Session ID. Must not be null or empty. + /// The AssistAnswer ID. Must not be null or empty. + public AssistAnswerName(string projectId, string locationId, string collectionId, string engineId, string sessionId, string assistAnswerId) : this(ResourceNameType.ProjectLocationCollectionEngineSessionAssistAnswer, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), collectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), engineId: gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), sessionId: gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId)), assistAnswerId: gax::GaxPreconditions.CheckNotNullOrEmpty(assistAnswerId, nameof(assistAnswerId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The AssistAnswer ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string AssistAnswerId { get; } + + /// + /// The Collection ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string CollectionId { get; } + + /// + /// The Engine ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string EngineId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The Session ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string SessionId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationCollectionEngineSessionAssistAnswer: return s_projectLocationCollectionEngineSessionAssistAnswer.Expand(ProjectId, LocationId, CollectionId, EngineId, SessionId, AssistAnswerId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as AssistAnswerName); + + /// + public bool Equals(AssistAnswerName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(AssistAnswerName a, AssistAnswerName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(AssistAnswerName a, AssistAnswerName b) => !(a == b); + } + + public partial class AssistAnswer + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AssistAnswerName AssistAnswerName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AssistAnswerName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class AssistantGroundedContent + { + public partial class Types + { + public partial class TextGroundingMetadata + { + public partial class Types + { + public partial class Reference + { + public partial class Types + { + public partial class DocumentMetadata + { + /// + /// -typed view over the resource name + /// property. + /// + public DocumentName DocumentAsDocumentName + { + get => string.IsNullOrEmpty(Document) ? null : DocumentName.Parse(Document, allowUnparsed: true); + set => Document = value?.ToString() ?? ""; + } + } + } + } + } + } + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Assistant.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Assistant.g.cs new file mode 100644 index 000000000000..0279f795a461 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Assistant.g.cs @@ -0,0 +1,2624 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/assistant.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/assistant.proto + public static partial class AssistantReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/assistant.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AssistantReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjNnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hc3Npc3Rh", + "bnQucHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRh", + "Gh9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9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1JPVU5ESU5HX1RZUEVfRU5URVJQUklTRV9XRUJf", + "U0VBUkNIEAM6mAHqQZQBCihkaXNjb3ZlcnllbmdpbmUuZ29vZ2xlYXBpcy5j", + "b20vQXNzaXN0YW50Emhwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3ts", + "b2NhdGlvbn0vY29sbGVjdGlvbnMve2NvbGxlY3Rpb259L2VuZ2luZXMve2Vu", + "Z2luZX0vYXNzaXN0YW50cy97YXNzaXN0YW50fUKVAgonY29tLmdvb2dsZS5j", + "bG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQg5Bc3Npc3RhbnRQcm90b1AB", + "WlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJl", + "dGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVND", + "T1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYx", + "QmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gIm", + "R29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3Rv", + "Mw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Parser, new[]{ "Name", "DisplayName", "Description", "GenerationConfig", "WebGroundingType", "DefaultWebGroundingToggleOff", "EnabledTools", "CustomerPolicy", "CreateTime", "UpdateTime" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Parser, new[]{ "DefaultModelId", "AllowedModelIds", "SystemInstruction", "DefaultLanguage" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction.Parser, new[]{ "AdditionalSystemInstruction" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.ToolInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.ToolInfo.Parser, new[]{ "ToolName", "ToolDisplayName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.ToolList), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.ToolList.Parser, new[]{ "ToolInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Parser, new[]{ "BannedPhrases", "ModelArmorConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Parser, new[]{ "Phrase", "MatchType", "IgnoreDiacritics" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Parser, new[]{ "UserPromptTemplate", "ResponseTemplate", "FailureMode" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode) }, null, null)}), + null, }) + })); + } + #endregion + + } + #region Messages + /// + /// Discovery Engine Assistant resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Assistant : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Assistant()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Assistant() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Assistant(Assistant other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + description_ = other.description_; + generationConfig_ = other.generationConfig_ != null ? other.generationConfig_.Clone() : null; + webGroundingType_ = other.webGroundingType_; + defaultWebGroundingToggleOff_ = other.defaultWebGroundingToggleOff_; + enabledTools_ = other.enabledTools_.Clone(); + customerPolicy_ = other.customerPolicy_ != null ? other.customerPolicy_.Clone() : null; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Assistant Clone() { + return new Assistant(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. Resource name of the assistant. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// It must be a UTF-8 encoded string with a length limit of 1024 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// Required. The assistant display name. + /// + /// It must be a UTF-8 encoded string with a length limit of 128 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 3; + private string description_ = ""; + /// + /// Optional. Description for additional information. Expected to be shown on + /// the configuration UI, not to the users of the assistant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "generation_config" field. + public const int GenerationConfigFieldNumber = 19; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig generationConfig_; + /// + /// Optional. Configuration for the generation of the assistant response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig GenerationConfig { + get { return generationConfig_; } + set { + generationConfig_ = value; + } + } + + /// Field number for the "web_grounding_type" field. + public const int WebGroundingTypeFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType webGroundingType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType.Unspecified; + /// + /// Optional. The type of web grounding to use. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType WebGroundingType { + get { return webGroundingType_; } + set { + webGroundingType_ = value; + } + } + + /// Field number for the "default_web_grounding_toggle_off" field. + public const int DefaultWebGroundingToggleOffFieldNumber = 22; + private bool defaultWebGroundingToggleOff_; + /// + /// Optional. This field controls the default web grounding toggle for end + /// users if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` + /// or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is + /// set to false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` + /// or `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web + /// grounding enabled by default on UI. If true, grounding toggle will be + /// disabled by default on UI. End users can still enable web grounding in + /// the UI if web grounding is enabled. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DefaultWebGroundingToggleOff { + get { return defaultWebGroundingToggleOff_; } + set { + defaultWebGroundingToggleOff_ = value; + } + } + + /// Field number for the "enabled_tools" field. + public const int EnabledToolsFieldNumber = 18; + private static readonly pbc::MapField.Codec _map_enabledTools_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.ToolList.Parser), 146); + private readonly pbc::MapField enabledTools_ = new pbc::MapField(); + /// + /// Optional. Note: not implemented yet. Use + /// [enabled_actions][google.cloud.discoveryengine.v1beta.Assistant.enabled_actions] + /// instead. The enabled tools on this assistant. The keys are connector name, + /// for example + /// "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector + /// The values consist of admin enabled tools towards the connector + /// instance. Admin can selectively enable multiple tools on any of the + /// connector instances that they created in the project. For example + /// {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, + /// "transferTicket")], + /// "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField EnabledTools { + get { return enabledTools_; } + } + + /// Field number for the "customer_policy" field. + public const int CustomerPolicyFieldNumber = 12; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy customerPolicy_; + /// + /// Optional. Customer policy for the assistant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy CustomerPolicy { + get { return customerPolicy_; } + set { + customerPolicy_ = value; + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 24; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. Represents the time when this Assistant was created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 25; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. Represents the time when this Assistant was most recently + /// updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Assistant); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Assistant other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + if (Description != other.Description) return false; + if (!object.Equals(GenerationConfig, other.GenerationConfig)) return false; + if (WebGroundingType != other.WebGroundingType) return false; + if (DefaultWebGroundingToggleOff != other.DefaultWebGroundingToggleOff) return false; + if (!EnabledTools.Equals(other.EnabledTools)) return false; + if (!object.Equals(CustomerPolicy, other.CustomerPolicy)) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (Description.Length != 0) hash ^= Description.GetHashCode(); + if (generationConfig_ != null) hash ^= GenerationConfig.GetHashCode(); + if (WebGroundingType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType.Unspecified) hash ^= WebGroundingType.GetHashCode(); + if (DefaultWebGroundingToggleOff != false) hash ^= DefaultWebGroundingToggleOff.GetHashCode(); + hash ^= EnabledTools.GetHashCode(); + if (customerPolicy_ != null) hash ^= CustomerPolicy.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (Description.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (WebGroundingType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) WebGroundingType); + } + if (customerPolicy_ != null) { + output.WriteRawTag(98); + output.WriteMessage(CustomerPolicy); + } + enabledTools_.WriteTo(output, _map_enabledTools_codec); + if (generationConfig_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(GenerationConfig); + } + if (DefaultWebGroundingToggleOff != false) { + output.WriteRawTag(176, 1); + output.WriteBool(DefaultWebGroundingToggleOff); + } + if (createTime_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (Description.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Description); + } + if (WebGroundingType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) WebGroundingType); + } + if (customerPolicy_ != null) { + output.WriteRawTag(98); + output.WriteMessage(CustomerPolicy); + } + enabledTools_.WriteTo(ref output, _map_enabledTools_codec); + if (generationConfig_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(GenerationConfig); + } + if (DefaultWebGroundingToggleOff != false) { + output.WriteRawTag(176, 1); + output.WriteBool(DefaultWebGroundingToggleOff); + } + if (createTime_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (Description.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (generationConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GenerationConfig); + } + if (WebGroundingType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) WebGroundingType); + } + if (DefaultWebGroundingToggleOff != false) { + size += 2 + 1; + } + size += enabledTools_.CalculateSize(_map_enabledTools_codec); + if (customerPolicy_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CustomerPolicy); + } + if (createTime_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Assistant other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.Description.Length != 0) { + Description = other.Description; + } + if (other.generationConfig_ != null) { + if (generationConfig_ == null) { + GenerationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig(); + } + GenerationConfig.MergeFrom(other.GenerationConfig); + } + if (other.WebGroundingType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType.Unspecified) { + WebGroundingType = other.WebGroundingType; + } + if (other.DefaultWebGroundingToggleOff != false) { + DefaultWebGroundingToggleOff = other.DefaultWebGroundingToggleOff; + } + enabledTools_.MergeFrom(other.enabledTools_); + if (other.customerPolicy_ != null) { + if (customerPolicy_ == null) { + CustomerPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy(); + } + CustomerPolicy.MergeFrom(other.CustomerPolicy); + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + case 32: { + WebGroundingType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType) input.ReadEnum(); + break; + } + case 98: { + if (customerPolicy_ == null) { + CustomerPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy(); + } + input.ReadMessage(CustomerPolicy); + break; + } + case 146: { + enabledTools_.AddEntriesFrom(input, _map_enabledTools_codec); + break; + } + case 154: { + if (generationConfig_ == null) { + GenerationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig(); + } + input.ReadMessage(GenerationConfig); + break; + } + case 176: { + DefaultWebGroundingToggleOff = input.ReadBool(); + break; + } + case 194: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 202: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 26: { + Description = input.ReadString(); + break; + } + case 32: { + WebGroundingType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.WebGroundingType) input.ReadEnum(); + break; + } + case 98: { + if (customerPolicy_ == null) { + CustomerPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy(); + } + input.ReadMessage(CustomerPolicy); + break; + } + case 146: { + enabledTools_.AddEntriesFrom(ref input, _map_enabledTools_codec); + break; + } + case 154: { + if (generationConfig_ == null) { + GenerationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig(); + } + input.ReadMessage(GenerationConfig); + break; + } + case 176: { + DefaultWebGroundingToggleOff = input.ReadBool(); + break; + } + case 194: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 202: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Assistant message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The type of web grounding to use. + /// + public enum WebGroundingType { + /// + /// Default, unspecified setting. This is the same as disabled. + /// + [pbr::OriginalName("WEB_GROUNDING_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Web grounding is disabled. + /// + [pbr::OriginalName("WEB_GROUNDING_TYPE_DISABLED")] Disabled = 1, + /// + /// Grounding with Google Search is enabled. + /// + [pbr::OriginalName("WEB_GROUNDING_TYPE_GOOGLE_SEARCH")] GoogleSearch = 2, + /// + /// Grounding with Enterprise Web Search is enabled. + /// + [pbr::OriginalName("WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH")] EnterpriseWebSearch = 3, + } + + /// + /// Configuration for the generation of the assistant response. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GenerationConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenerationConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerationConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerationConfig(GenerationConfig other) : this() { + defaultModelId_ = other.defaultModelId_; + allowedModelIds_ = other.allowedModelIds_.Clone(); + systemInstruction_ = other.systemInstruction_ != null ? other.systemInstruction_.Clone() : null; + defaultLanguage_ = other.defaultLanguage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerationConfig Clone() { + return new GenerationConfig(this); + } + + /// Field number for the "default_model_id" field. + public const int DefaultModelIdFieldNumber = 1; + private string defaultModelId_ = ""; + /// + /// Optional. The default model to use for assistant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DefaultModelId { + get { return defaultModelId_; } + set { + defaultModelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "allowed_model_ids" field. + public const int AllowedModelIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_allowedModelIds_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField allowedModelIds_ = new pbc::RepeatedField(); + /// + /// Optional. The list of models that are allowed to be used for assistant. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AllowedModelIds { + get { return allowedModelIds_; } + } + + /// Field number for the "system_instruction" field. + public const int SystemInstructionFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction systemInstruction_; + /// + /// System instruction, also known as the prompt preamble for LLM calls. + /// See also + /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction SystemInstruction { + get { return systemInstruction_; } + set { + systemInstruction_ = value; + } + } + + /// Field number for the "default_language" field. + public const int DefaultLanguageFieldNumber = 4; + private string defaultLanguage_ = ""; + /// + /// The default language to use for the generation of the assistant + /// response. + /// Use an ISO 639-1 language code such as `en`. + /// If not specified, the language will be automatically detected. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DefaultLanguage { + get { return defaultLanguage_; } + set { + defaultLanguage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GenerationConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GenerationConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DefaultModelId != other.DefaultModelId) return false; + if(!allowedModelIds_.Equals(other.allowedModelIds_)) return false; + if (!object.Equals(SystemInstruction, other.SystemInstruction)) return false; + if (DefaultLanguage != other.DefaultLanguage) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DefaultModelId.Length != 0) hash ^= DefaultModelId.GetHashCode(); + hash ^= allowedModelIds_.GetHashCode(); + if (systemInstruction_ != null) hash ^= SystemInstruction.GetHashCode(); + if (DefaultLanguage.Length != 0) hash ^= DefaultLanguage.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DefaultModelId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DefaultModelId); + } + allowedModelIds_.WriteTo(output, _repeated_allowedModelIds_codec); + if (systemInstruction_ != null) { + output.WriteRawTag(26); + output.WriteMessage(SystemInstruction); + } + if (DefaultLanguage.Length != 0) { + output.WriteRawTag(34); + output.WriteString(DefaultLanguage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DefaultModelId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DefaultModelId); + } + allowedModelIds_.WriteTo(ref output, _repeated_allowedModelIds_codec); + if (systemInstruction_ != null) { + output.WriteRawTag(26); + output.WriteMessage(SystemInstruction); + } + if (DefaultLanguage.Length != 0) { + output.WriteRawTag(34); + output.WriteString(DefaultLanguage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DefaultModelId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultModelId); + } + size += allowedModelIds_.CalculateSize(_repeated_allowedModelIds_codec); + if (systemInstruction_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SystemInstruction); + } + if (DefaultLanguage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultLanguage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GenerationConfig other) { + if (other == null) { + return; + } + if (other.DefaultModelId.Length != 0) { + DefaultModelId = other.DefaultModelId; + } + allowedModelIds_.Add(other.allowedModelIds_); + if (other.systemInstruction_ != null) { + if (systemInstruction_ == null) { + SystemInstruction = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction(); + } + SystemInstruction.MergeFrom(other.SystemInstruction); + } + if (other.DefaultLanguage.Length != 0) { + DefaultLanguage = other.DefaultLanguage; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DefaultModelId = input.ReadString(); + break; + } + case 18: { + allowedModelIds_.AddEntriesFrom(input, _repeated_allowedModelIds_codec); + break; + } + case 26: { + if (systemInstruction_ == null) { + SystemInstruction = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction(); + } + input.ReadMessage(SystemInstruction); + break; + } + case 34: { + DefaultLanguage = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DefaultModelId = input.ReadString(); + break; + } + case 18: { + allowedModelIds_.AddEntriesFrom(ref input, _repeated_allowedModelIds_codec); + break; + } + case 26: { + if (systemInstruction_ == null) { + SystemInstruction = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Types.SystemInstruction(); + } + input.ReadMessage(SystemInstruction); + break; + } + case 34: { + DefaultLanguage = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the GenerationConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// System instruction, also known as the prompt preamble for LLM calls. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SystemInstruction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SystemInstruction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.GenerationConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SystemInstruction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SystemInstruction(SystemInstruction other) : this() { + additionalSystemInstruction_ = other.additionalSystemInstruction_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SystemInstruction Clone() { + return new SystemInstruction(this); + } + + /// Field number for the "additional_system_instruction" field. + public const int AdditionalSystemInstructionFieldNumber = 2; + private string additionalSystemInstruction_ = ""; + /// + /// Optional. Additional system instruction that will be added to the + /// default system instruction. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdditionalSystemInstruction { + get { return additionalSystemInstruction_; } + set { + additionalSystemInstruction_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SystemInstruction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SystemInstruction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AdditionalSystemInstruction != other.AdditionalSystemInstruction) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AdditionalSystemInstruction.Length != 0) hash ^= AdditionalSystemInstruction.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AdditionalSystemInstruction.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AdditionalSystemInstruction); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AdditionalSystemInstruction.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AdditionalSystemInstruction); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AdditionalSystemInstruction.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AdditionalSystemInstruction); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SystemInstruction other) { + if (other == null) { + return; + } + if (other.AdditionalSystemInstruction.Length != 0) { + AdditionalSystemInstruction = other.AdditionalSystemInstruction; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + AdditionalSystemInstruction = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + AdditionalSystemInstruction = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Information to identify a tool. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ToolInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ToolInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolInfo(ToolInfo other) : this() { + toolName_ = other.toolName_; + toolDisplayName_ = other.toolDisplayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolInfo Clone() { + return new ToolInfo(this); + } + + /// Field number for the "tool_name" field. + public const int ToolNameFieldNumber = 1; + private string toolName_ = ""; + /// + /// The name of the tool as defined by + /// DataConnectorService.QueryAvailableActions. + /// Note: it's using `action` in the DataConnectorService apis, but they are + /// the same as the `tool` here. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ToolName { + get { return toolName_; } + set { + toolName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "tool_display_name" field. + public const int ToolDisplayNameFieldNumber = 2; + private string toolDisplayName_ = ""; + /// + /// The display name of the tool. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ToolDisplayName { + get { return toolDisplayName_; } + set { + toolDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ToolInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ToolInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ToolName != other.ToolName) return false; + if (ToolDisplayName != other.ToolDisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ToolName.Length != 0) hash ^= ToolName.GetHashCode(); + if (ToolDisplayName.Length != 0) hash ^= ToolDisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ToolName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ToolName); + } + if (ToolDisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ToolDisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ToolName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ToolName); + } + if (ToolDisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ToolDisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ToolName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ToolName); + } + if (ToolDisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ToolDisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ToolInfo other) { + if (other == null) { + return; + } + if (other.ToolName.Length != 0) { + ToolName = other.ToolName; + } + if (other.ToolDisplayName.Length != 0) { + ToolDisplayName = other.ToolDisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ToolName = input.ReadString(); + break; + } + case 18: { + ToolDisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ToolName = input.ReadString(); + break; + } + case 18: { + ToolDisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The enabled tools on a connector + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ToolList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ToolList()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolList(ToolList other) : this() { + toolInfo_ = other.toolInfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolList Clone() { + return new ToolList(this); + } + + /// Field number for the "tool_info" field. + public const int ToolInfoFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_toolInfo_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.ToolInfo.Parser); + private readonly pbc::RepeatedField toolInfo_ = new pbc::RepeatedField(); + /// + /// The list of tools with corresponding tool information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ToolInfo { + get { return toolInfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ToolList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ToolList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!toolInfo_.Equals(other.toolInfo_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= toolInfo_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + toolInfo_.WriteTo(output, _repeated_toolInfo_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + toolInfo_.WriteTo(ref output, _repeated_toolInfo_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += toolInfo_.CalculateSize(_repeated_toolInfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ToolList other) { + if (other == null) { + return; + } + toolInfo_.Add(other.toolInfo_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + toolInfo_.AddEntriesFrom(input, _repeated_toolInfo_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + toolInfo_.AddEntriesFrom(ref input, _repeated_toolInfo_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Customer-defined policy for the assistant. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomerPolicy : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomerPolicy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerPolicy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerPolicy(CustomerPolicy other) : this() { + bannedPhrases_ = other.bannedPhrases_.Clone(); + modelArmorConfig_ = other.modelArmorConfig_ != null ? other.modelArmorConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerPolicy Clone() { + return new CustomerPolicy(this); + } + + /// Field number for the "banned_phrases" field. + public const int BannedPhrasesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_bannedPhrases_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Parser); + private readonly pbc::RepeatedField bannedPhrases_ = new pbc::RepeatedField(); + /// + /// Optional. List of banned phrases. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BannedPhrases { + get { return bannedPhrases_; } + } + + /// Field number for the "model_armor_config" field. + public const int ModelArmorConfigFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig modelArmorConfig_; + /// + /// Optional. Model Armor configuration to be used for sanitizing user + /// prompts and assistant responses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig ModelArmorConfig { + get { return modelArmorConfig_; } + set { + modelArmorConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomerPolicy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomerPolicy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!bannedPhrases_.Equals(other.bannedPhrases_)) return false; + if (!object.Equals(ModelArmorConfig, other.ModelArmorConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= bannedPhrases_.GetHashCode(); + if (modelArmorConfig_ != null) hash ^= ModelArmorConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + bannedPhrases_.WriteTo(output, _repeated_bannedPhrases_codec); + if (modelArmorConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ModelArmorConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + bannedPhrases_.WriteTo(ref output, _repeated_bannedPhrases_codec); + if (modelArmorConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ModelArmorConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += bannedPhrases_.CalculateSize(_repeated_bannedPhrases_codec); + if (modelArmorConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModelArmorConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomerPolicy other) { + if (other == null) { + return; + } + bannedPhrases_.Add(other.bannedPhrases_); + if (other.modelArmorConfig_ != null) { + if (modelArmorConfig_ == null) { + ModelArmorConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig(); + } + ModelArmorConfig.MergeFrom(other.ModelArmorConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + bannedPhrases_.AddEntriesFrom(input, _repeated_bannedPhrases_codec); + break; + } + case 18: { + if (modelArmorConfig_ == null) { + ModelArmorConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig(); + } + input.ReadMessage(ModelArmorConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + bannedPhrases_.AddEntriesFrom(ref input, _repeated_bannedPhrases_codec); + break; + } + case 18: { + if (modelArmorConfig_ == null) { + ModelArmorConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig(); + } + input.ReadMessage(ModelArmorConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CustomerPolicy message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Definition of a customer-defined banned phrase. A banned phrase is not + /// allowed to appear in the user query or the LLM response, or else the + /// answer will be refused. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BannedPhrase : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BannedPhrase()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BannedPhrase() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BannedPhrase(BannedPhrase other) : this() { + phrase_ = other.phrase_; + matchType_ = other.matchType_; + ignoreDiacritics_ = other.ignoreDiacritics_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BannedPhrase Clone() { + return new BannedPhrase(this); + } + + /// Field number for the "phrase" field. + public const int PhraseFieldNumber = 1; + private string phrase_ = ""; + /// + /// Required. The raw string content to be banned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Phrase { + get { return phrase_; } + set { + phrase_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "match_type" field. + public const int MatchTypeFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType matchType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.Unspecified; + /// + /// Optional. Match type for the banned phrase. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType MatchType { + get { return matchType_; } + set { + matchType_ = value; + } + } + + /// Field number for the "ignore_diacritics" field. + public const int IgnoreDiacriticsFieldNumber = 3; + private bool ignoreDiacritics_; + /// + /// Optional. If true, diacritical marks (e.g., accents, umlauts) are + /// ignored when matching banned phrases. For example, "cafe" would match + /// "café". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IgnoreDiacritics { + get { return ignoreDiacritics_; } + set { + ignoreDiacritics_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BannedPhrase); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BannedPhrase other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Phrase != other.Phrase) return false; + if (MatchType != other.MatchType) return false; + if (IgnoreDiacritics != other.IgnoreDiacritics) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Phrase.Length != 0) hash ^= Phrase.GetHashCode(); + if (MatchType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.Unspecified) hash ^= MatchType.GetHashCode(); + if (IgnoreDiacritics != false) hash ^= IgnoreDiacritics.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Phrase.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Phrase); + } + if (MatchType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) MatchType); + } + if (IgnoreDiacritics != false) { + output.WriteRawTag(24); + output.WriteBool(IgnoreDiacritics); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Phrase.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Phrase); + } + if (MatchType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) MatchType); + } + if (IgnoreDiacritics != false) { + output.WriteRawTag(24); + output.WriteBool(IgnoreDiacritics); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Phrase.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Phrase); + } + if (MatchType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MatchType); + } + if (IgnoreDiacritics != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BannedPhrase other) { + if (other == null) { + return; + } + if (other.Phrase.Length != 0) { + Phrase = other.Phrase; + } + if (other.MatchType != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.Unspecified) { + MatchType = other.MatchType; + } + if (other.IgnoreDiacritics != false) { + IgnoreDiacritics = other.IgnoreDiacritics; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Phrase = input.ReadString(); + break; + } + case 16: { + MatchType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType) input.ReadEnum(); + break; + } + case 24: { + IgnoreDiacritics = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Phrase = input.ReadString(); + break; + } + case 16: { + MatchType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType) input.ReadEnum(); + break; + } + case 24: { + IgnoreDiacritics = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BannedPhrase message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The matching method for the banned phrase. + /// + public enum BannedPhraseMatchType { + /// + /// Defaults to SIMPLE_STRING_MATCH. + /// + [pbr::OriginalName("BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// The banned phrase matches if it is found anywhere in the text as an + /// exact substring. + /// + [pbr::OriginalName("SIMPLE_STRING_MATCH")] SimpleStringMatch = 1, + /// + /// Banned phrase only matches if the pattern found in the text is + /// surrounded by word delimiters. The phrase itself may still contain + /// word delimiters. + /// + [pbr::OriginalName("WORD_BOUNDARY_STRING_MATCH")] WordBoundaryStringMatch = 2, + } + + } + #endregion + + } + + /// + /// Configuration for customer defined Model Armor templates to be used for + /// sanitizing user prompts and assistant responses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ModelArmorConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ModelArmorConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorConfig(ModelArmorConfig other) : this() { + userPromptTemplate_ = other.userPromptTemplate_; + responseTemplate_ = other.responseTemplate_; + failureMode_ = other.failureMode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorConfig Clone() { + return new ModelArmorConfig(this); + } + + /// Field number for the "user_prompt_template" field. + public const int UserPromptTemplateFieldNumber = 1; + private string userPromptTemplate_ = ""; + /// + /// Optional. The resource name of the Model Armor template for sanitizing + /// user prompts. Format: + /// `projects/{project}/locations/{location}/templates/{template_id}` + /// + /// If not specified, no sanitization will be applied to the user prompt. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserPromptTemplate { + get { return userPromptTemplate_; } + set { + userPromptTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "response_template" field. + public const int ResponseTemplateFieldNumber = 2; + private string responseTemplate_ = ""; + /// + /// Optional. The resource name of the Model Armor template for sanitizing + /// assistant responses. Format: + /// `projects/{project}/locations/{location}/templates/{template_id}` + /// + /// If not specified, no sanitization will be applied to the assistant + /// response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResponseTemplate { + get { return responseTemplate_; } + set { + responseTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "failure_mode" field. + public const int FailureModeFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode failureMode_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode.Unspecified; + /// + /// Optional. Defines the failure mode for Model Armor sanitization. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode FailureMode { + get { return failureMode_; } + set { + failureMode_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ModelArmorConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ModelArmorConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserPromptTemplate != other.UserPromptTemplate) return false; + if (ResponseTemplate != other.ResponseTemplate) return false; + if (FailureMode != other.FailureMode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (UserPromptTemplate.Length != 0) hash ^= UserPromptTemplate.GetHashCode(); + if (ResponseTemplate.Length != 0) hash ^= ResponseTemplate.GetHashCode(); + if (FailureMode != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode.Unspecified) hash ^= FailureMode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (UserPromptTemplate.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserPromptTemplate); + } + if (ResponseTemplate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ResponseTemplate); + } + if (FailureMode != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) FailureMode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (UserPromptTemplate.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserPromptTemplate); + } + if (ResponseTemplate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ResponseTemplate); + } + if (FailureMode != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) FailureMode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (UserPromptTemplate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPromptTemplate); + } + if (ResponseTemplate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ResponseTemplate); + } + if (FailureMode != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FailureMode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ModelArmorConfig other) { + if (other == null) { + return; + } + if (other.UserPromptTemplate.Length != 0) { + UserPromptTemplate = other.UserPromptTemplate; + } + if (other.ResponseTemplate.Length != 0) { + ResponseTemplate = other.ResponseTemplate; + } + if (other.FailureMode != global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode.Unspecified) { + FailureMode = other.FailureMode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + UserPromptTemplate = input.ReadString(); + break; + } + case 18: { + ResponseTemplate = input.ReadString(); + break; + } + case 24: { + FailureMode = (global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + UserPromptTemplate = input.ReadString(); + break; + } + case 18: { + ResponseTemplate = input.ReadString(); + break; + } + case 24: { + FailureMode = (global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Types.CustomerPolicy.Types.ModelArmorConfig.Types.FailureMode) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ModelArmorConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Determines the behavior when Model Armor fails to process a request. + /// + public enum FailureMode { + /// + /// Unspecified failure mode, default behavior is `FAIL_CLOSED`. + /// + [pbr::OriginalName("FAILURE_MODE_UNSPECIFIED")] Unspecified = 0, + /// + /// In case of a Model Armor processing failure, the request is allowed + /// to proceed without any changes. + /// + [pbr::OriginalName("FAIL_OPEN")] FailOpen = 1, + /// + /// In case of a Model Armor processing failure, the request is rejected. + /// + [pbr::OriginalName("FAIL_CLOSED")] FailClosed = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantResourceNames.g.cs new file mode 100644 index 000000000000..b18d51eb63fa --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantResourceNames.g.cs @@ -0,0 +1,353 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the Assistant resource. + public sealed partial class AssistantName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// . + /// + ProjectLocationCollectionEngineAssistant = 1, + } + + private static gax::PathTemplate s_projectLocationCollectionEngineAssistant = new gax::PathTemplate("projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static AssistantName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new AssistantName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Assistant ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AssistantName FromProjectLocationCollectionEngineAssistant(string projectId, string locationId, string collectionId, string engineId, string assistantId) => + new AssistantName(ResourceNameType.ProjectLocationCollectionEngineAssistant, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), collectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), engineId: gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), assistantId: gax::GaxPreconditions.CheckNotNullOrEmpty(assistantId, nameof(assistantId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Assistant ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// . + /// + public static string Format(string projectId, string locationId, string collectionId, string engineId, string assistantId) => + FormatProjectLocationCollectionEngineAssistant(projectId, locationId, collectionId, engineId, assistantId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Assistant ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// . + /// + public static string FormatProjectLocationCollectionEngineAssistant(string projectId, string locationId, string collectionId, string engineId, string assistantId) => + s_projectLocationCollectionEngineAssistant.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), gax::GaxPreconditions.CheckNotNullOrEmpty(assistantId, nameof(assistantId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static AssistantName Parse(string assistantName) => Parse(assistantName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static AssistantName Parse(string assistantName, bool allowUnparsed) => + TryParse(assistantName, allowUnparsed, out AssistantName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string assistantName, out AssistantName result) => TryParse(assistantName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string assistantName, bool allowUnparsed, out AssistantName result) + { + gax::GaxPreconditions.CheckNotNull(assistantName, nameof(assistantName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationCollectionEngineAssistant.TryParseName(assistantName, out resourceName)) + { + result = FromProjectLocationCollectionEngineAssistant(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(assistantName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private AssistantName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string assistantId = null, string collectionId = null, string engineId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AssistantId = assistantId; + CollectionId = collectionId; + EngineId = engineId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// The Assistant ID. Must not be null or empty. + public AssistantName(string projectId, string locationId, string collectionId, string engineId, string assistantId) : this(ResourceNameType.ProjectLocationCollectionEngineAssistant, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), collectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), engineId: gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), assistantId: gax::GaxPreconditions.CheckNotNullOrEmpty(assistantId, nameof(assistantId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Assistant ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string AssistantId { get; } + + /// + /// The Collection ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string CollectionId { get; } + + /// + /// The Engine ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string EngineId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationCollectionEngineAssistant: return s_projectLocationCollectionEngineAssistant.Expand(ProjectId, LocationId, CollectionId, EngineId, AssistantId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as AssistantName); + + /// + public bool Equals(AssistantName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(AssistantName a, AssistantName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(AssistantName a, AssistantName b) => !(a == b); + } + + public partial class Assistant + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AssistantName AssistantName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AssistantName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + + public partial class Types + { + public partial class CustomerPolicy + { + public partial class Types + { + public partial class ModelArmorConfig + { + /// + /// -typed view over the resource + /// name property. + /// + public TemplateName UserPromptTemplateAsTemplateName + { + get => string.IsNullOrEmpty(UserPromptTemplate) ? null : TemplateName.Parse(UserPromptTemplate, allowUnparsed: true); + set => UserPromptTemplate = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name + /// property. + /// + public TemplateName ResponseTemplateAsTemplateName + { + get => string.IsNullOrEmpty(ResponseTemplate) ? null : TemplateName.Parse(ResponseTemplate, allowUnparsed: true); + set => ResponseTemplate = value?.ToString() ?? ""; + } + } + } + } + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantService.g.cs new file mode 100644 index 000000000000..fb1afc7f7b40 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantService.g.cs @@ -0,0 +1,4586 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/assistant_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/assistant_service.proto + public static partial class AssistantServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/assistant_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AssistantServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cjtnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hc3Npc3Rh", + "bnRfc2VydmljZS5wcm90bxIjZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2lu", + "ZS52MWJldGEaHGdvb2dsZS9hcGkvYW5ub3RhdGlvbnMucHJvdG8aF2dvb2ds", + "ZS9hcGkvY2xpZW50LnByb3RvGh9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9y", + "LnByb3RvGhlnb29nbGUvYXBpL3Jlc291cmNlLnByb3RvGjdnb29nbGUvY2xv", + "dWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hc3Npc3RfYW5zd2VyLnByb3Rv", + "GjNnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hc3Npc3Rh", + "bnQucHJvdG8aOGdvb2dsZS9jbG91ZC9kaXNjb3ZlcnllbmdpbmUvdjFiZXRh", + "L3NlYXJjaF9zZXJ2aWNlLnByb3RvGjFnb29nbGUvY2xvdWQvZGlzY292ZXJ5", + "ZW5naW5lL3YxYmV0YS9zZXNzaW9uLnByb3RvGhtnb29nbGUvcHJvdG9idWYv", + "ZW1wdHkucHJvdG8aIGdvb2dsZS9wcm90b2J1Zi9maWVsZF9tYXNrLnByb3Rv", + "IlIKEkFzc2lzdFVzZXJN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FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswerReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SessionReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata.Parser, new[]{ "TimeZone", "PreferredLanguageCode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Parser, new[]{ "Name", "Query", "Session", "UserMetadata", "ToolsSpec", "GenerationSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Parser, new[]{ "VertexAiSearchSpec", "WebGroundingSpec", "ImageGenerationSpec", "VideoGenerationSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec.Parser, new[]{ "DataStoreSpecs", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec.Parser, null, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec.Parser, new[]{ "ModelId" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Parser, new[]{ "Answer", "SessionInfo", "AssistToken", "InvocationTools", "InvokedSkills" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo.Parser, new[]{ "Session" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.InvokedSkill), global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.InvokedSkill.Parser, new[]{ "Name", "DisplayName" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest.Parser, new[]{ "Parent", "Assistant", "AssistantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsResponse.Parser, new[]{ "Assistants", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest.Parser, new[]{ "Assistant", "UpdateMask" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// User metadata of the request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AssistUserMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AssistUserMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistUserMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistUserMetadata(AssistUserMetadata other) : this() { + timeZone_ = other.timeZone_; + preferredLanguageCode_ = other.preferredLanguageCode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AssistUserMetadata Clone() { + return new AssistUserMetadata(this); + } + + /// Field number for the "time_zone" field. + public const int TimeZoneFieldNumber = 1; + private string timeZone_ = ""; + /// + /// Optional. IANA time zone, e.g. Europe/Budapest. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TimeZone { + get { return timeZone_; } + set { + timeZone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "preferred_language_code" field. + public const int PreferredLanguageCodeFieldNumber = 2; + private string preferredLanguageCode_ = ""; + /// + /// Optional. Preferred language to be used for answering if language detection + /// fails. Also used as the language of error messages created by actions, + /// regardless of language detection results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PreferredLanguageCode { + get { return preferredLanguageCode_; } + set { + preferredLanguageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AssistUserMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AssistUserMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TimeZone != other.TimeZone) return false; + if (PreferredLanguageCode != other.PreferredLanguageCode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (TimeZone.Length != 0) hash ^= TimeZone.GetHashCode(); + if (PreferredLanguageCode.Length != 0) hash ^= PreferredLanguageCode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (TimeZone.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TimeZone); + } + if (PreferredLanguageCode.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PreferredLanguageCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TimeZone.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TimeZone); + } + if (PreferredLanguageCode.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PreferredLanguageCode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (TimeZone.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TimeZone); + } + if (PreferredLanguageCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PreferredLanguageCode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AssistUserMetadata other) { + if (other == null) { + return; + } + if (other.TimeZone.Length != 0) { + TimeZone = other.TimeZone; + } + if (other.PreferredLanguageCode.Length != 0) { + PreferredLanguageCode = other.PreferredLanguageCode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + TimeZone = input.ReadString(); + break; + } + case 18: { + PreferredLanguageCode = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TimeZone = input.ReadString(); + break; + } + case 18: { + PreferredLanguageCode = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request for the + /// [AssistantService.StreamAssist][google.cloud.discoveryengine.v1beta.AssistantService.StreamAssist] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamAssistRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamAssistRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAssistRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAssistRequest(StreamAssistRequest other) : this() { + name_ = other.name_; + query_ = other.query_ != null ? other.query_.Clone() : null; + session_ = other.session_; + userMetadata_ = other.userMetadata_ != null ? other.userMetadata_.Clone() : null; + toolsSpec_ = other.toolsSpec_ != null ? other.toolsSpec_.Clone() : null; + generationSpec_ = other.generationSpec_ != null ? other.generationSpec_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAssistRequest Clone() { + return new StreamAssistRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The resource name of the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "query" field. + public const int QueryFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Query query_; + /// + /// Optional. Current user query. + /// + /// Empty query is only supported if `file_ids` are provided. In this case, the + /// answer will be generated based on those context files. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Query Query { + get { return query_; } + set { + query_ = value; + } + } + + /// Field number for the "session" field. + public const int SessionFieldNumber = 3; + private string session_ = ""; + /// + /// Optional. The session to use for the request. If specified, the assistant + /// has access to the session history, and the query and the answer are stored + /// there. + /// + /// If `-` is specified as the session ID, or it is left empty, then a new + /// session is created with an automatically generated ID. + /// + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Session { + get { return session_; } + set { + session_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "user_metadata" field. + public const int UserMetadataFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata userMetadata_; + /// + /// Optional. Information about the user initiating the query. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata UserMetadata { + get { return userMetadata_; } + set { + userMetadata_ = value; + } + } + + /// Field number for the "tools_spec" field. + public const int ToolsSpecFieldNumber = 18; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec toolsSpec_; + /// + /// Optional. Specification of tools that are used to serve the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec ToolsSpec { + get { return toolsSpec_; } + set { + toolsSpec_ = value; + } + } + + /// Field number for the "generation_spec" field. + public const int GenerationSpecFieldNumber = 19; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec generationSpec_; + /// + /// Optional. Specification of the generation configuration for the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec GenerationSpec { + get { return generationSpec_; } + set { + generationSpec_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamAssistRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamAssistRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!object.Equals(Query, other.Query)) return false; + if (Session != other.Session) return false; + if (!object.Equals(UserMetadata, other.UserMetadata)) return false; + if (!object.Equals(ToolsSpec, other.ToolsSpec)) return false; + if (!object.Equals(GenerationSpec, other.GenerationSpec)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (query_ != null) hash ^= Query.GetHashCode(); + if (Session.Length != 0) hash ^= Session.GetHashCode(); + if (userMetadata_ != null) hash ^= UserMetadata.GetHashCode(); + if (toolsSpec_ != null) hash ^= ToolsSpec.GetHashCode(); + if (generationSpec_ != null) hash ^= GenerationSpec.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (query_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Query); + } + if (Session.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Session); + } + if (userMetadata_ != null) { + output.WriteRawTag(50); + output.WriteMessage(UserMetadata); + } + if (toolsSpec_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(ToolsSpec); + } + if (generationSpec_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(GenerationSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (query_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Query); + } + if (Session.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Session); + } + if (userMetadata_ != null) { + output.WriteRawTag(50); + output.WriteMessage(UserMetadata); + } + if (toolsSpec_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(ToolsSpec); + } + if (generationSpec_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(GenerationSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (query_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Query); + } + if (Session.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Session); + } + if (userMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserMetadata); + } + if (toolsSpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ToolsSpec); + } + if (generationSpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GenerationSpec); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamAssistRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.query_ != null) { + if (query_ == null) { + Query = new global::Google.Cloud.DiscoveryEngine.V1Beta.Query(); + } + Query.MergeFrom(other.Query); + } + if (other.Session.Length != 0) { + Session = other.Session; + } + if (other.userMetadata_ != null) { + if (userMetadata_ == null) { + UserMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata(); + } + UserMetadata.MergeFrom(other.UserMetadata); + } + if (other.toolsSpec_ != null) { + if (toolsSpec_ == null) { + ToolsSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec(); + } + ToolsSpec.MergeFrom(other.ToolsSpec); + } + if (other.generationSpec_ != null) { + if (generationSpec_ == null) { + GenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec(); + } + GenerationSpec.MergeFrom(other.GenerationSpec); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (query_ == null) { + Query = new global::Google.Cloud.DiscoveryEngine.V1Beta.Query(); + } + input.ReadMessage(Query); + break; + } + case 26: { + Session = input.ReadString(); + break; + } + case 50: { + if (userMetadata_ == null) { + UserMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata(); + } + input.ReadMessage(UserMetadata); + break; + } + case 146: { + if (toolsSpec_ == null) { + ToolsSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec(); + } + input.ReadMessage(ToolsSpec); + break; + } + case 154: { + if (generationSpec_ == null) { + GenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec(); + } + input.ReadMessage(GenerationSpec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + if (query_ == null) { + Query = new global::Google.Cloud.DiscoveryEngine.V1Beta.Query(); + } + input.ReadMessage(Query); + break; + } + case 26: { + Session = input.ReadString(); + break; + } + case 50: { + if (userMetadata_ == null) { + UserMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistUserMetadata(); + } + input.ReadMessage(UserMetadata); + break; + } + case 146: { + if (toolsSpec_ == null) { + ToolsSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec(); + } + input.ReadMessage(ToolsSpec); + break; + } + case 154: { + if (generationSpec_ == null) { + GenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.GenerationSpec(); + } + input.ReadMessage(GenerationSpec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the StreamAssistRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specification of tools that are used to serve the request. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ToolsSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ToolsSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolsSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolsSpec(ToolsSpec other) : this() { + vertexAiSearchSpec_ = other.vertexAiSearchSpec_ != null ? other.vertexAiSearchSpec_.Clone() : null; + webGroundingSpec_ = other.webGroundingSpec_ != null ? other.webGroundingSpec_.Clone() : null; + imageGenerationSpec_ = other.imageGenerationSpec_ != null ? other.imageGenerationSpec_.Clone() : null; + videoGenerationSpec_ = other.videoGenerationSpec_ != null ? other.videoGenerationSpec_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ToolsSpec Clone() { + return new ToolsSpec(this); + } + + /// Field number for the "vertex_ai_search_spec" field. + public const int VertexAiSearchSpecFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec vertexAiSearchSpec_; + /// + /// Optional. Specification of the Vertex AI Search tool. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec VertexAiSearchSpec { + get { return vertexAiSearchSpec_; } + set { + vertexAiSearchSpec_ = value; + } + } + + /// Field number for the "web_grounding_spec" field. + public const int WebGroundingSpecFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec webGroundingSpec_; + /// + /// Optional. Specification of the web grounding tool. + /// If field is present, enables grounding with web search. Works only if + /// [Assistant.web_grounding_type][google.cloud.discoveryengine.v1beta.Assistant.web_grounding_type] + /// is + /// [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][google.cloud.discoveryengine.v1beta.Assistant.WebGroundingType.WEB_GROUNDING_TYPE_GOOGLE_SEARCH] + /// or + /// [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][google.cloud.discoveryengine.v1beta.Assistant.WebGroundingType.WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec WebGroundingSpec { + get { return webGroundingSpec_; } + set { + webGroundingSpec_ = value; + } + } + + /// Field number for the "image_generation_spec" field. + public const int ImageGenerationSpecFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec imageGenerationSpec_; + /// + /// Optional. Specification of the image generation tool. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec ImageGenerationSpec { + get { return imageGenerationSpec_; } + set { + imageGenerationSpec_ = value; + } + } + + /// Field number for the "video_generation_spec" field. + public const int VideoGenerationSpecFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec videoGenerationSpec_; + /// + /// Optional. Specification of the video generation tool. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec VideoGenerationSpec { + get { return videoGenerationSpec_; } + set { + videoGenerationSpec_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ToolsSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ToolsSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(VertexAiSearchSpec, other.VertexAiSearchSpec)) return false; + if (!object.Equals(WebGroundingSpec, other.WebGroundingSpec)) return false; + if (!object.Equals(ImageGenerationSpec, other.ImageGenerationSpec)) return false; + if (!object.Equals(VideoGenerationSpec, other.VideoGenerationSpec)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (vertexAiSearchSpec_ != null) hash ^= VertexAiSearchSpec.GetHashCode(); + if (webGroundingSpec_ != null) hash ^= WebGroundingSpec.GetHashCode(); + if (imageGenerationSpec_ != null) hash ^= ImageGenerationSpec.GetHashCode(); + if (videoGenerationSpec_ != null) hash ^= VideoGenerationSpec.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (vertexAiSearchSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(VertexAiSearchSpec); + } + if (webGroundingSpec_ != null) { + output.WriteRawTag(18); + output.WriteMessage(WebGroundingSpec); + } + if (imageGenerationSpec_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ImageGenerationSpec); + } + if (videoGenerationSpec_ != null) { + output.WriteRawTag(34); + output.WriteMessage(VideoGenerationSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (vertexAiSearchSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(VertexAiSearchSpec); + } + if (webGroundingSpec_ != null) { + output.WriteRawTag(18); + output.WriteMessage(WebGroundingSpec); + } + if (imageGenerationSpec_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ImageGenerationSpec); + } + if (videoGenerationSpec_ != null) { + output.WriteRawTag(34); + output.WriteMessage(VideoGenerationSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (vertexAiSearchSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(VertexAiSearchSpec); + } + if (webGroundingSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(WebGroundingSpec); + } + if (imageGenerationSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ImageGenerationSpec); + } + if (videoGenerationSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(VideoGenerationSpec); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ToolsSpec other) { + if (other == null) { + return; + } + if (other.vertexAiSearchSpec_ != null) { + if (vertexAiSearchSpec_ == null) { + VertexAiSearchSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec(); + } + VertexAiSearchSpec.MergeFrom(other.VertexAiSearchSpec); + } + if (other.webGroundingSpec_ != null) { + if (webGroundingSpec_ == null) { + WebGroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec(); + } + WebGroundingSpec.MergeFrom(other.WebGroundingSpec); + } + if (other.imageGenerationSpec_ != null) { + if (imageGenerationSpec_ == null) { + ImageGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec(); + } + ImageGenerationSpec.MergeFrom(other.ImageGenerationSpec); + } + if (other.videoGenerationSpec_ != null) { + if (videoGenerationSpec_ == null) { + VideoGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec(); + } + VideoGenerationSpec.MergeFrom(other.VideoGenerationSpec); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (vertexAiSearchSpec_ == null) { + VertexAiSearchSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec(); + } + input.ReadMessage(VertexAiSearchSpec); + break; + } + case 18: { + if (webGroundingSpec_ == null) { + WebGroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec(); + } + input.ReadMessage(WebGroundingSpec); + break; + } + case 26: { + if (imageGenerationSpec_ == null) { + ImageGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec(); + } + input.ReadMessage(ImageGenerationSpec); + break; + } + case 34: { + if (videoGenerationSpec_ == null) { + VideoGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec(); + } + input.ReadMessage(VideoGenerationSpec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (vertexAiSearchSpec_ == null) { + VertexAiSearchSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec(); + } + input.ReadMessage(VertexAiSearchSpec); + break; + } + case 18: { + if (webGroundingSpec_ == null) { + WebGroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec(); + } + input.ReadMessage(WebGroundingSpec); + break; + } + case 26: { + if (imageGenerationSpec_ == null) { + ImageGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec(); + } + input.ReadMessage(ImageGenerationSpec); + break; + } + case 34: { + if (videoGenerationSpec_ == null) { + VideoGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec(); + } + input.ReadMessage(VideoGenerationSpec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ToolsSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specification of the Vertex AI Search tool. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VertexAiSearchSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VertexAiSearchSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VertexAiSearchSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VertexAiSearchSpec(VertexAiSearchSpec other) : this() { + dataStoreSpecs_ = other.dataStoreSpecs_.Clone(); + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VertexAiSearchSpec Clone() { + return new VertexAiSearchSpec(this); + } + + /// Field number for the "data_store_specs" field. + public const int DataStoreSpecsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_dataStoreSpecs_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec.Parser); + private readonly pbc::RepeatedField dataStoreSpecs_ = new pbc::RepeatedField(); + /// + /// Optional. Specs defining + /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s to filter + /// on in a search call and configurations for those data stores. This is + /// only considered for + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]s with multiple + /// data stores. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DataStoreSpecs { + get { return dataStoreSpecs_; } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// Optional. The filter syntax consists of an expression language for + /// constructing a predicate from one or more fields of the documents being + /// filtered. Filter expression is case-sensitive. + /// + /// If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. + /// + /// Filtering in Vertex AI Search is done by mapping the LHS filter key to + /// a key property defined in the Vertex AI Search backend -- this mapping + /// is defined by the customer in their schema. For example a media + /// customer might have a field 'name' in their schema. In this case the + /// filter would look like this: filter --> name:'ANY("king kong")' + /// + /// For more information about filtering including syntax and filter + /// operators, see + /// [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VertexAiSearchSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VertexAiSearchSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!dataStoreSpecs_.Equals(other.dataStoreSpecs_)) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= dataStoreSpecs_.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + dataStoreSpecs_.WriteTo(output, _repeated_dataStoreSpecs_codec); + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + dataStoreSpecs_.WriteTo(ref output, _repeated_dataStoreSpecs_codec); + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += dataStoreSpecs_.CalculateSize(_repeated_dataStoreSpecs_codec); + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VertexAiSearchSpec other) { + if (other == null) { + return; + } + dataStoreSpecs_.Add(other.dataStoreSpecs_); + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 18: { + dataStoreSpecs_.AddEntriesFrom(input, _repeated_dataStoreSpecs_codec); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 18: { + dataStoreSpecs_.AddEntriesFrom(ref input, _repeated_dataStoreSpecs_codec); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Specification of the web grounding tool. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WebGroundingSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WebGroundingSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WebGroundingSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WebGroundingSpec(WebGroundingSpec other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WebGroundingSpec Clone() { + return new WebGroundingSpec(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WebGroundingSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WebGroundingSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WebGroundingSpec other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Specification of the image generation tool. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImageGenerationSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImageGenerationSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImageGenerationSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImageGenerationSpec(ImageGenerationSpec other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImageGenerationSpec Clone() { + return new ImageGenerationSpec(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImageGenerationSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImageGenerationSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImageGenerationSpec other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + /// + /// Specification of the video generation tool. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VideoGenerationSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VideoGenerationSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VideoGenerationSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VideoGenerationSpec(VideoGenerationSpec other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VideoGenerationSpec Clone() { + return new VideoGenerationSpec(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VideoGenerationSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VideoGenerationSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VideoGenerationSpec other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Assistant generation specification for the request. + /// This allows to override the default generation configuration at the engine + /// level. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GenerationSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GenerationSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerationSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerationSpec(GenerationSpec other) : this() { + modelId_ = other.modelId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GenerationSpec Clone() { + return new GenerationSpec(this); + } + + /// Field number for the "model_id" field. + public const int ModelIdFieldNumber = 1; + private string modelId_ = ""; + /// + /// Optional. The Vertex AI model_id used for the generative model. If not + /// set, the default Assistant model will be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelId { + get { return modelId_; } + set { + modelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GenerationSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GenerationSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ModelId != other.ModelId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ModelId.Length != 0) hash ^= ModelId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ModelId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ModelId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ModelId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ModelId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ModelId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GenerationSpec other) { + if (other == null) { + return; + } + if (other.ModelId.Length != 0) { + ModelId = other.ModelId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ModelId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ModelId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Response for the + /// [AssistantService.StreamAssist][google.cloud.discoveryengine.v1beta.AssistantService.StreamAssist] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StreamAssistResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamAssistResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAssistResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAssistResponse(StreamAssistResponse other) : this() { + answer_ = other.answer_ != null ? other.answer_.Clone() : null; + sessionInfo_ = other.sessionInfo_ != null ? other.sessionInfo_.Clone() : null; + assistToken_ = other.assistToken_; + invocationTools_ = other.invocationTools_.Clone(); + invokedSkills_ = other.invokedSkills_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StreamAssistResponse Clone() { + return new StreamAssistResponse(this); + } + + /// Field number for the "answer" field. + public const int AnswerFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer answer_; + /// + /// Assist answer resource object containing parts of the assistant's final + /// answer for the user's query. + /// + /// Not present if the current response doesn't add anything to previously + /// sent + /// [AssistAnswer.replies][google.cloud.discoveryengine.v1beta.AssistAnswer.replies]. + /// + /// Observe + /// [AssistAnswer.state][google.cloud.discoveryengine.v1beta.AssistAnswer.state] + /// to see if more parts are to be expected. While the state is `IN_PROGRESS`, + /// the + /// [AssistAnswer.replies][google.cloud.discoveryengine.v1beta.AssistAnswer.replies] + /// field in each response will contain replies (reply fragments) to be + /// appended to the ones received in previous responses. + /// [AssistAnswer.name][google.cloud.discoveryengine.v1beta.AssistAnswer.name] + /// won't be filled. + /// + /// If the state is `SUCCEEDED`, `FAILED` or `SKIPPED`, the response + /// is the last response and + /// [AssistAnswer.name][google.cloud.discoveryengine.v1beta.AssistAnswer.name] + /// will have a value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer Answer { + get { return answer_; } + set { + answer_ = value; + } + } + + /// Field number for the "session_info" field. + public const int SessionInfoFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo sessionInfo_; + /// + /// Session information. Only included in the final StreamAssistResponse of the + /// response stream. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo SessionInfo { + get { return sessionInfo_; } + set { + sessionInfo_ = value; + } + } + + /// Field number for the "assist_token" field. + public const int AssistTokenFieldNumber = 4; + private string assistToken_ = ""; + /// + /// A global unique ID that identifies the current pair of request and stream + /// of responses. Used for feedback and support. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AssistToken { + get { return assistToken_; } + set { + assistToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "invocation_tools" field. + public const int InvocationToolsFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_invocationTools_codec + = pb::FieldCodec.ForString(66); + private readonly pbc::RepeatedField invocationTools_ = new pbc::RepeatedField(); + /// + /// The tool names of the tools that were invoked. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField InvocationTools { + get { return invocationTools_; } + } + + /// Field number for the "invoked_skills" field. + public const int InvokedSkillsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_invokedSkills_codec + = pb::FieldCodec.ForMessage(82, global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.InvokedSkill.Parser); + private readonly pbc::RepeatedField invokedSkills_ = new pbc::RepeatedField(); + /// + /// The skills executed during the turn. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField InvokedSkills { + get { return invokedSkills_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StreamAssistResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StreamAssistResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Answer, other.Answer)) return false; + if (!object.Equals(SessionInfo, other.SessionInfo)) return false; + if (AssistToken != other.AssistToken) return false; + if(!invocationTools_.Equals(other.invocationTools_)) return false; + if(!invokedSkills_.Equals(other.invokedSkills_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (answer_ != null) hash ^= Answer.GetHashCode(); + if (sessionInfo_ != null) hash ^= SessionInfo.GetHashCode(); + if (AssistToken.Length != 0) hash ^= AssistToken.GetHashCode(); + hash ^= invocationTools_.GetHashCode(); + hash ^= invokedSkills_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (answer_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Answer); + } + if (sessionInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SessionInfo); + } + if (AssistToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AssistToken); + } + invocationTools_.WriteTo(output, _repeated_invocationTools_codec); + invokedSkills_.WriteTo(output, _repeated_invokedSkills_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (answer_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Answer); + } + if (sessionInfo_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SessionInfo); + } + if (AssistToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AssistToken); + } + invocationTools_.WriteTo(ref output, _repeated_invocationTools_codec); + invokedSkills_.WriteTo(ref output, _repeated_invokedSkills_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (answer_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Answer); + } + if (sessionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SessionInfo); + } + if (AssistToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AssistToken); + } + size += invocationTools_.CalculateSize(_repeated_invocationTools_codec); + size += invokedSkills_.CalculateSize(_repeated_invokedSkills_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StreamAssistResponse other) { + if (other == null) { + return; + } + if (other.answer_ != null) { + if (answer_ == null) { + Answer = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer(); + } + Answer.MergeFrom(other.Answer); + } + if (other.sessionInfo_ != null) { + if (sessionInfo_ == null) { + SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo(); + } + SessionInfo.MergeFrom(other.SessionInfo); + } + if (other.AssistToken.Length != 0) { + AssistToken = other.AssistToken; + } + invocationTools_.Add(other.invocationTools_); + invokedSkills_.Add(other.invokedSkills_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (answer_ == null) { + Answer = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer(); + } + input.ReadMessage(Answer); + break; + } + case 18: { + if (sessionInfo_ == null) { + SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + case 34: { + AssistToken = input.ReadString(); + break; + } + case 66: { + invocationTools_.AddEntriesFrom(input, _repeated_invocationTools_codec); + break; + } + case 82: { + invokedSkills_.AddEntriesFrom(input, _repeated_invokedSkills_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (answer_ == null) { + Answer = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer(); + } + input.ReadMessage(Answer); + break; + } + case 18: { + if (sessionInfo_ == null) { + SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Types.SessionInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + case 34: { + AssistToken = input.ReadString(); + break; + } + case 66: { + invocationTools_.AddEntriesFrom(ref input, _repeated_invocationTools_codec); + break; + } + case 82: { + invokedSkills_.AddEntriesFrom(ref input, _repeated_invokedSkills_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the StreamAssistResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Information about the session. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SessionInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SessionInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SessionInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SessionInfo(SessionInfo other) : this() { + session_ = other.session_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SessionInfo Clone() { + return new SessionInfo(this); + } + + /// Field number for the "session" field. + public const int SessionFieldNumber = 1; + private string session_ = ""; + /// + /// Name of the newly generated or continued session. + /// + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Session { + get { return session_; } + set { + session_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SessionInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SessionInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Session != other.Session) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Session.Length != 0) hash ^= Session.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Session.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Session); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Session.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Session); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Session.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Session); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SessionInfo other) { + if (other == null) { + return; + } + if (other.Session.Length != 0) { + Session = other.Session; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Session = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Session = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Represents a skill used during the assist call. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InvokedSkill : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InvokedSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvokedSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvokedSkill(InvokedSkill other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InvokedSkill Clone() { + return new InvokedSkill(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// The resource name of the skill. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The display name of the skill. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InvokedSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InvokedSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InvokedSkill other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Request for the + /// [AssistantService.CreateAssistant][google.cloud.discoveryengine.v1beta.AssistantService.CreateAssistant] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateAssistantRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateAssistantRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAssistantRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAssistantRequest(CreateAssistantRequest other) : this() { + parent_ = other.parent_; + assistant_ = other.assistant_ != null ? other.assistant_.Clone() : null; + assistantId_ = other.assistantId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateAssistantRequest Clone() { + return new CreateAssistantRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource name. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "assistant" field. + public const int AssistantFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant assistant_; + /// + /// Required. The [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to + /// create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant Assistant { + get { return assistant_; } + set { + assistant_ = value; + } + } + + /// Field number for the "assistant_id" field. + public const int AssistantIdFieldNumber = 3; + private string assistantId_ = ""; + /// + /// Required. The ID to use for the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], which will + /// become the final component of the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]'s resource name. + /// + /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) + /// with a length limit of 63 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AssistantId { + get { return assistantId_; } + set { + assistantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateAssistantRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateAssistantRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(Assistant, other.Assistant)) return false; + if (AssistantId != other.AssistantId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (assistant_ != null) hash ^= Assistant.GetHashCode(); + if (AssistantId.Length != 0) hash ^= AssistantId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (assistant_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Assistant); + } + if (AssistantId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AssistantId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (assistant_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Assistant); + } + if (AssistantId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AssistantId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (assistant_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Assistant); + } + if (AssistantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AssistantId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateAssistantRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.assistant_ != null) { + if (assistant_ == null) { + Assistant = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant(); + } + Assistant.MergeFrom(other.Assistant); + } + if (other.AssistantId.Length != 0) { + AssistantId = other.AssistantId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (assistant_ == null) { + Assistant = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant(); + } + input.ReadMessage(Assistant); + break; + } + case 26: { + AssistantId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (assistant_ == null) { + Assistant = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant(); + } + input.ReadMessage(Assistant); + break; + } + case 26: { + AssistantId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for the + /// [AssistantService.DeleteAssistant][google.cloud.discoveryengine.v1beta.AssistantService.DeleteAssistant] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteAssistantRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteAssistantRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAssistantRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAssistantRequest(DeleteAssistantRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteAssistantRequest Clone() { + return new DeleteAssistantRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteAssistantRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteAssistantRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteAssistantRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for the + /// [AssistantService.GetAssistant][google.cloud.discoveryengine.v1beta.AssistantService.GetAssistant] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetAssistantRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAssistantRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAssistantRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAssistantRequest(GetAssistantRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetAssistantRequest Clone() { + return new GetAssistantRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetAssistantRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetAssistantRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetAssistantRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for the + /// [AssistantService.ListAssistants][google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAssistantsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAssistantsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAssistantsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAssistantsRequest(ListAssistantsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAssistantsRequest Clone() { + return new ListAssistantsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource name. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Maximum number of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s to return. If + /// unspecified, defaults to 100. The maximum allowed value is 1000; anything + /// above that will be coerced down to 1000. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// A page token + /// [ListAssistantsResponse.next_page_token][google.cloud.discoveryengine.v1beta.ListAssistantsResponse.next_page_token], + /// received from a previous + /// [AssistantService.ListAssistants][google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants] + /// call. Provide this to retrieve the subsequent page. + /// + /// When paginating, all other parameters provided to + /// [ListAssistants][google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants] + /// must match the call that provided the page token. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAssistantsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAssistantsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAssistantsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for the + /// [AssistantService.ListAssistants][google.cloud.discoveryengine.v1beta.AssistantService.ListAssistants] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListAssistantsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListAssistantsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAssistantsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAssistantsResponse(ListAssistantsResponse other) : this() { + assistants_ = other.assistants_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListAssistantsResponse Clone() { + return new ListAssistantsResponse(this); + } + + /// Field number for the "assistants" field. + public const int AssistantsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_assistants_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Parser); + private readonly pbc::RepeatedField assistants_ = new pbc::RepeatedField(); + /// + /// All the customer's + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Assistants { + get { return assistants_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// A token that can be sent as + /// [ListAssistantsRequest.page_token][google.cloud.discoveryengine.v1beta.ListAssistantsRequest.page_token] + /// to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListAssistantsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListAssistantsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!assistants_.Equals(other.assistants_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= assistants_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + assistants_.WriteTo(output, _repeated_assistants_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + assistants_.WriteTo(ref output, _repeated_assistants_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += assistants_.CalculateSize(_repeated_assistants_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListAssistantsResponse other) { + if (other == null) { + return; + } + assistants_.Add(other.assistants_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + assistants_.AddEntriesFrom(input, _repeated_assistants_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + assistants_.AddEntriesFrom(ref input, _repeated_assistants_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for the + /// [AssistantService.UpdateAssistant][google.cloud.discoveryengine.v1beta.AssistantService.UpdateAssistant] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateAssistantRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateAssistantRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAssistantRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAssistantRequest(UpdateAssistantRequest other) : this() { + assistant_ = other.assistant_ != null ? other.assistant_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateAssistantRequest Clone() { + return new UpdateAssistantRequest(this); + } + + /// Field number for the "assistant" field. + public const int AssistantFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant assistant_; + /// + /// Required. The [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to + /// update. + /// + /// The [Assistant][google.cloud.discoveryengine.v1beta.Assistant]'s `name` + /// field is used to identify the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to update the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update + /// does not exist, a NOT_FOUND error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant Assistant { + get { return assistant_; } + set { + assistant_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// The list of fields to update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateAssistantRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateAssistantRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Assistant, other.Assistant)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (assistant_ != null) hash ^= Assistant.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (assistant_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Assistant); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (assistant_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Assistant); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (assistant_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Assistant); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateAssistantRequest other) { + if (other == null) { + return; + } + if (other.assistant_ != null) { + if (assistant_ == null) { + Assistant = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant(); + } + Assistant.MergeFrom(other.Assistant); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (assistant_ == null) { + Assistant = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant(); + } + input.ReadMessage(Assistant); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (assistant_ == null) { + Assistant = new global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant(); + } + input.ReadMessage(Assistant); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceClient.g.cs new file mode 100644 index 000000000000..71bbadfcbe90 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceClient.g.cs @@ -0,0 +1,1161 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using sc = System.Collections; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; +using wkt = Google.Protobuf.WellKnownTypes; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class AssistantServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static AssistantServiceSettings GetDefault() => new AssistantServiceSettings(); + + /// Constructs a new object with default settings. + public AssistantServiceSettings() + { + } + + private AssistantServiceSettings(AssistantServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + StreamAssistSettings = existing.StreamAssistSettings; + CreateAssistantSettings = existing.CreateAssistantSettings; + DeleteAssistantSettings = existing.DeleteAssistantSettings; + UpdateAssistantSettings = existing.UpdateAssistantSettings; + GetAssistantSettings = existing.GetAssistantSettings; + ListAssistantsSettings = existing.ListAssistantsSettings; + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(AssistantServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// AssistantServiceClient.StreamAssist and AssistantServiceClient.StreamAssistAsync. + /// + /// Timeout: 300 seconds. + public gaxgrpc::CallSettings StreamAssistSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(300000))); + + /// + /// for synchronous and asynchronous calls to + /// AssistantServiceClient.CreateAssistant and AssistantServiceClient.CreateAssistantAsync. + /// + /// + /// + /// This call will not be retried. + /// Timeout: 30 seconds. + /// + /// + public gaxgrpc::CallSettings CreateAssistantSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))); + + /// + /// for synchronous and asynchronous calls to + /// AssistantServiceClient.DeleteAssistant and AssistantServiceClient.DeleteAssistantAsync. + /// + /// + /// + /// This call will not be retried. + /// Timeout: 30 seconds. + /// + /// + public gaxgrpc::CallSettings DeleteAssistantSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))); + + /// + /// for synchronous and asynchronous calls to + /// AssistantServiceClient.UpdateAssistant and AssistantServiceClient.UpdateAssistantAsync. + /// + /// + /// + /// This call will not be retried. + /// Timeout: 30 seconds. + /// + /// + public gaxgrpc::CallSettings UpdateAssistantSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))); + + /// + /// for synchronous and asynchronous calls to + /// AssistantServiceClient.GetAssistant and AssistantServiceClient.GetAssistantAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: Unlimited + /// + /// Retriable status codes: . + /// + /// Timeout: 30 seconds. + /// + /// + public gaxgrpc::CallSettings GetAssistantSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 2147483647, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// for synchronous and asynchronous calls to + /// AssistantServiceClient.ListAssistants and AssistantServiceClient.ListAssistantsAsync. + /// + /// + /// + /// Initial retry delay: 1000 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds. + /// Maximum attempts: Unlimited + /// + /// Retriable status codes: . + /// + /// Timeout: 30 seconds. + /// + /// + public gaxgrpc::CallSettings ListAssistantsSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 2147483647, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public AssistantServiceSettings Clone() => new AssistantServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, endpoint + /// etc. + /// + public sealed partial class AssistantServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public AssistantServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public AssistantServiceClientBuilder() : base(AssistantServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref AssistantServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override AssistantServiceClient Build() + { + AssistantServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private AssistantServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return AssistantServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return AssistantServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => AssistantServiceClient.ChannelPool; + } + + /// AssistantService client wrapper, for convenient use. + /// + /// Service for managing Assistant configuration and assisting users. + /// + public abstract partial class AssistantServiceClient + { + /// + /// The default endpoint for the AssistantService service, which is a host of "discoveryengine.googleapis.com" + /// and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default AssistantService scopes. + /// + /// The default AssistantService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.assist.readwrite + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AssistantService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new AssistantServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// The created . + public static AssistantServiceClient Create() => new AssistantServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static AssistantServiceClient Create(grpccore::CallInvoker callInvoker, AssistantServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + AssistantService.AssistantServiceClient grpcClient = new AssistantService.AssistantServiceClient(callInvoker); + return new AssistantServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC AssistantService client + public virtual AssistantService.AssistantServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Server streaming methods for . + /// + public abstract partial class StreamAssistStream : gaxgrpc::ServerStreamingBase + { + } + + /// + /// Assists the user with a query in a streaming fashion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The server stream. + public virtual StreamAssistStream StreamAssist(StreamAssistRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Assistant CreateAssistant(CreateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateAssistantAsync(CreateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateAssistantAsync(CreateAssistantRequest request, st::CancellationToken cancellationToken) => + CreateAssistantAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAssistant(DeleteAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAssistantAsync(DeleteAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAssistantAsync(DeleteAssistantRequest request, st::CancellationToken cancellationToken) => + DeleteAssistantAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAssistant(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteAssistant(new DeleteAssistantRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAssistantAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteAssistantAsync(new DeleteAssistantRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAssistantAsync(string name, st::CancellationToken cancellationToken) => + DeleteAssistantAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteAssistant(AssistantName name, gaxgrpc::CallSettings callSettings = null) => + DeleteAssistant(new DeleteAssistantRequest + { + AssistantName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAssistantAsync(AssistantName name, gaxgrpc::CallSettings callSettings = null) => + DeleteAssistantAsync(new DeleteAssistantRequest + { + AssistantName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to delete the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to delete + /// does not exist, a NOT_FOUND error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteAssistantAsync(AssistantName name, st::CancellationToken cancellationToken) => + DeleteAssistantAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Assistant UpdateAssistant(UpdateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAssistantAsync(UpdateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAssistantAsync(UpdateAssistantRequest request, st::CancellationToken cancellationToken) => + UpdateAssistantAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// + /// Required. The [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to + /// update. + /// + /// The [Assistant][google.cloud.discoveryengine.v1beta.Assistant]'s `name` + /// field is used to identify the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to update the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update + /// does not exist, a NOT_FOUND error is returned. + /// + /// + /// The list of fields to update. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Assistant UpdateAssistant(Assistant assistant, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateAssistant(new UpdateAssistantRequest + { + Assistant = gax::GaxPreconditions.CheckNotNull(assistant, nameof(assistant)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// + /// Required. The [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to + /// update. + /// + /// The [Assistant][google.cloud.discoveryengine.v1beta.Assistant]'s `name` + /// field is used to identify the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to update the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update + /// does not exist, a NOT_FOUND error is returned. + /// + /// + /// The list of fields to update. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAssistantAsync(Assistant assistant, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateAssistantAsync(new UpdateAssistantRequest + { + Assistant = gax::GaxPreconditions.CheckNotNull(assistant, nameof(assistant)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// + /// Required. The [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to + /// update. + /// + /// The [Assistant][google.cloud.discoveryengine.v1beta.Assistant]'s `name` + /// field is used to identify the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If the caller does not have permission to update the + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If the [Assistant][google.cloud.discoveryengine.v1beta.Assistant] to update + /// does not exist, a NOT_FOUND error is returned. + /// + /// + /// The list of fields to update. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateAssistantAsync(Assistant assistant, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateAssistantAsync(assistant, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Assistant GetAssistant(GetAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAssistantAsync(GetAssistantRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAssistantAsync(GetAssistantRequest request, st::CancellationToken cancellationToken) => + GetAssistantAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Assistant GetAssistant(string name, gaxgrpc::CallSettings callSettings = null) => + GetAssistant(new GetAssistantRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAssistantAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetAssistantAsync(new GetAssistantRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAssistantAsync(string name, st::CancellationToken cancellationToken) => + GetAssistantAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual Assistant GetAssistant(AssistantName name, gaxgrpc::CallSettings callSettings = null) => + GetAssistant(new GetAssistantRequest + { + AssistantName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetAssistantAsync(AssistantName name, gaxgrpc::CallSettings callSettings = null) => + GetAssistantAsync(new GetAssistantRequest + { + AssistantName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// + /// Required. Resource name of + /// [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetAssistantAsync(AssistantName name, st::CancellationToken cancellationToken) => + GetAssistantAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAssistants(ListAssistantsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAssistantsAsync(ListAssistantsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// + /// Required. The parent resource name. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAssistants(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAssistantsRequest request = new ListAssistantsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAssistants(request, callSettings); + } + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// + /// Required. The parent resource name. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAssistantsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAssistantsRequest request = new ListAssistantsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAssistantsAsync(request, callSettings); + } + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// + /// Required. The parent resource name. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListAssistants(EngineName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAssistantsRequest request = new ListAssistantsRequest + { + ParentAsEngineName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAssistants(request, callSettings); + } + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// + /// Required. The parent resource name. + /// Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListAssistantsAsync(EngineName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListAssistantsRequest request = new ListAssistantsRequest + { + ParentAsEngineName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListAssistantsAsync(request, callSettings); + } + } + + /// AssistantService client wrapper implementation, for convenient use. + /// + /// Service for managing Assistant configuration and assisting users. + /// + public sealed partial class AssistantServiceClientImpl : AssistantServiceClient + { + private readonly gaxgrpc::ApiServerStreamingCall _callStreamAssist; + + private readonly gaxgrpc::ApiCall _callCreateAssistant; + + private readonly gaxgrpc::ApiCall _callDeleteAssistant; + + private readonly gaxgrpc::ApiCall _callUpdateAssistant; + + private readonly gaxgrpc::ApiCall _callGetAssistant; + + private readonly gaxgrpc::ApiCall _callListAssistants; + + /// + /// Constructs a client wrapper for the AssistantService service, with the specified gRPC client and settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public AssistantServiceClientImpl(AssistantService.AssistantServiceClient grpcClient, AssistantServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + AssistantServiceSettings effectiveSettings = settings ?? AssistantServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callStreamAssist = clientHelper.BuildApiCall("StreamAssist", grpcClient.StreamAssist, effectiveSettings.StreamAssistSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callStreamAssist); + Modify_StreamAssistApiCall(ref _callStreamAssist); + _callCreateAssistant = clientHelper.BuildApiCall("CreateAssistant", grpcClient.CreateAssistantAsync, grpcClient.CreateAssistant, effectiveSettings.CreateAssistantSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateAssistant); + Modify_CreateAssistantApiCall(ref _callCreateAssistant); + _callDeleteAssistant = clientHelper.BuildApiCall("DeleteAssistant", grpcClient.DeleteAssistantAsync, grpcClient.DeleteAssistant, effectiveSettings.DeleteAssistantSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteAssistant); + Modify_DeleteAssistantApiCall(ref _callDeleteAssistant); + _callUpdateAssistant = clientHelper.BuildApiCall("UpdateAssistant", grpcClient.UpdateAssistantAsync, grpcClient.UpdateAssistant, effectiveSettings.UpdateAssistantSettings).WithGoogleRequestParam("assistant.name", request => request.Assistant?.Name); + Modify_ApiCall(ref _callUpdateAssistant); + Modify_UpdateAssistantApiCall(ref _callUpdateAssistant); + _callGetAssistant = clientHelper.BuildApiCall("GetAssistant", grpcClient.GetAssistantAsync, grpcClient.GetAssistant, effectiveSettings.GetAssistantSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetAssistant); + Modify_GetAssistantApiCall(ref _callGetAssistant); + _callListAssistants = clientHelper.BuildApiCall("ListAssistants", grpcClient.ListAssistantsAsync, grpcClient.ListAssistants, effectiveSettings.ListAssistantsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListAssistants); + Modify_ListAssistantsApiCall(ref _callListAssistants); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_ApiCall(ref gaxgrpc::ApiServerStreamingCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_StreamAssistApiCall(ref gaxgrpc::ApiServerStreamingCall call); + + partial void Modify_CreateAssistantApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteAssistantApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateAssistantApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetAssistantApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListAssistantsApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(AssistantService.AssistantServiceClient grpcClient, AssistantServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC AssistantService client + public override AssistantService.AssistantServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_StreamAssistRequest(ref StreamAssistRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_CreateAssistantRequest(ref CreateAssistantRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteAssistantRequest(ref DeleteAssistantRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateAssistantRequest(ref UpdateAssistantRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetAssistantRequest(ref GetAssistantRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListAssistantsRequest(ref ListAssistantsRequest request, ref gaxgrpc::CallSettings settings); + + internal sealed partial class StreamAssistStreamImpl : StreamAssistStream + { + /// Construct the server streaming method for StreamAssist. + /// The underlying gRPC server streaming call. + public StreamAssistStreamImpl(grpccore::AsyncServerStreamingCall call) => GrpcCall = call; + + public override grpccore::AsyncServerStreamingCall GrpcCall { get; } + } + + /// + /// Assists the user with a query in a streaming fashion. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The server stream. + public override AssistantServiceClient.StreamAssistStream StreamAssist(StreamAssistRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_StreamAssistRequest(ref request, ref callSettings); + return new StreamAssistStreamImpl(_callStreamAssist.Call(request, callSettings)); + } + + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Assistant CreateAssistant(CreateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateAssistantRequest(ref request, ref callSettings); + return _callCreateAssistant.Sync(request, callSettings); + } + + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateAssistantAsync(CreateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateAssistantRequest(ref request, ref callSettings); + return _callCreateAssistant.Async(request, callSettings); + } + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteAssistant(DeleteAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteAssistantRequest(ref request, ref callSettings); + _callDeleteAssistant.Sync(request, callSettings); + } + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteAssistantAsync(DeleteAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteAssistantRequest(ref request, ref callSettings); + return _callDeleteAssistant.Async(request, callSettings); + } + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Assistant UpdateAssistant(UpdateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateAssistantRequest(ref request, ref callSettings); + return _callUpdateAssistant.Sync(request, callSettings); + } + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateAssistantAsync(UpdateAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateAssistantRequest(ref request, ref callSettings); + return _callUpdateAssistant.Async(request, callSettings); + } + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override Assistant GetAssistant(GetAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAssistantRequest(ref request, ref callSettings); + return _callGetAssistant.Sync(request, callSettings); + } + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetAssistantAsync(GetAssistantRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetAssistantRequest(ref request, ref callSettings); + return _callGetAssistant.Async(request, callSettings); + } + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListAssistants(ListAssistantsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAssistantsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListAssistants, request, callSettings); + } + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListAssistantsAsync(ListAssistantsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListAssistantsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListAssistants, request, callSettings); + } + } + + public partial class ListAssistantsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListAssistantsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => Assistants.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public static partial class AssistantService + { + public partial class AssistantServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceGrpc.g.cs new file mode 100644 index 000000000000..2e4cb277a45e --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceGrpc.g.cs @@ -0,0 +1,555 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/assistant_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing Assistant configuration and assisting users. + /// + public static partial class AssistantService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.AssistantService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_StreamAssistRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_StreamAssistResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_CreateAssistantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_Assistant = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_DeleteAssistantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_protobuf_Empty = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Protobuf.WellKnownTypes.Empty.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateAssistantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetAssistantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListAssistantsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListAssistantsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsResponse.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StreamAssist = new grpc::Method( + grpc::MethodType.ServerStreaming, + __ServiceName, + "StreamAssist", + __Marshaller_google_cloud_discoveryengine_v1beta_StreamAssistRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_StreamAssistResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateAssistant = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateAssistant", + __Marshaller_google_cloud_discoveryengine_v1beta_CreateAssistantRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_Assistant); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteAssistant = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteAssistant", + __Marshaller_google_cloud_discoveryengine_v1beta_DeleteAssistantRequest, + __Marshaller_google_protobuf_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateAssistant = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateAssistant", + __Marshaller_google_cloud_discoveryengine_v1beta_UpdateAssistantRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_Assistant); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetAssistant = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetAssistant", + __Marshaller_google_cloud_discoveryengine_v1beta_GetAssistantRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_Assistant); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListAssistants = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListAssistants", + __Marshaller_google_cloud_discoveryengine_v1beta_ListAssistantsRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListAssistantsResponse); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AssistantServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of AssistantService + [grpc::BindServiceMethod(typeof(AssistantService), "BindService")] + public abstract partial class AssistantServiceBase + { + /// + /// Assists the user with a query in a streaming fashion. + /// + /// The request received from the client. + /// Used for sending responses back to the client. + /// The context of the server-side call handler being invoked. + /// A task indicating completion of the handler. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StreamAssist(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListAssistants(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for AssistantService + public partial class AssistantServiceClient : grpc::ClientBase + { + /// Creates a new client for AssistantService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public AssistantServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for AssistantService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public AssistantServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected AssistantServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected AssistantServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Assists the user with a query in a streaming fashion. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncServerStreamingCall StreamAssist(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StreamAssist(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Assists the user with a query in a streaming fashion. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncServerStreamingCall StreamAssist(global::Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncServerStreamingCall(__Method_StreamAssist, null, options, request); + } + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant CreateAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateAssistant(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant CreateAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateAssistant, null, options, request); + } + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateAssistantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateAssistant, null, options, request); + } + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteAssistant(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteAssistant, null, options, request); + } + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteAssistantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteAssistant, null, options, request); + } + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant UpdateAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateAssistant(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant UpdateAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateAssistant, null, options, request); + } + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateAssistantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant] + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateAssistant, null, options, request); + } + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant GetAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAssistant(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.Assistant GetAssistant(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetAssistant, null, options, request); + } + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetAssistantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetAssistantAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAssistantRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetAssistant, null, options, request); + } + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsResponse ListAssistants(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAssistants(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsResponse ListAssistants(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListAssistants, null, options, request); + } + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAssistantsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListAssistantsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under + /// an [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListAssistantsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListAssistantsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListAssistants, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override AssistantServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new AssistantServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(AssistantServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_StreamAssist, serviceImpl.StreamAssist) + .AddMethod(__Method_CreateAssistant, serviceImpl.CreateAssistant) + .AddMethod(__Method_DeleteAssistant, serviceImpl.DeleteAssistant) + .AddMethod(__Method_UpdateAssistant, serviceImpl.UpdateAssistant) + .AddMethod(__Method_GetAssistant, serviceImpl.GetAssistant) + .AddMethod(__Method_ListAssistants, serviceImpl.ListAssistants).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, AssistantServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_StreamAssist, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.StreamAssist)); + serviceBinder.AddMethod(__Method_CreateAssistant, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateAssistant)); + serviceBinder.AddMethod(__Method_DeleteAssistant, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteAssistant)); + serviceBinder.AddMethod(__Method_UpdateAssistant, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateAssistant)); + serviceBinder.AddMethod(__Method_GetAssistant, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetAssistant)); + serviceBinder.AddMethod(__Method_ListAssistants, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListAssistants)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceResourceNames.g.cs new file mode 100644 index 000000000000..16235edf9be2 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/AssistantServiceResourceNames.g.cs @@ -0,0 +1,104 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class StreamAssistRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AssistantName AssistantName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AssistantName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public SessionName SessionAsSessionName + { + get => string.IsNullOrEmpty(Session) ? null : SessionName.Parse(Session, allowUnparsed: true); + set => Session = value?.ToString() ?? ""; + } + } + + public partial class StreamAssistResponse + { + public partial class Types + { + public partial class SessionInfo + { + /// + /// -typed view over the resource name property. + /// + public SessionName SessionAsSessionName + { + get => string.IsNullOrEmpty(Session) ? null : SessionName.Parse(Session, allowUnparsed: true); + set => Session = value?.ToString() ?? ""; + } + } + } + } + + public partial class CreateAssistantRequest + { + /// -typed view over the resource name property. + public EngineName ParentAsEngineName + { + get => string.IsNullOrEmpty(Parent) ? null : EngineName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DeleteAssistantRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AssistantName AssistantName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AssistantName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class GetAssistantRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::AssistantName AssistantName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::AssistantName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListAssistantsRequest + { + /// -typed view over the resource name property. + public EngineName ParentAsEngineName + { + get => string.IsNullOrEmpty(Parent) ? null : EngineName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Chunk.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Chunk.g.cs index 98595654f042..7d8dd1078d54 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Chunk.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Chunk.g.cs @@ -27,7 +27,7 @@ static ChunkReflection() { "Ci9nb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9jaHVuay5w", "cm90bxIjZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEaH2dv", "b2dsZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aGWdvb2dsZS9hcGkvcmVz", - "b3VyY2UucHJvdG8aHGdvb2dsZS9wcm90b2J1Zi9zdHJ1Y3QucHJvdG8i+AcK", + "b3VyY2UucHJvdG8aHGdvb2dsZS9wcm90b2J1Zi9zdHJ1Y3QucHJvdG8iswwK", "BUNodW5rEgwKBG5hbWUYASABKAkSCgoCaWQYAiABKAkSDwoHY29udGVudBgD", "IAEoCRIhCg9yZWxldmFuY2Vfc2NvcmUYCCABKAFCA+BBA0gAiAEBElYKEWRv", "Y3VtZW50X21ldGFkYXRhGAUgASgLMjsuZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", @@ -36,33 +36,48 @@ static ChunkReflection() { "dEID4EEDEkYKCXBhZ2Vfc3BhbhgGIAEoCzIzLmdvb2dsZS5jbG91ZC5kaXNj", "b3ZlcnllbmdpbmUudjFiZXRhLkNodW5rLlBhZ2VTcGFuElUKDmNodW5rX21l", "dGFkYXRhGAcgASgLMjguZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52", - "MWJldGEuQ2h1bmsuQ2h1bmtNZXRh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+ "ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUu", + "Q2xvdWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxE", + "aXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292", + "ZXJ5RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Parser, new[]{ "Name", "Id", "Content", "RelevanceScore", "DocumentMetadata", "DerivedStructData", "PageSpan", "ChunkMetadata" }, new[]{ "RelevanceScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata.Parser, new[]{ "Uri", "Title", "StructData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Parser, new[]{ "Name", "Id", "Content", "RelevanceScore", "DocumentMetadata", "DerivedStructData", "PageSpan", "ChunkMetadata", "DataUrls", "AnnotationContents", "AnnotationMetadata" }, new[]{ "RelevanceScore" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.DocumentMetadata.Parser, new[]{ "Uri", "Title", "MimeType", "StructData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.PageSpan), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.PageSpan.Parser, new[]{ "PageStart", "PageEnd" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.ChunkMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.ChunkMetadata.Parser, new[]{ "PreviousChunks", "NextChunks" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.ChunkMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.ChunkMetadata.Parser, new[]{ "PreviousChunks", "NextChunks" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent.Parser, new[]{ "StructureType", "Content" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.AnnotationMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.AnnotationMetadata.Parser, new[]{ "StructuredContent", "ImageId" }, null, null, null, null)}) })); } #endregion @@ -118,6 +133,9 @@ public Chunk(Chunk other) : this() { derivedStructData_ = other.derivedStructData_ != null ? other.derivedStructData_.Clone() : null; pageSpan_ = other.pageSpan_ != null ? other.pageSpan_.Clone() : null; chunkMetadata_ = other.chunkMetadata_ != null ? other.chunkMetadata_.Clone() : null; + dataUrls_ = other.dataUrls_.Clone(); + annotationContents_ = other.annotationContents_.Clone(); + annotationMetadata_ = other.annotationMetadata_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -186,7 +204,8 @@ public string Content { /// Output only. Represents the relevance score based on similarity. /// Higher score indicates higher chunk relevance. /// The score is in range [-1.0, 1.0]. - /// Only populated on [SearchService.SearchResponse][]. + /// Only populated on + /// [SearchResponse][google.cloud.discoveryengine.v1beta.SearchResponse]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -271,6 +290,53 @@ public void ClearRelevanceScore() { } } + /// Field number for the "data_urls" field. + public const int DataUrlsFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_dataUrls_codec + = pb::FieldCodec.ForString(74); + private readonly pbc::RepeatedField dataUrls_ = new pbc::RepeatedField(); + /// + /// Output only. Image Data URLs if the current chunk contains images. + /// Data URLs are composed of four parts: a prefix (data:), a MIME type + /// indicating the type of data, an optional base64 token if non-textual, + /// and the data itself: + /// data:[<mediatype>][;base64],<data> + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DataUrls { + get { return dataUrls_; } + } + + /// Field number for the "annotation_contents" field. + public const int AnnotationContentsFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_annotationContents_codec + = pb::FieldCodec.ForString(90); + private readonly pbc::RepeatedField annotationContents_ = new pbc::RepeatedField(); + /// + /// Output only. Annotation contents if the current chunk contains annotations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AnnotationContents { + get { return annotationContents_; } + } + + /// Field number for the "annotation_metadata" field. + public const int AnnotationMetadataFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_annotationMetadata_codec + = pb::FieldCodec.ForMessage(98, global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.AnnotationMetadata.Parser); + private readonly pbc::RepeatedField annotationMetadata_ = new pbc::RepeatedField(); + /// + /// Output only. The annotation metadata includes structured content in the + /// current chunk. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AnnotationMetadata { + get { return annotationMetadata_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -294,6 +360,9 @@ public bool Equals(Chunk other) { if (!object.Equals(DerivedStructData, other.DerivedStructData)) return false; if (!object.Equals(PageSpan, other.PageSpan)) return false; if (!object.Equals(ChunkMetadata, other.ChunkMetadata)) return false; + if(!dataUrls_.Equals(other.dataUrls_)) return false; + if(!annotationContents_.Equals(other.annotationContents_)) return false; + if(!annotationMetadata_.Equals(other.annotationMetadata_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -309,6 +378,9 @@ public override int GetHashCode() { if (derivedStructData_ != null) hash ^= DerivedStructData.GetHashCode(); if (pageSpan_ != null) hash ^= PageSpan.GetHashCode(); if (chunkMetadata_ != null) hash ^= ChunkMetadata.GetHashCode(); + hash ^= dataUrls_.GetHashCode(); + hash ^= annotationContents_.GetHashCode(); + hash ^= annotationMetadata_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -359,6 +431,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(65); output.WriteDouble(RelevanceScore); } + dataUrls_.WriteTo(output, _repeated_dataUrls_codec); + annotationContents_.WriteTo(output, _repeated_annotationContents_codec); + annotationMetadata_.WriteTo(output, _repeated_annotationMetadata_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -401,6 +476,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(65); output.WriteDouble(RelevanceScore); } + dataUrls_.WriteTo(ref output, _repeated_dataUrls_codec); + annotationContents_.WriteTo(ref output, _repeated_annotationContents_codec); + annotationMetadata_.WriteTo(ref output, _repeated_annotationMetadata_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -435,6 +513,9 @@ public int CalculateSize() { if (chunkMetadata_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChunkMetadata); } + size += dataUrls_.CalculateSize(_repeated_dataUrls_codec); + size += annotationContents_.CalculateSize(_repeated_annotationContents_codec); + size += annotationMetadata_.CalculateSize(_repeated_annotationMetadata_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -483,6 +564,9 @@ public void MergeFrom(Chunk other) { } ChunkMetadata.MergeFrom(other.ChunkMetadata); } + dataUrls_.Add(other.dataUrls_); + annotationContents_.Add(other.annotationContents_); + annotationMetadata_.Add(other.annotationMetadata_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -546,6 +630,18 @@ public void MergeFrom(pb::CodedInputStream input) { RelevanceScore = input.ReadDouble(); break; } + case 74: { + dataUrls_.AddEntriesFrom(input, _repeated_dataUrls_codec); + break; + } + case 90: { + annotationContents_.AddEntriesFrom(input, _repeated_annotationContents_codec); + break; + } + case 98: { + annotationMetadata_.AddEntriesFrom(input, _repeated_annotationMetadata_codec); + break; + } } } #endif @@ -609,6 +705,18 @@ public void MergeFrom(pb::CodedInputStream input) { RelevanceScore = input.ReadDouble(); break; } + case 74: { + dataUrls_.AddEntriesFrom(ref input, _repeated_dataUrls_codec); + break; + } + case 90: { + annotationContents_.AddEntriesFrom(ref input, _repeated_annotationContents_codec); + break; + } + case 98: { + annotationMetadata_.AddEntriesFrom(ref input, _repeated_annotationMetadata_codec); + break; + } } } } @@ -619,6 +727,28 @@ public void MergeFrom(pb::CodedInputStream input) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { + /// + /// Defines the types of the structured content that can be extracted. + /// + public enum StructureType { + /// + /// Default value. + /// + [pbr::OriginalName("STRUCTURE_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Shareholder structure. + /// + [pbr::OriginalName("SHAREHOLDER_STRUCTURE")] ShareholderStructure = 1, + /// + /// Signature structure. + /// + [pbr::OriginalName("SIGNATURE_STRUCTURE")] SignatureStructure = 2, + /// + /// Checkbox structure. + /// + [pbr::OriginalName("CHECKBOX_STRUCTURE")] CheckboxStructure = 3, + } + /// /// Document metadata contains the information of the document of the current /// chunk. @@ -660,6 +790,7 @@ public DocumentMetadata() { public DocumentMetadata(DocumentMetadata other) : this() { uri_ = other.uri_; title_ = other.title_; + mimeType_ = other.mimeType_; structData_ = other.structData_ != null ? other.structData_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -700,6 +831,22 @@ public string Title { } } + /// Field number for the "mime_type" field. + public const int MimeTypeFieldNumber = 4; + private string mimeType_ = ""; + /// + /// The mime type of the document. + /// https://www.iana.org/assignments/media-types/media-types.xhtml. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MimeType { + get { return mimeType_; } + set { + mimeType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Field number for the "struct_data" field. public const int StructDataFieldNumber = 3; private global::Google.Protobuf.WellKnownTypes.Struct structData_; @@ -735,6 +882,7 @@ public bool Equals(DocumentMetadata other) { } if (Uri != other.Uri) return false; if (Title != other.Title) return false; + if (MimeType != other.MimeType) return false; if (!object.Equals(StructData, other.StructData)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -745,6 +893,7 @@ public override int GetHashCode() { int hash = 1; if (Uri.Length != 0) hash ^= Uri.GetHashCode(); if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (MimeType.Length != 0) hash ^= MimeType.GetHashCode(); if (structData_ != null) hash ^= StructData.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -776,6 +925,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(StructData); } + if (MimeType.Length != 0) { + output.WriteRawTag(34); + output.WriteString(MimeType); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -798,6 +951,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(StructData); } + if (MimeType.Length != 0) { + output.WriteRawTag(34); + output.WriteString(MimeType); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -814,6 +971,9 @@ public int CalculateSize() { if (Title.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); } + if (MimeType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MimeType); + } if (structData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructData); } @@ -835,6 +995,9 @@ public void MergeFrom(DocumentMetadata other) { if (other.Title.Length != 0) { Title = other.Title; } + if (other.MimeType.Length != 0) { + MimeType = other.MimeType; + } if (other.structData_ != null) { if (structData_ == null) { StructData = new global::Google.Protobuf.WellKnownTypes.Struct(); @@ -875,6 +1038,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(StructData); break; } + case 34: { + MimeType = input.ReadString(); + break; + } } } #endif @@ -909,6 +1076,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(StructData); break; } + case 34: { + MimeType = input.ReadString(); + break; + } } } } @@ -1392,6 +1563,504 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// The structured content information. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StructuredContent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StructuredContent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StructuredContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StructuredContent(StructuredContent other) : this() { + structureType_ = other.structureType_; + content_ = other.content_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StructuredContent Clone() { + return new StructuredContent(this); + } + + /// Field number for the "structure_type" field. + public const int StructureTypeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType structureType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType.Unspecified; + /// + /// Output only. The structure type of the structured content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType StructureType { + get { return structureType_; } + set { + structureType_ = value; + } + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 2; + private string content_ = ""; + /// + /// Output only. The content of the structured content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StructuredContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StructuredContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StructureType != other.StructureType) return false; + if (Content != other.Content) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (StructureType != global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType.Unspecified) hash ^= StructureType.GetHashCode(); + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (StructureType != global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) StructureType); + } + if (Content.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Content); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StructureType != global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) StructureType); + } + if (Content.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Content); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (StructureType != global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StructureType); + } + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StructuredContent other) { + if (other == null) { + return; + } + if (other.StructureType != global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType.Unspecified) { + StructureType = other.StructureType; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StructureType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType) input.ReadEnum(); + break; + } + case 18: { + Content = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StructureType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructureType) input.ReadEnum(); + break; + } + case 18: { + Content = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// The annotation metadata includes structured content in the current chunk. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnnotationMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnnotationMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Descriptor.NestedTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotationMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotationMetadata(AnnotationMetadata other) : this() { + structuredContent_ = other.structuredContent_ != null ? other.structuredContent_.Clone() : null; + imageId_ = other.imageId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnnotationMetadata Clone() { + return new AnnotationMetadata(this); + } + + /// Field number for the "structured_content" field. + public const int StructuredContentFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent structuredContent_; + /// + /// Output only. The structured content information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent StructuredContent { + get { return structuredContent_; } + set { + structuredContent_ = value; + } + } + + /// Field number for the "image_id" field. + public const int ImageIdFieldNumber = 2; + private string imageId_ = ""; + /// + /// Output only. Image id is provided if the structured content is based on + /// an image. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ImageId { + get { return imageId_; } + set { + imageId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnnotationMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnnotationMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(StructuredContent, other.StructuredContent)) return false; + if (ImageId != other.ImageId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (structuredContent_ != null) hash ^= StructuredContent.GetHashCode(); + if (ImageId.Length != 0) hash ^= ImageId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (structuredContent_ != null) { + output.WriteRawTag(10); + output.WriteMessage(StructuredContent); + } + if (ImageId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ImageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (structuredContent_ != null) { + output.WriteRawTag(10); + output.WriteMessage(StructuredContent); + } + if (ImageId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ImageId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (structuredContent_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructuredContent); + } + if (ImageId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnnotationMetadata other) { + if (other == null) { + return; + } + if (other.structuredContent_ != null) { + if (structuredContent_ == null) { + StructuredContent = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent(); + } + StructuredContent.MergeFrom(other.StructuredContent); + } + if (other.ImageId.Length != 0) { + ImageId = other.ImageId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (structuredContent_ == null) { + StructuredContent = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent(); + } + input.ReadMessage(StructuredContent); + break; + } + case 18: { + ImageId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (structuredContent_ == null) { + StructuredContent = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk.Types.StructuredContent(); + } + input.ReadMessage(StructuredContent); + break; + } + case 18: { + ImageId = input.ReadString(); + break; + } + } + } + } + #endif + + } + } #endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigService.g.cs new file mode 100644 index 000000000000..318031f3cf4c --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigService.g.cs @@ -0,0 +1,2511 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/cmek_config_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/cmek_config_service.proto + public static partial class CmekConfigServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/cmek_config_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CmekConfigServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cj1nb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9jbWVrX2Nv", + "bmZpZ19zZXJ2aWNlLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5n", + "aW5lLnYxYmV0YRocZ29vZ2xlL2FwaS9hbm5vdGF0aW9ucy5wcm90bxoXZ29v", + "Z2xlL2FwaS9jbGllbnQucHJvdG8aH2dvb2dsZS9hcGkvZmllbGRfYmVoYXZp", + "b3IucHJvdG8aGWdvb2dsZS9hcGkvcmVzb3VyY2UucHJvdG8a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8qfRrPAcpBHmRpc2NvdmVyeWVuZ2luZS5n", + "b29nbGVhcGlzLmNvbdJBqgFodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9h", + "dXRoL2Nsb3VkLXBsYXRmb3JtLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29t", + "L2F1dGgvZGlzY292ZXJ5ZW5naW5lLnJlYWR3cml0ZSxodHRwczovL3d3dy5n", + "b29nbGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5zZXJ2aW5nLnJl", + "YWR3cml0ZUKdAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUu", + "djFiZXRhQhZDbWVrQ29uZmlnU2VydmljZVByb3RvUAFaUWNsb3VkLmdvb2ds", + "ZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3Zlcnll", + "bmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoC", + "I0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xl", + "XENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3Vk", + "OjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest.Parser, new[]{ "Config", "SetDefault" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey), global::Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey.Parser, new[]{ "KmsKey" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Parser, new[]{ "Name", "KmsKey", "KmsKeyVersion", "State", "IsDefault", "LastRotationTimestampMicros", "SingleRegionKeys", "NotebooklmState" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigMetadata.Parser, new[]{ "CreateTime", "UpdateTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest.Parser, new[]{ "Parent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse.Parser, new[]{ "CmekConfigs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigMetadata.Parser, new[]{ "CreateTime", "UpdateTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for UpdateCmekConfig method. + /// rpc. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateCmekConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateCmekConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateCmekConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateCmekConfigRequest(UpdateCmekConfigRequest other) : this() { + config_ = other.config_ != null ? other.config_.Clone() : null; + setDefault_ = other.setDefault_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateCmekConfigRequest Clone() { + return new UpdateCmekConfigRequest(this); + } + + /// Field number for the "config" field. + public const int ConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig config_; + /// + /// Required. The CmekConfig resource. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig Config { + get { return config_; } + set { + config_ = value; + } + } + + /// Field number for the "set_default" field. + public const int SetDefaultFieldNumber = 2; + private bool setDefault_; + /// + /// Set the following CmekConfig as the default to be used for child + /// resources if one is not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SetDefault { + get { return setDefault_; } + set { + setDefault_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateCmekConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateCmekConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Config, other.Config)) return false; + if (SetDefault != other.SetDefault) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (config_ != null) hash ^= Config.GetHashCode(); + if (SetDefault != false) hash ^= SetDefault.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (config_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Config); + } + if (SetDefault != false) { + output.WriteRawTag(16); + output.WriteBool(SetDefault); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (config_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Config); + } + if (SetDefault != false) { + output.WriteRawTag(16); + output.WriteBool(SetDefault); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (config_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Config); + } + if (SetDefault != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateCmekConfigRequest other) { + if (other == null) { + return; + } + if (other.config_ != null) { + if (config_ == null) { + Config = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + Config.MergeFrom(other.Config); + } + if (other.SetDefault != false) { + SetDefault = other.SetDefault; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (config_ == null) { + Config = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(Config); + break; + } + case 16: { + SetDefault = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (config_ == null) { + Config = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(Config); + break; + } + case 16: { + SetDefault = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for GetCmekConfigRequest method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetCmekConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetCmekConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCmekConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCmekConfigRequest(GetCmekConfigRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetCmekConfigRequest Clone() { + return new GetCmekConfigRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetCmekConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetCmekConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetCmekConfigRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata for single-regional CMEKs. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SingleRegionKey : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SingleRegionKey()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SingleRegionKey() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SingleRegionKey(SingleRegionKey other) : this() { + kmsKey_ = other.kmsKey_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SingleRegionKey Clone() { + return new SingleRegionKey(this); + } + + /// Field number for the "kms_key" field. + public const int KmsKeyFieldNumber = 1; + private string kmsKey_ = ""; + /// + /// Required. Single-regional kms key resource name which will be used to + /// encrypt resources + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKey { + get { return kmsKey_; } + set { + kmsKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SingleRegionKey); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SingleRegionKey other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (KmsKey != other.KmsKey) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (KmsKey.Length != 0) hash ^= KmsKey.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (KmsKey.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KmsKey); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (KmsKey.Length != 0) { + output.WriteRawTag(10); + output.WriteString(KmsKey); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (KmsKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KmsKey); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SingleRegionKey other) { + if (other == null) { + return; + } + if (other.KmsKey.Length != 0) { + KmsKey = other.KmsKey; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + KmsKey = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + KmsKey = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Configurations used to enable CMEK data encryption with Cloud KMS keys. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CmekConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CmekConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CmekConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CmekConfig(CmekConfig other) : this() { + name_ = other.name_; + kmsKey_ = other.kmsKey_; + kmsKeyVersion_ = other.kmsKeyVersion_; + state_ = other.state_; + isDefault_ = other.isDefault_; + lastRotationTimestampMicros_ = other.lastRotationTimestampMicros_; + singleRegionKeys_ = other.singleRegionKeys_.Clone(); + notebooklmState_ = other.notebooklmState_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CmekConfig Clone() { + return new CmekConfig(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the CmekConfig of the form + /// `projects/{project}/locations/{location}/cmekConfig` or + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "kms_key" field. + public const int KmsKeyFieldNumber = 2; + private string kmsKey_ = ""; + /// + /// Required. KMS key resource name which will be used to encrypt resources + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKey { + get { return kmsKey_; } + set { + kmsKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "kms_key_version" field. + public const int KmsKeyVersionFieldNumber = 6; + private string kmsKeyVersion_ = ""; + /// + /// Output only. KMS key version resource name which will be used to encrypt + /// resources + /// `<kms_key>/cryptoKeyVersions/{keyVersion}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKeyVersion { + get { return kmsKeyVersion_; } + set { + kmsKeyVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State state_ = global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State.Unspecified; + /// + /// Output only. The states of the CmekConfig. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "is_default" field. + public const int IsDefaultFieldNumber = 4; + private bool isDefault_; + /// + /// Output only. The default CmekConfig for the Customer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsDefault { + get { return isDefault_; } + set { + isDefault_ = value; + } + } + + /// Field number for the "last_rotation_timestamp_micros" field. + public const int LastRotationTimestampMicrosFieldNumber = 5; + private long lastRotationTimestampMicros_; + /// + /// Output only. The timestamp of the last key rotation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastRotationTimestampMicros { + get { return lastRotationTimestampMicros_; } + set { + lastRotationTimestampMicros_ = value; + } + } + + /// Field number for the "single_region_keys" field. + public const int SingleRegionKeysFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_singleRegionKeys_codec + = pb::FieldCodec.ForMessage(58, global::Google.Cloud.DiscoveryEngine.V1Beta.SingleRegionKey.Parser); + private readonly pbc::RepeatedField singleRegionKeys_ = new pbc::RepeatedField(); + /// + /// Optional. Single-regional CMEKs that are required for some VAIS features. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SingleRegionKeys { + get { return singleRegionKeys_; } + } + + /// Field number for the "notebooklm_state" field. + public const int NotebooklmStateFieldNumber = 8; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState notebooklmState_ = global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState.Unspecified; + /// + /// Output only. Whether the NotebookLM Corpus is ready to be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState NotebooklmState { + get { return notebooklmState_; } + set { + notebooklmState_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CmekConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CmekConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (KmsKey != other.KmsKey) return false; + if (KmsKeyVersion != other.KmsKeyVersion) return false; + if (State != other.State) return false; + if (IsDefault != other.IsDefault) return false; + if (LastRotationTimestampMicros != other.LastRotationTimestampMicros) return false; + if(!singleRegionKeys_.Equals(other.singleRegionKeys_)) return false; + if (NotebooklmState != other.NotebooklmState) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (KmsKey.Length != 0) hash ^= KmsKey.GetHashCode(); + if (KmsKeyVersion.Length != 0) hash ^= KmsKeyVersion.GetHashCode(); + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State.Unspecified) hash ^= State.GetHashCode(); + if (IsDefault != false) hash ^= IsDefault.GetHashCode(); + if (LastRotationTimestampMicros != 0L) hash ^= LastRotationTimestampMicros.GetHashCode(); + hash ^= singleRegionKeys_.GetHashCode(); + if (NotebooklmState != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState.Unspecified) hash ^= NotebooklmState.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (KmsKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(KmsKey); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) State); + } + if (IsDefault != false) { + output.WriteRawTag(32); + output.WriteBool(IsDefault); + } + if (LastRotationTimestampMicros != 0L) { + output.WriteRawTag(40); + output.WriteInt64(LastRotationTimestampMicros); + } + if (KmsKeyVersion.Length != 0) { + output.WriteRawTag(50); + output.WriteString(KmsKeyVersion); + } + singleRegionKeys_.WriteTo(output, _repeated_singleRegionKeys_codec); + if (NotebooklmState != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState.Unspecified) { + output.WriteRawTag(64); + output.WriteEnum((int) NotebooklmState); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (KmsKey.Length != 0) { + output.WriteRawTag(18); + output.WriteString(KmsKey); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) State); + } + if (IsDefault != false) { + output.WriteRawTag(32); + output.WriteBool(IsDefault); + } + if (LastRotationTimestampMicros != 0L) { + output.WriteRawTag(40); + output.WriteInt64(LastRotationTimestampMicros); + } + if (KmsKeyVersion.Length != 0) { + output.WriteRawTag(50); + output.WriteString(KmsKeyVersion); + } + singleRegionKeys_.WriteTo(ref output, _repeated_singleRegionKeys_codec); + if (NotebooklmState != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState.Unspecified) { + output.WriteRawTag(64); + output.WriteEnum((int) NotebooklmState); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (KmsKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KmsKey); + } + if (KmsKeyVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KmsKeyVersion); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); + } + if (IsDefault != false) { + size += 1 + 1; + } + if (LastRotationTimestampMicros != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastRotationTimestampMicros); + } + size += singleRegionKeys_.CalculateSize(_repeated_singleRegionKeys_codec); + if (NotebooklmState != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NotebooklmState); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CmekConfig other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.KmsKey.Length != 0) { + KmsKey = other.KmsKey; + } + if (other.KmsKeyVersion.Length != 0) { + KmsKeyVersion = other.KmsKeyVersion; + } + if (other.State != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State.Unspecified) { + State = other.State; + } + if (other.IsDefault != false) { + IsDefault = other.IsDefault; + } + if (other.LastRotationTimestampMicros != 0L) { + LastRotationTimestampMicros = other.LastRotationTimestampMicros; + } + singleRegionKeys_.Add(other.singleRegionKeys_); + if (other.NotebooklmState != global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState.Unspecified) { + NotebooklmState = other.NotebooklmState; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + KmsKey = input.ReadString(); + break; + } + case 24: { + State = (global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State) input.ReadEnum(); + break; + } + case 32: { + IsDefault = input.ReadBool(); + break; + } + case 40: { + LastRotationTimestampMicros = input.ReadInt64(); + break; + } + case 50: { + KmsKeyVersion = input.ReadString(); + break; + } + case 58: { + singleRegionKeys_.AddEntriesFrom(input, _repeated_singleRegionKeys_codec); + break; + } + case 64: { + NotebooklmState = (global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + KmsKey = input.ReadString(); + break; + } + case 24: { + State = (global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.State) input.ReadEnum(); + break; + } + case 32: { + IsDefault = input.ReadBool(); + break; + } + case 40: { + LastRotationTimestampMicros = input.ReadInt64(); + break; + } + case 50: { + KmsKeyVersion = input.ReadString(); + break; + } + case 58: { + singleRegionKeys_.AddEntriesFrom(ref input, _repeated_singleRegionKeys_codec); + break; + } + case 64: { + NotebooklmState = (global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Types.NotebookLMState) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CmekConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// States of the CmekConfig. + /// + public enum State { + /// + /// The CmekConfig state is unknown. + /// + [pbr::OriginalName("STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The CmekConfig is creating. + /// + [pbr::OriginalName("CREATING")] Creating = 1, + /// + /// The CmekConfig can be used with DataStores. + /// + [pbr::OriginalName("ACTIVE")] Active = 2, + /// + /// The CmekConfig is unavailable, most likely due to the KMS Key being + /// revoked. + /// + [pbr::OriginalName("KEY_ISSUE")] KeyIssue = 3, + /// + /// The CmekConfig is deleting. + /// + [pbr::OriginalName("DELETING")] Deleting = 4, + /// + /// The CmekConfig deletion process failed. + /// + [pbr::OriginalName("DELETE_FAILED")] DeleteFailed = 7, + /// + /// The CmekConfig is not usable, most likely due to some internal issue. + /// + [pbr::OriginalName("UNUSABLE")] Unusable = 5, + /// + /// The KMS key version is being rotated. + /// + [pbr::OriginalName("ACTIVE_ROTATING")] ActiveRotating = 6, + /// + /// The KMS key is soft deleted. Some cleanup policy will eventually be + /// applied. + /// + [pbr::OriginalName("DELETED")] Deleted = 8, + /// + /// The KMS key is expired, meaning the key has been disabled for 30+ days. + /// The customer can call DeleteCmekConfig to change the state to DELETED. + /// + [pbr::OriginalName("EXPIRED")] Expired = 9, + } + + /// + /// States of NotebookLM. + /// + public enum NotebookLMState { + /// + /// The NotebookLM state is unknown. + /// + [pbr::OriginalName("NOTEBOOK_LM_STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The NotebookLM is not ready. + /// + [pbr::OriginalName("NOTEBOOK_LM_NOT_READY")] NotebookLmNotReady = 1, + /// + /// The NotebookLM is ready to be used. + /// + [pbr::OriginalName("NOTEBOOK_LM_READY")] NotebookLmReady = 2, + /// + /// The NotebookLM is not enabled. + /// + [pbr::OriginalName("NOTEBOOK_LM_NOT_ENABLED")] NotebookLmNotEnabled = 3, + } + + } + #endregion + + } + + /// + /// Metadata related to the progress of the + /// [CmekConfigService.UpdateCmekConfig][google.cloud.discoveryengine.v1beta.CmekConfigService.UpdateCmekConfig] + /// operation. This will be returned by the google.longrunning.Operation.metadata + /// field. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateCmekConfigMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateCmekConfigMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateCmekConfigMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateCmekConfigMetadata(UpdateCmekConfigMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateCmekConfigMetadata Clone() { + return new UpdateCmekConfigMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Operation create time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Operation last update time. If the operation is done, this is also the + /// finish time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateCmekConfigMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateCmekConfigMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateCmekConfigMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListCmekConfigsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListCmekConfigsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListCmekConfigsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListCmekConfigsRequest(ListCmekConfigsRequest other) : this() { + parent_ = other.parent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListCmekConfigsRequest Clone() { + return new ListCmekConfigsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListCmekConfigsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListCmekConfigsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListCmekConfigsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListCmekConfigsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListCmekConfigsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListCmekConfigsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListCmekConfigsResponse(ListCmekConfigsResponse other) : this() { + cmekConfigs_ = other.cmekConfigs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListCmekConfigsResponse Clone() { + return new ListCmekConfigsResponse(this); + } + + /// Field number for the "cmek_configs" field. + public const int CmekConfigsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_cmekConfigs_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Parser); + private readonly pbc::RepeatedField cmekConfigs_ = new pbc::RepeatedField(); + /// + /// All the customer's + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CmekConfigs { + get { return cmekConfigs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListCmekConfigsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListCmekConfigsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!cmekConfigs_.Equals(other.cmekConfigs_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= cmekConfigs_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + cmekConfigs_.WriteTo(output, _repeated_cmekConfigs_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + cmekConfigs_.WriteTo(ref output, _repeated_cmekConfigs_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += cmekConfigs_.CalculateSize(_repeated_cmekConfigs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListCmekConfigsResponse other) { + if (other == null) { + return; + } + cmekConfigs_.Add(other.cmekConfigs_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + cmekConfigs_.AddEntriesFrom(input, _repeated_cmekConfigs_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + cmekConfigs_.AddEntriesFrom(ref input, _repeated_cmekConfigs_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteCmekConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteCmekConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteCmekConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteCmekConfigRequest(DeleteCmekConfigRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteCmekConfigRequest Clone() { + return new DeleteCmekConfigRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteCmekConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteCmekConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteCmekConfigRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata related to the progress of the + /// [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig] + /// operation. This will be returned by the google.longrunning.Operation.metadata + /// field. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteCmekConfigMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteCmekConfigMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteCmekConfigMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteCmekConfigMetadata(DeleteCmekConfigMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteCmekConfigMetadata Clone() { + return new DeleteCmekConfigMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Operation create time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Operation last update time. If the operation is done, this is also the + /// finish time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteCmekConfigMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteCmekConfigMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteCmekConfigMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceClient.g.cs new file mode 100644 index 000000000000..f9918b4fabce --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceClient.g.cs @@ -0,0 +1,1069 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using lro = Google.LongRunning; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; +using wkt = Google.Protobuf.WellKnownTypes; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class CmekConfigServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static CmekConfigServiceSettings GetDefault() => new CmekConfigServiceSettings(); + + /// Constructs a new object with default settings. + public CmekConfigServiceSettings() + { + } + + private CmekConfigServiceSettings(CmekConfigServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + UpdateCmekConfigSettings = existing.UpdateCmekConfigSettings; + UpdateCmekConfigOperationsSettings = existing.UpdateCmekConfigOperationsSettings.Clone(); + GetCmekConfigSettings = existing.GetCmekConfigSettings; + ListCmekConfigsSettings = existing.ListCmekConfigsSettings; + DeleteCmekConfigSettings = existing.DeleteCmekConfigSettings; + DeleteCmekConfigOperationsSettings = existing.DeleteCmekConfigOperationsSettings.Clone(); + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(CmekConfigServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// CmekConfigServiceClient.UpdateCmekConfig and CmekConfigServiceClient.UpdateCmekConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings UpdateCmekConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// Long Running Operation settings for calls to CmekConfigServiceClient.UpdateCmekConfig and + /// CmekConfigServiceClient.UpdateCmekConfigAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings UpdateCmekConfigOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// CmekConfigServiceClient.GetCmekConfig and CmekConfigServiceClient.GetCmekConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings GetCmekConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// CmekConfigServiceClient.ListCmekConfigs and CmekConfigServiceClient.ListCmekConfigsAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ListCmekConfigsSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// CmekConfigServiceClient.DeleteCmekConfig and CmekConfigServiceClient.DeleteCmekConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings DeleteCmekConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// Long Running Operation settings for calls to CmekConfigServiceClient.DeleteCmekConfig and + /// CmekConfigServiceClient.DeleteCmekConfigAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings DeleteCmekConfigOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public CmekConfigServiceSettings Clone() => new CmekConfigServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, endpoint + /// etc. + /// + public sealed partial class CmekConfigServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public CmekConfigServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public CmekConfigServiceClientBuilder() : base(CmekConfigServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref CmekConfigServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override CmekConfigServiceClient Build() + { + CmekConfigServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private CmekConfigServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return CmekConfigServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return CmekConfigServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => CmekConfigServiceClient.ChannelPool; + } + + /// CmekConfigService client wrapper, for convenient use. + /// + /// Service for managing CMEK related tasks + /// + public abstract partial class CmekConfigServiceClient + { + /// + /// The default endpoint for the CmekConfigService service, which is a host of "discoveryengine.googleapis.com" + /// and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default CmekConfigService scopes. + /// + /// The default CmekConfigService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(CmekConfigService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new CmekConfigServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// The created . + public static CmekConfigServiceClient Create() => new CmekConfigServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static CmekConfigServiceClient Create(grpccore::CallInvoker callInvoker, CmekConfigServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + CmekConfigService.CmekConfigServiceClient grpcClient = new CmekConfigService.CmekConfigServiceClient(callInvoker); + return new CmekConfigServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC CmekConfigService client + public virtual CmekConfigService.CmekConfigServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation UpdateCmekConfig(UpdateCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> UpdateCmekConfigAsync(UpdateCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> UpdateCmekConfigAsync(UpdateCmekConfigRequest request, st::CancellationToken cancellationToken) => + UpdateCmekConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for UpdateCmekConfig. + public virtual lro::OperationsClient UpdateCmekConfigOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of UpdateCmekConfig. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceUpdateCmekConfig(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), UpdateCmekConfigOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// UpdateCmekConfig. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceUpdateCmekConfigAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), UpdateCmekConfigOperationsClient, callSettings); + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// + /// Required. The CmekConfig resource. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation UpdateCmekConfig(CmekConfig config, gaxgrpc::CallSettings callSettings = null) => + UpdateCmekConfig(new UpdateCmekConfigRequest + { + Config = gax::GaxPreconditions.CheckNotNull(config, nameof(config)), + }, callSettings); + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// + /// Required. The CmekConfig resource. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> UpdateCmekConfigAsync(CmekConfig config, gaxgrpc::CallSettings callSettings = null) => + UpdateCmekConfigAsync(new UpdateCmekConfigRequest + { + Config = gax::GaxPreconditions.CheckNotNull(config, nameof(config)), + }, callSettings); + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// + /// Required. The CmekConfig resource. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> UpdateCmekConfigAsync(CmekConfig config, st::CancellationToken cancellationToken) => + UpdateCmekConfigAsync(config, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CmekConfig GetCmekConfig(GetCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetCmekConfigAsync(GetCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetCmekConfigAsync(GetCmekConfigRequest request, st::CancellationToken cancellationToken) => + GetCmekConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CmekConfig GetCmekConfig(string name, gaxgrpc::CallSettings callSettings = null) => + GetCmekConfig(new GetCmekConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetCmekConfigAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetCmekConfigAsync(new GetCmekConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetCmekConfigAsync(string name, st::CancellationToken cancellationToken) => + GetCmekConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual CmekConfig GetCmekConfig(CmekConfigName name, gaxgrpc::CallSettings callSettings = null) => + GetCmekConfig(new GetCmekConfigRequest + { + CmekConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetCmekConfigAsync(CmekConfigName name, gaxgrpc::CallSettings callSettings = null) => + GetCmekConfigAsync(new GetCmekConfigRequest + { + CmekConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// + /// Required. Resource name of + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as + /// `projects/*/locations/*/cmekConfig` or + /// `projects/*/locations/*/cmekConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of + /// whether or not it exists, a PERMISSION_DENIED error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetCmekConfigAsync(CmekConfigName name, st::CancellationToken cancellationToken) => + GetCmekConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListCmekConfigsResponse ListCmekConfigs(ListCmekConfigsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListCmekConfigsAsync(ListCmekConfigsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListCmekConfigsAsync(ListCmekConfigsRequest request, st::CancellationToken cancellationToken) => + ListCmekConfigsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListCmekConfigsResponse ListCmekConfigs(string parent, gaxgrpc::CallSettings callSettings = null) => + ListCmekConfigs(new ListCmekConfigsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListCmekConfigsAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + ListCmekConfigsAsync(new ListCmekConfigsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListCmekConfigsAsync(string parent, st::CancellationToken cancellationToken) => + ListCmekConfigsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListCmekConfigsResponse ListCmekConfigs(LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ListCmekConfigs(new ListCmekConfigsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListCmekConfigsAsync(LocationName parent, gaxgrpc::CallSettings callSettings = null) => + ListCmekConfigsAsync(new ListCmekConfigsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// + /// Required. The parent location resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// If the caller does not have permission to list + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this + /// location, regardless of whether or not a CmekConfig exists, a + /// PERMISSION_DENIED error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListCmekConfigsAsync(LocationName parent, st::CancellationToken cancellationToken) => + ListCmekConfigsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// De-provisions a CmekConfig. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteCmekConfig(DeleteCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// De-provisions a CmekConfig. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteCmekConfigAsync(DeleteCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// De-provisions a CmekConfig. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteCmekConfigAsync(DeleteCmekConfigRequest request, st::CancellationToken cancellationToken) => + DeleteCmekConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for DeleteCmekConfig. + public virtual lro::OperationsClient DeleteCmekConfigOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of DeleteCmekConfig. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceDeleteCmekConfig(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteCmekConfigOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// DeleteCmekConfig. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceDeleteCmekConfigAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteCmekConfigOperationsClient, callSettings); + + /// + /// De-provisions a CmekConfig. + /// + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteCmekConfig(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteCmekConfig(new DeleteCmekConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// De-provisions a CmekConfig. + /// + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteCmekConfigAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteCmekConfigAsync(new DeleteCmekConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// De-provisions a CmekConfig. + /// + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteCmekConfigAsync(string name, st::CancellationToken cancellationToken) => + DeleteCmekConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// De-provisions a CmekConfig. + /// + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteCmekConfig(CmekConfigName name, gaxgrpc::CallSettings callSettings = null) => + DeleteCmekConfig(new DeleteCmekConfigRequest + { + CmekConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// De-provisions a CmekConfig. + /// + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteCmekConfigAsync(CmekConfigName name, gaxgrpc::CallSettings callSettings = null) => + DeleteCmekConfigAsync(new DeleteCmekConfigRequest + { + CmekConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// De-provisions a CmekConfig. + /// + /// + /// Required. The resource name of the + /// [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, + /// such as + /// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteCmekConfigAsync(CmekConfigName name, st::CancellationToken cancellationToken) => + DeleteCmekConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + } + + /// CmekConfigService client wrapper implementation, for convenient use. + /// + /// Service for managing CMEK related tasks + /// + public sealed partial class CmekConfigServiceClientImpl : CmekConfigServiceClient + { + private readonly gaxgrpc::ApiCall _callUpdateCmekConfig; + + private readonly gaxgrpc::ApiCall _callGetCmekConfig; + + private readonly gaxgrpc::ApiCall _callListCmekConfigs; + + private readonly gaxgrpc::ApiCall _callDeleteCmekConfig; + + /// + /// Constructs a client wrapper for the CmekConfigService service, with the specified gRPC client and settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public CmekConfigServiceClientImpl(CmekConfigService.CmekConfigServiceClient grpcClient, CmekConfigServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + CmekConfigServiceSettings effectiveSettings = settings ?? CmekConfigServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + UpdateCmekConfigOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.UpdateCmekConfigOperationsSettings, logger); + DeleteCmekConfigOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.DeleteCmekConfigOperationsSettings, logger); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callUpdateCmekConfig = clientHelper.BuildApiCall("UpdateCmekConfig", grpcClient.UpdateCmekConfigAsync, grpcClient.UpdateCmekConfig, effectiveSettings.UpdateCmekConfigSettings).WithGoogleRequestParam("config.name", request => request.Config?.Name); + Modify_ApiCall(ref _callUpdateCmekConfig); + Modify_UpdateCmekConfigApiCall(ref _callUpdateCmekConfig); + _callGetCmekConfig = clientHelper.BuildApiCall("GetCmekConfig", grpcClient.GetCmekConfigAsync, grpcClient.GetCmekConfig, effectiveSettings.GetCmekConfigSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetCmekConfig); + Modify_GetCmekConfigApiCall(ref _callGetCmekConfig); + _callListCmekConfigs = clientHelper.BuildApiCall("ListCmekConfigs", grpcClient.ListCmekConfigsAsync, grpcClient.ListCmekConfigs, effectiveSettings.ListCmekConfigsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListCmekConfigs); + Modify_ListCmekConfigsApiCall(ref _callListCmekConfigs); + _callDeleteCmekConfig = clientHelper.BuildApiCall("DeleteCmekConfig", grpcClient.DeleteCmekConfigAsync, grpcClient.DeleteCmekConfig, effectiveSettings.DeleteCmekConfigSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteCmekConfig); + Modify_DeleteCmekConfigApiCall(ref _callDeleteCmekConfig); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_UpdateCmekConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetCmekConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListCmekConfigsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteCmekConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(CmekConfigService.CmekConfigServiceClient grpcClient, CmekConfigServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC CmekConfigService client + public override CmekConfigService.CmekConfigServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_UpdateCmekConfigRequest(ref UpdateCmekConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetCmekConfigRequest(ref GetCmekConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListCmekConfigsRequest(ref ListCmekConfigsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteCmekConfigRequest(ref DeleteCmekConfigRequest request, ref gaxgrpc::CallSettings settings); + + /// The long-running operations client for UpdateCmekConfig. + public override lro::OperationsClient UpdateCmekConfigOperationsClient { get; } + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation UpdateCmekConfig(UpdateCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateCmekConfigRequest(ref request, ref callSettings); + return new lro::Operation(_callUpdateCmekConfig.Sync(request, callSettings), UpdateCmekConfigOperationsClient); + } + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> UpdateCmekConfigAsync(UpdateCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateCmekConfigRequest(ref request, ref callSettings); + return new lro::Operation(await _callUpdateCmekConfig.Async(request, callSettings).ConfigureAwait(false), UpdateCmekConfigOperationsClient); + } + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override CmekConfig GetCmekConfig(GetCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetCmekConfigRequest(ref request, ref callSettings); + return _callGetCmekConfig.Sync(request, callSettings); + } + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetCmekConfigAsync(GetCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetCmekConfigRequest(ref request, ref callSettings); + return _callGetCmekConfig.Async(request, callSettings); + } + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override ListCmekConfigsResponse ListCmekConfigs(ListCmekConfigsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListCmekConfigsRequest(ref request, ref callSettings); + return _callListCmekConfigs.Sync(request, callSettings); + } + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task ListCmekConfigsAsync(ListCmekConfigsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListCmekConfigsRequest(ref request, ref callSettings); + return _callListCmekConfigs.Async(request, callSettings); + } + + /// The long-running operations client for DeleteCmekConfig. + public override lro::OperationsClient DeleteCmekConfigOperationsClient { get; } + + /// + /// De-provisions a CmekConfig. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation DeleteCmekConfig(DeleteCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteCmekConfigRequest(ref request, ref callSettings); + return new lro::Operation(_callDeleteCmekConfig.Sync(request, callSettings), DeleteCmekConfigOperationsClient); + } + + /// + /// De-provisions a CmekConfig. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> DeleteCmekConfigAsync(DeleteCmekConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteCmekConfigRequest(ref request, ref callSettings); + return new lro::Operation(await _callDeleteCmekConfig.Async(request, callSettings).ConfigureAwait(false), DeleteCmekConfigOperationsClient); + } + } + + public static partial class CmekConfigService + { + public partial class CmekConfigServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// A new Operations client for the same target as this client. + public virtual lro::Operations.OperationsClient CreateOperationsClient() => + new lro::Operations.OperationsClient(CallInvoker); + } + } + + public static partial class CmekConfigService + { + public partial class CmekConfigServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceGrpc.g.cs new file mode 100644 index 000000000000..cbfaba4363d5 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceGrpc.g.cs @@ -0,0 +1,447 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/cmek_config_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing CMEK related tasks + /// + public static partial class CmekConfigService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.CmekConfigService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateCmekConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_longrunning_Operation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.LongRunning.Operation.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetCmekConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_CmekConfig = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListCmekConfigsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListCmekConfigsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_DeleteCmekConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateCmekConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateCmekConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_UpdateCmekConfigRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetCmekConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetCmekConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_GetCmekConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_CmekConfig); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListCmekConfigs = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListCmekConfigs", + __Marshaller_google_cloud_discoveryengine_v1beta_ListCmekConfigsRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListCmekConfigsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteCmekConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteCmekConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_DeleteCmekConfigRequest, + __Marshaller_google_longrunning_Operation); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of CmekConfigService + [grpc::BindServiceMethod(typeof(CmekConfigService), "BindService")] + public abstract partial class CmekConfigServiceBase + { + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListCmekConfigs(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// De-provisions a CmekConfig. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for CmekConfigService + public partial class CmekConfigServiceClient : grpc::ClientBase + { + /// Creates a new client for CmekConfigService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public CmekConfigServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for CmekConfigService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public CmekConfigServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected CmekConfigServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected CmekConfigServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation UpdateCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateCmekConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation UpdateCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateCmekConfig, null, options, request); + } + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateCmekConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateCmekConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Provisions a CMEK key for use in a location of a customer's project. + /// This method will also conduct location validation on the provided + /// cmekConfig to make sure the key is valid and can be used in the + /// selected location. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateCmekConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateCmekConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateCmekConfig, null, options, request); + } + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig GetCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetCmekConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig GetCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetCmekConfig, null, options, request); + } + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetCmekConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetCmekConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetCmekConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetCmekConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetCmekConfig, null, options, request); + } + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse ListCmekConfigs(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListCmekConfigs(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsResponse ListCmekConfigs(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListCmekConfigs, null, options, request); + } + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListCmekConfigsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListCmekConfigsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s + /// with the project. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListCmekConfigsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListCmekConfigsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListCmekConfigs, null, options, request); + } + /// + /// De-provisions a CmekConfig. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeleteCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteCmekConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// De-provisions a CmekConfig. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeleteCmekConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteCmekConfig, null, options, request); + } + /// + /// De-provisions a CmekConfig. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteCmekConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteCmekConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// De-provisions a CmekConfig. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteCmekConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteCmekConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteCmekConfig, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override CmekConfigServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new CmekConfigServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(CmekConfigServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_UpdateCmekConfig, serviceImpl.UpdateCmekConfig) + .AddMethod(__Method_GetCmekConfig, serviceImpl.GetCmekConfig) + .AddMethod(__Method_ListCmekConfigs, serviceImpl.ListCmekConfigs) + .AddMethod(__Method_DeleteCmekConfig, serviceImpl.DeleteCmekConfig).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, CmekConfigServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_UpdateCmekConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateCmekConfig)); + serviceBinder.AddMethod(__Method_GetCmekConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCmekConfig)); + serviceBinder.AddMethod(__Method_ListCmekConfigs, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListCmekConfigs)); + serviceBinder.AddMethod(__Method_DeleteCmekConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteCmekConfig)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceResourceNames.g.cs new file mode 100644 index 000000000000..fcc8ee4c67c2 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CmekConfigServiceResourceNames.g.cs @@ -0,0 +1,390 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the CmekConfig resource. + public sealed partial class CmekConfigName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/cmekConfig. + /// + ProjectLocation = 1, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/cmekConfigs/{cmek_config}. + /// + ProjectLocationCmekConfig = 2, + } + + private static gax::PathTemplate s_projectLocation = new gax::PathTemplate("projects/{project}/locations/{location}/cmekConfig"); + + private static gax::PathTemplate s_projectLocationCmekConfig = new gax::PathTemplate("projects/{project}/locations/{location}/cmekConfigs/{cmek_config}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static CmekConfigName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new CmekConfigName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/cmekConfig. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static CmekConfigName FromProjectLocation(string projectId, string locationId) => + new CmekConfigName(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The CmekConfig ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static CmekConfigName FromProjectLocationCmekConfig(string projectId, string locationId, string cmekConfigId) => + new CmekConfigName(ResourceNameType.ProjectLocationCmekConfig, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), cmekConfigId: gax::GaxPreconditions.CheckNotNullOrEmpty(cmekConfigId, nameof(cmekConfigId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/cmekConfig. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/cmekConfig. + /// + public static string Format(string projectId, string locationId) => FormatProjectLocation(projectId, locationId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/cmekConfig. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/cmekConfig. + /// + public static string FormatProjectLocation(string projectId, string locationId) => + s_projectLocation.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The CmekConfig ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config}. + /// + public static string FormatProjectLocationCmekConfig(string projectId, string locationId, string cmekConfigId) => + s_projectLocationCmekConfig.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(cmekConfigId, nameof(cmekConfigId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/cmekConfig + /// + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static CmekConfigName Parse(string cmekConfigName) => Parse(cmekConfigName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/cmekConfig + /// + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static CmekConfigName Parse(string cmekConfigName, bool allowUnparsed) => + TryParse(cmekConfigName, allowUnparsed, out CmekConfigName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/cmekConfig + /// + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string cmekConfigName, out CmekConfigName result) => + TryParse(cmekConfigName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/cmekConfig + /// + /// projects/{project}/locations/{location}/cmekConfigs/{cmek_config} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string cmekConfigName, bool allowUnparsed, out CmekConfigName result) + { + gax::GaxPreconditions.CheckNotNull(cmekConfigName, nameof(cmekConfigName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocation.TryParseName(cmekConfigName, out resourceName)) + { + result = FromProjectLocation(resourceName[0], resourceName[1]); + return true; + } + if (s_projectLocationCmekConfig.TryParseName(cmekConfigName, out resourceName)) + { + result = FromProjectLocationCmekConfig(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(cmekConfigName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private CmekConfigName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string cmekConfigId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + CmekConfigId = cmekConfigId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/cmekConfig + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + public CmekConfigName(string projectId, string locationId) : this(ResourceNameType.ProjectLocation, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The CmekConfig ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string CmekConfigId { get; } + + /// + /// The Location ID. May be null, depending on which resource name is contained by this instance. + /// + public string LocationId { get; } + + /// + /// The Project ID. May be null, depending on which resource name is contained by this instance. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocation: return s_projectLocation.Expand(ProjectId, LocationId); + case ResourceNameType.ProjectLocationCmekConfig: return s_projectLocationCmekConfig.Expand(ProjectId, LocationId, CmekConfigId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as CmekConfigName); + + /// + public bool Equals(CmekConfigName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(CmekConfigName a, CmekConfigName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(CmekConfigName a, CmekConfigName b) => !(a == b); + } + + public partial class GetCmekConfigRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::CmekConfigName CmekConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::CmekConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class SingleRegionKey + { + /// + /// -typed view over the resource name property. + /// + public CryptoKeysName KmsKeyAsCryptoKeysName + { + get => string.IsNullOrEmpty(KmsKey) ? null : CryptoKeysName.Parse(KmsKey, allowUnparsed: true); + set => KmsKey = value?.ToString() ?? ""; + } + } + + public partial class CmekConfig + { + /// + /// -typed view over the resource name property. + /// + public gcdv::CmekConfigName CmekConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::CmekConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public CryptoKeysName KmsKeyAsCryptoKeysName + { + get => string.IsNullOrEmpty(KmsKey) ? null : CryptoKeysName.Parse(KmsKey, allowUnparsed: true); + set => KmsKey = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public CryptoKeyVersionsName KmsKeyVersionAsCryptoKeyVersionsName + { + get => string.IsNullOrEmpty(KmsKeyVersion) ? null : CryptoKeyVersionsName.Parse(KmsKeyVersion, allowUnparsed: true); + set => KmsKeyVersion = value?.ToString() ?? ""; + } + } + + public partial class ListCmekConfigsRequest + { + /// + /// -typed view over the resource name property. + /// + public LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DeleteCmekConfigRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::CmekConfigName CmekConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::CmekConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Common.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Common.g.cs index 4dc3b1b9fddb..0157b3aaa65b 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Common.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Common.g.cs @@ -25,67 +25,130 @@ static CommonReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9jb21tb24u", - "cHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhGhln", - "b29nbGUvYXBpL3Jlc291cmNlLnByb3RvIngKCEludGVydmFsEhEKB21pbmlt", - "dW0YASABKAFIABIbChFleGNsdXNpdmVfbWluaW11bRgCIAEoAUgAEhEKB21h", - "eGltdW0YAyABKAFIARIbChFleGNsdXNpdmVfbWF4aW11bRgEIAEoAUgBQgUK", - "A21pbkIFCgNtYXgiMAoPQ3VzdG9tQXR0cmlidXRlEgwKBHRleHQYASADKAkS", - "DwoHbnVtYmVycxgCIAMoASIvCghVc2VySW5mbxIPCgd1c2VyX2lkGAEgASgJ", - "EhIKCnVzZXJfYWdlbnQYAiABKAkiJQoPRW1iZWRkaW5nQ29uZmlnEhIKCmZp", - "ZWxkX3BhdGgYASABKAkiHAoKRG91YmxlTGlzdBIOCgZ2YWx1ZXMYASADKAEq", - "YgoQSW5kdXN0cnlWZXJ0aWNhbBIhCh1JTkRVU1RSWV9WRVJUSUNBTF9VTlNQ", - "RUNJRklFRBAAEgsKB0dFTkVSSUMQARIJCgVNRURJQRACEhMKD0hFQUxUSENB", - "UkVfRkhJUhAHKqQBCgxTb2x1dGlvblR5cGUSHQoZU09MVVRJT05fVFlQRV9V", - "TlNQRUNJRklFRBAAEiAKHFNPTFVUSU9OX1RZUEVfUkVDT01NRU5EQVRJT04Q", - "ARIYChRTT0xVVElPTl9UWVBFX1NFQVJDSBACEhYKElNPTFVUSU9OX1RZUEVf", - "Q0hBVBADEiEKHVNPTFVUSU9OX1RZUEVfR0VORVJBVElWRV9DSEFUEAQqaAoN", - "U2VhcmNoVXNlQ2FzZRIfChtTRUFSQ0hfVVNFX0NBU0VfVU5TUEVDSUZJRUQQ", - "ABIaChZTRUFSQ0hfVVNFX0NBU0VfU0VBUkNIEAESGgoWU0VBUkNIX1VTRV9D", - "QVNFX0JST1dTRRACKl8KClNlYXJjaFRpZXISGwo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Ul9VTlNQRUNJRklFRBAAEhwKGFNVQlNDUklQVElPTl9USUVS", + "X1NFQVJDSBABEioKJlNVQlNDUklQVElPTl9USUVSX1NFQVJDSF9BTkRfQVNT", + "SVNUQU5UEAISIQodU1VCU0NSSVBUSU9OX1RJRVJfTk9URUJPT0tfTE0QAxIm", + "CiJTVUJTQ1JJUFRJT05fVElFUl9GUk9OVExJTkVfV09SS0VSEAQSKAokU1VC", + "U0NSSVBUSU9OX1RJRVJfQUdFTlRTUEFDRV9TVEFSVEVSEAoSKQolU1VCU0NS", + "SVBUSU9OX1RJRVJfQUdFTlRTUEFDRV9CVVNJTkVTUxAGEiAKHFNVQlNDUklQ", + "VElPTl9USUVSX0VOVEVSUFJJU0UQBxIpCiVTVUJTQ1JJUFRJT05fVElFUl9F", + "TlRFUlBSSVNFX0VNRVJHSU5HEA8SGQoVU1VCU0NSSVBUSU9OX1RJRVJfRURV", + "EAgSHQoZU1VCU0NSSVBUSU9OX1RJRVJfRURVX1BSTxAJEiIKHlNVQlNDUklQ", + "VElPTl9USUVSX0VEVV9FTUVSR0lORxALEiYKIlNVQlNDUklQVElPTl9USUVS", + "X0VEVV9QUk9fRU1FUkdJTkcQDBInCiNTVUJTQ1JJUFRJT05fVElFUl9GUk9O", + "VExJTkVfU1RBUlRFUhANKrcBChBTdWJzY3JpcHRpb25UZXJtEiEKHVNVQlND", + "UklQVElPTl9URVJNX1VOU1BFQ0lGSUVEEAASHwobU1VCU0NSSVBUSU9OX1RF", + "Uk1fT05FX01PTlRIEAESHgoaU1VCU0NSSVBUSU9OX1RFUk1fT05FX1lFQVIQ", + "AhIhCh1TVUJTQ1JJUFRJT05fVEVSTV9USFJFRV9ZRUFSUxADEhwKGFNVQlND", + "UklQVElPTl9URVJNX0NVU1RPTRAGQp0SCidjb20uZ29vZ2xlLmNsb3VkLmRp", + "c2NvdmVyeWVuZ2luZS52MWJldGFCC0NvbW1vblByb3RvUAFaUWNsb3VkLmdv", + "b2dsZS5jb20vZ28vZG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yZXMve2ZoaXJfc3RvcmV9L2ZoaXIve3Jlc291cmNlX3R5", - "cGV9L3tmaGlyX3Jlc291cmNlX2lkfWIGcHJvdG8z")); + "fS9icmFuY2hlcy97YnJhbmNofRJqcHJvamVjdHMve3Byb2plY3R9L2xvY2F0", + "aW9ucy97bG9jYXRpb259L2NvbGxlY3Rpb25zL3tjb2xsZWN0aW9ufS9kYXRh", + "U3RvcmVzL3tkYXRhX3N0b3JlfS9icmFuY2hlcy97YnJhbmNofepBbQopZGlz", + "Y292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29tL0NvbGxlY3Rpb24SQHByb2pl", + "Y3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9jb2xsZWN0aW9u", + "cy97Y29sbGVjdGlvbn3qQVIKJ2Rpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlz", + "LmNvbS9Mb2NhdGlvbhIncHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97", + "bG9jYXRpb2596kF3CixkaXNjb3ZlcnllbmdpbmUuZ29vZ2xlYXBpcy5jb20v", + "UmFua2luZ0NvbmZpZxJHcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97", + "bG9jYXRpb259L3JhbmtpbmdDb25maWdzL3tyYW5raW5nX2NvbmZpZ33qQdIC", + "Ci9kaXNjb3ZlcnllbmdpbmUuZ29vZ2xlYXBpcy5jb20vQ29tcGxldGlvbkNv", + "bmZpZxJQcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259", + "L2RhdGFTdG9yZXMve2RhdGFfc3RvcmV9L2NvbXBsZXRpb25Db25maWcSaXBy", + "b2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9jb2xsZWN0", + "aW9ucy97Y29sbGVjdGlvbn0vZGF0YVN0b3Jlcy97ZGF0YV9zdG9yZX0vY29t", + "cGxldGlvbkNvbmZpZxJicHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97", + "bG9jYXRpb259L2NvbGxlY3Rpb25zL3tjb2xsZWN0aW9ufS9lbmdpbmVzL3tl", + "bmdpbmV9L2NvbXBsZXRpb25Db25maWfqQZ0BCjpkaXNjb3ZlcnllbmdpbmUu", + "Z29vZ2xlYXBpcy5jb20vQmlsbGluZ0FjY291bnRMaWNlbnNlQ29uZmlnEl9i", + "aWxsaW5nQWNjb3VudHMve2JpbGxpbmdfYWNjb3VudH0vYmlsbGluZ0FjY291", + "bnRMaWNlbnNlQ29uZmlncy97YmlsbGluZ19hY2NvdW50X2xpY2Vuc2VfY29u", + "ZmlnfepBdAorbmV0d29ya3NlcnZpY2VzLmdvb2dsZWFwaXMuY29tL0FnZW50", + "R2F0ZXdheRJFcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRp", + "b259L2FnZW50R2F0ZXdheXMve2FnZW50X2dhdGV3YXl96kFiCiJtb2RlbGFy", + "bW9yLmdvb2dsZWFwaXMuY29tL1RlbXBsYXRlEjxwcm9qZWN0cy97cHJvamVj", + "dH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vdGVtcGxhdGVzL3t0ZW1wbGF0ZX3q", + "QcABCiBkbHAuZ29vZ2xlYXBpcy5jb20vQ29udGVudFBvbGljeRJSb3JnYW5p", + "emF0aW9ucy97b3JnYW5pemF0aW9ufS9sb2NhdGlvbnMve2xvY2F0aW9ufS9j", + "b250ZW50UG9saWNpZXMve2NvbnRlbnRfcG9saWN5fRJIcHJvamVjdHMve3By", + "b2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2NvbnRlbnRQb2xpY2llcy97", + "Y29udGVudF9wb2xpY3l96kF5CiNoZWFsdGhjYXJlLmdvb2dsZWFwaXMuY29t", + "L0ZoaXJTdG9yZRJScHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9j", + "YXRpb259L2RhdGFzZXRzL3tkYXRhc2V0fS9maGlyU3RvcmVzL3tmaGlyX3N0", + "b3JlfepBpAEKJmhlYWx0aGNhcmUuZ29vZ2xlYXBpcy5jb20vRmhpclJlc291", + "cmNlEnpwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlvbn0v", + "ZGF0YXNldHMve2RhdGFzZXR9L2ZoaXJTdG9yZXMve2ZoaXJfc3RvcmV9L2Zo", + "aXIve3Jlc291cmNlX3R5cGV9L3tmaGlyX3Jlc291cmNlX2lkfepBeQoiY2xv", + "dWRrbXMuZ29vZ2xlYXBpcy5jb20vQ3J5cHRvS2V5cxJTcHJvamVjdHMve3By", + "b2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2tleVJpbmdzL3trZXlfcmlu", + "Z30vY3J5cHRvS2V5cy97Y3J5cHRvX2tleX3qQacBCiljbG91ZGttcy5nb29n", + "bGVhcGlzLmNvbS9DcnlwdG9LZXlWZXJzaW9ucxJ6cHJvamVjdHMve3Byb2pl", + "Y3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2tleVJpbmdzL3trZXlfcmluZ30v", + "Y3J5cHRvS2V5cy97Y3J5cHRvX2tleX0vY3J5cHRvS2V5VmVyc2lvbnMve2Ny", + "eXB0b19rZXlfdmVyc2lvbn1iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.ResourceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SolutionType), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchUseCase), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchTier), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchAddOn), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Type.LatlngReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SolutionType), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchUseCase), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchTier), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchAddOn), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Interval), global::Google.Cloud.DiscoveryEngine.V1Beta.Interval.Parser, new[]{ "Minimum", "ExclusiveMinimum", "Maximum", "ExclusiveMaximum" }, new[]{ "Min", "Max" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CustomAttribute), global::Google.Cloud.DiscoveryEngine.V1Beta.CustomAttribute.Parser, new[]{ "Text", "Numbers" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Parser, new[]{ "UserId", "UserAgent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Parser, new[]{ "UserId", "UserAgent", "TimeZone", "PreciseLocation" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation), global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation.Parser, new[]{ "Point", "Address" }, new[]{ "Location" }, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.EmbeddingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.EmbeddingConfig.Parser, new[]{ "FieldPath" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DoubleList), global::Google.Cloud.DiscoveryEngine.V1Beta.DoubleList.Parser, new[]{ "Values" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DoubleList), global::Google.Cloud.DiscoveryEngine.V1Beta.DoubleList.Parser, new[]{ "Values" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Parser, new[]{ "IdpType", "ExternalIdpConfig" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig.Parser, new[]{ "WorkforcePoolName" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Principal), global::Google.Cloud.DiscoveryEngine.V1Beta.Principal.Parser, new[]{ "UserId", "GroupId", "ExternalEntityId" }, new[]{ "Principal" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig.Parser, new[]{ "EnableConfigurableSchema", "EnableStaticIndexingForBatchIngestion", "InitialFilterGroups" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion.Parser, new[]{ "Title", "Uri", "Document", "ImageUri", "Description", "Enabled" }, null, null, null, null) })); } #endregion @@ -142,6 +205,10 @@ public enum SolutionType { /// must enrolled with `SOLUTION_TYPE_CHAT` solution. /// [pbr::OriginalName("SOLUTION_TYPE_GENERATIVE_CHAT")] GenerativeChat = 4, + /// + /// Used for AI Mode. + /// + [pbr::OriginalName("SOLUTION_TYPE_AI_MODE")] AiMode = 5, } /// @@ -199,6 +266,96 @@ public enum SearchAddOn { [pbr::OriginalName("SEARCH_ADD_ON_LLM")] Llm = 1, } + /// + /// Subscription tier information. + /// + public enum SubscriptionTier { + /// + /// Default value. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_UNSPECIFIED")] Unspecified = 0, + /// + /// Search tier. + /// Search tier can access Vertex AI Search features and NotebookLM features. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_SEARCH")] Search = 1, + /// + /// Gemini Enterprise Plus tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT")] SearchAndAssistant = 2, + /// + /// NotebookLM tier. + /// NotebookLM is a subscription tier can only access NotebookLM features. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_NOTEBOOK_LM")] NotebookLm = 3, + /// + /// Gemini Frontline worker tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_FRONTLINE_WORKER")] FrontlineWorker = 4, + /// + /// Gemini Business Starter tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_AGENTSPACE_STARTER")] AgentspaceStarter = 10, + /// + /// Gemini Business tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS")] AgentspaceBusiness = 6, + /// + /// Gemini Enterprise Standard tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_ENTERPRISE")] Enterprise = 7, + /// + /// Gemini Enterprise Standard tier for emerging markets. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_ENTERPRISE_EMERGING")] EnterpriseEmerging = 15, + /// + /// Gemini Enterprise EDU tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_EDU")] Edu = 8, + /// + /// Gemini Enterprise EDU Pro tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_EDU_PRO")] EduPro = 9, + /// + /// Gemini Enterprise EDU tier for emerging market only. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_EDU_EMERGING")] EduEmerging = 11, + /// + /// Gemini Enterprise EDU Pro tier for emerging market. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_EDU_PRO_EMERGING")] EduProEmerging = 12, + /// + /// Gemini Frontline Starter tier. + /// + [pbr::OriginalName("SUBSCRIPTION_TIER_FRONTLINE_STARTER")] FrontlineStarter = 13, + } + + /// + /// Subscription term. + /// + public enum SubscriptionTerm { + /// + /// Default value, do not use. + /// + [pbr::OriginalName("SUBSCRIPTION_TERM_UNSPECIFIED")] Unspecified = 0, + /// + /// 1 month. + /// + [pbr::OriginalName("SUBSCRIPTION_TERM_ONE_MONTH")] OneMonth = 1, + /// + /// 1 year. + /// + [pbr::OriginalName("SUBSCRIPTION_TERM_ONE_YEAR")] OneYear = 2, + /// + /// 3 years. + /// + [pbr::OriginalName("SUBSCRIPTION_TERM_THREE_YEARS")] ThreeYears = 3, + /// + /// Custom term. Must set the end_date. + /// + [pbr::OriginalName("SUBSCRIPTION_TERM_CUSTOM")] Custom = 6, + } + #endregion #region Messages @@ -930,6 +1087,8 @@ public UserInfo() { public UserInfo(UserInfo other) : this() { userId_ = other.userId_; userAgent_ = other.userAgent_; + timeZone_ = other.timeZone_; + preciseLocation_ = other.preciseLocation_ != null ? other.preciseLocation_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -954,6 +1113,10 @@ public UserInfo Clone() { /// /// The field must be a UTF-8 encoded string with a length limit of 128 /// characters. Otherwise, an `INVALID_ARGUMENT` error is returned. + /// + /// Represents an opaque ID to the Search API. The Search API doesn't + /// interpret the value in any way. This field is used to associate events + /// with a user across sessions if the events are being uploaded. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -989,6 +1152,38 @@ public string UserAgent { } } + /// Field number for the "time_zone" field. + public const int TimeZoneFieldNumber = 3; + private string timeZone_ = ""; + /// + /// Optional. IANA time zone, e.g. Europe/Budapest. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TimeZone { + get { return timeZone_; } + set { + timeZone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "precise_location" field. + public const int PreciseLocationFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation preciseLocation_; + /// + /// Optional. Input only. Precise location of the user. + /// It is used in Custom Ranking to calculate the distance between the user and + /// the relevant documents. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation PreciseLocation { + get { return preciseLocation_; } + set { + preciseLocation_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1006,6 +1201,8 @@ public bool Equals(UserInfo other) { } if (UserId != other.UserId) return false; if (UserAgent != other.UserAgent) return false; + if (TimeZone != other.TimeZone) return false; + if (!object.Equals(PreciseLocation, other.PreciseLocation)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1015,6 +1212,8 @@ public override int GetHashCode() { int hash = 1; if (UserId.Length != 0) hash ^= UserId.GetHashCode(); if (UserAgent.Length != 0) hash ^= UserAgent.GetHashCode(); + if (TimeZone.Length != 0) hash ^= TimeZone.GetHashCode(); + if (preciseLocation_ != null) hash ^= PreciseLocation.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1041,6 +1240,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteString(UserAgent); } + if (TimeZone.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TimeZone); + } + if (preciseLocation_ != null) { + output.WriteRawTag(34); + output.WriteMessage(PreciseLocation); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1059,6 +1266,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteString(UserAgent); } + if (TimeZone.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TimeZone); + } + if (preciseLocation_ != null) { + output.WriteRawTag(34); + output.WriteMessage(PreciseLocation); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1075,6 +1290,12 @@ public int CalculateSize() { if (UserAgent.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserAgent); } + if (TimeZone.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TimeZone); + } + if (preciseLocation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PreciseLocation); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1093,6 +1314,15 @@ public void MergeFrom(UserInfo other) { if (other.UserAgent.Length != 0) { UserAgent = other.UserAgent; } + if (other.TimeZone.Length != 0) { + TimeZone = other.TimeZone; + } + if (other.preciseLocation_ != null) { + if (preciseLocation_ == null) { + PreciseLocation = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation(); + } + PreciseLocation.MergeFrom(other.PreciseLocation); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1120,6 +1350,17 @@ public void MergeFrom(pb::CodedInputStream input) { UserAgent = input.ReadString(); break; } + case 26: { + TimeZone = input.ReadString(); + break; + } + case 34: { + if (preciseLocation_ == null) { + PreciseLocation = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation(); + } + input.ReadMessage(PreciseLocation); + break; + } } } #endif @@ -1147,11 +1388,336 @@ public void MergeFrom(pb::CodedInputStream input) { UserAgent = input.ReadString(); break; } + case 26: { + TimeZone = input.ReadString(); + break; + } + case 34: { + if (preciseLocation_ == null) { + PreciseLocation = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Types.PreciseLocation(); + } + input.ReadMessage(PreciseLocation); + break; + } } } } #endif + #region Nested types + /// Container for nested types declared in the UserInfo message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Precise location info with multiple representation options. + /// Currently only latitude and longitude point is supported. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PreciseLocation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PreciseLocation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreciseLocation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreciseLocation(PreciseLocation other) : this() { + switch (other.LocationCase) { + case LocationOneofCase.Point: + Point = other.Point.Clone(); + break; + case LocationOneofCase.Address: + Address = other.Address; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreciseLocation Clone() { + return new PreciseLocation(this); + } + + /// Field number for the "point" field. + public const int PointFieldNumber = 1; + /// + /// Optional. Location represented by a latitude/longitude point. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Type.LatLng Point { + get { return locationCase_ == LocationOneofCase.Point ? (global::Google.Type.LatLng) location_ : null; } + set { + location_ = value; + locationCase_ = value == null ? LocationOneofCase.None : LocationOneofCase.Point; + } + } + + /// Field number for the "address" field. + public const int AddressFieldNumber = 2; + /// + /// Optional. Location represented by a natural language address. Will + /// later be geocoded and converted to either a point or a polygon. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Address { + get { return HasAddress ? (string) location_ : ""; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + locationCase_ = LocationOneofCase.Address; + } + } + /// Gets whether the "address" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAddress { + get { return locationCase_ == LocationOneofCase.Address; } + } + /// Clears the value of the oneof if it's currently set to "address" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAddress() { + if (HasAddress) { + ClearLocation(); + } + } + + private object location_; + /// Enum of possible cases for the "location" oneof. + public enum LocationOneofCase { + None = 0, + Point = 1, + Address = 2, + } + private LocationOneofCase locationCase_ = LocationOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LocationOneofCase LocationCase { + get { return locationCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocation() { + locationCase_ = LocationOneofCase.None; + location_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PreciseLocation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PreciseLocation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Point, other.Point)) return false; + if (Address != other.Address) return false; + if (LocationCase != other.LocationCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (locationCase_ == LocationOneofCase.Point) hash ^= Point.GetHashCode(); + if (HasAddress) hash ^= Address.GetHashCode(); + hash ^= (int) locationCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (locationCase_ == LocationOneofCase.Point) { + output.WriteRawTag(10); + output.WriteMessage(Point); + } + if (HasAddress) { + output.WriteRawTag(18); + output.WriteString(Address); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (locationCase_ == LocationOneofCase.Point) { + output.WriteRawTag(10); + output.WriteMessage(Point); + } + if (HasAddress) { + output.WriteRawTag(18); + output.WriteString(Address); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (locationCase_ == LocationOneofCase.Point) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Point); + } + if (HasAddress) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PreciseLocation other) { + if (other == null) { + return; + } + switch (other.LocationCase) { + case LocationOneofCase.Point: + if (Point == null) { + Point = new global::Google.Type.LatLng(); + } + Point.MergeFrom(other.Point); + break; + case LocationOneofCase.Address: + Address = other.Address; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Type.LatLng subBuilder = new global::Google.Type.LatLng(); + if (locationCase_ == LocationOneofCase.Point) { + subBuilder.MergeFrom(Point); + } + input.ReadMessage(subBuilder); + Point = subBuilder; + break; + } + case 18: { + Address = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Type.LatLng subBuilder = new global::Google.Type.LatLng(); + if (locationCase_ == LocationOneofCase.Point) { + subBuilder.MergeFrom(Point); + } + input.ReadMessage(subBuilder); + Point = subBuilder; + break; + } + case 18: { + Address = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + } /// @@ -1553,6 +2119,1560 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Identity Provider Config. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IdpConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IdpConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdpConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdpConfig(IdpConfig other) : this() { + idpType_ = other.idpType_; + externalIdpConfig_ = other.externalIdpConfig_ != null ? other.externalIdpConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdpConfig Clone() { + return new IdpConfig(this); + } + + /// Field number for the "idp_type" field. + public const int IdpTypeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType idpType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType.Unspecified; + /// + /// Identity provider type configured. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType IdpType { + get { return idpType_; } + set { + idpType_ = value; + } + } + + /// Field number for the "external_idp_config" field. + public const int ExternalIdpConfigFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig externalIdpConfig_; + /// + /// External Identity provider config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig ExternalIdpConfig { + get { return externalIdpConfig_; } + set { + externalIdpConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IdpConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IdpConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IdpType != other.IdpType) return false; + if (!object.Equals(ExternalIdpConfig, other.ExternalIdpConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IdpType != global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType.Unspecified) hash ^= IdpType.GetHashCode(); + if (externalIdpConfig_ != null) hash ^= ExternalIdpConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IdpType != global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) IdpType); + } + if (externalIdpConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ExternalIdpConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IdpType != global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) IdpType); + } + if (externalIdpConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ExternalIdpConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IdpType != global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) IdpType); + } + if (externalIdpConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExternalIdpConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IdpConfig other) { + if (other == null) { + return; + } + if (other.IdpType != global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType.Unspecified) { + IdpType = other.IdpType; + } + if (other.externalIdpConfig_ != null) { + if (externalIdpConfig_ == null) { + ExternalIdpConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig(); + } + ExternalIdpConfig.MergeFrom(other.ExternalIdpConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IdpType = (global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType) input.ReadEnum(); + break; + } + case 18: { + if (externalIdpConfig_ == null) { + ExternalIdpConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig(); + } + input.ReadMessage(ExternalIdpConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IdpType = (global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.IdpType) input.ReadEnum(); + break; + } + case 18: { + if (externalIdpConfig_ == null) { + ExternalIdpConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Types.ExternalIdpConfig(); + } + input.ReadMessage(ExternalIdpConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the IdpConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Identity Provider Type. + /// + public enum IdpType { + /// + /// Default value. ACL search not enabled. + /// + [pbr::OriginalName("IDP_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Google 1P provider. + /// + [pbr::OriginalName("GSUITE")] Gsuite = 1, + /// + /// Third party provider. + /// + [pbr::OriginalName("THIRD_PARTY")] ThirdParty = 2, + } + + /// + /// Third party IDP Config. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExternalIdpConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExternalIdpConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdpConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExternalIdpConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExternalIdpConfig(ExternalIdpConfig other) : this() { + workforcePoolName_ = other.workforcePoolName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExternalIdpConfig Clone() { + return new ExternalIdpConfig(this); + } + + /// Field number for the "workforce_pool_name" field. + public const int WorkforcePoolNameFieldNumber = 1; + private string workforcePoolName_ = ""; + /// + /// Workforce pool name. + /// Example: "locations/global/workforcePools/pool_id" + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string WorkforcePoolName { + get { return workforcePoolName_; } + set { + workforcePoolName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExternalIdpConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExternalIdpConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (WorkforcePoolName != other.WorkforcePoolName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (WorkforcePoolName.Length != 0) hash ^= WorkforcePoolName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (WorkforcePoolName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(WorkforcePoolName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (WorkforcePoolName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(WorkforcePoolName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (WorkforcePoolName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(WorkforcePoolName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExternalIdpConfig other) { + if (other == null) { + return; + } + if (other.WorkforcePoolName.Length != 0) { + WorkforcePoolName = other.WorkforcePoolName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + WorkforcePoolName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + WorkforcePoolName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Principal identifier of a user or a group. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Principal : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Principal()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Principal() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Principal(Principal other) : this() { + switch (other.PrincipalCase) { + case PrincipalOneofCase.UserId: + UserId = other.UserId; + break; + case PrincipalOneofCase.GroupId: + GroupId = other.GroupId; + break; + case PrincipalOneofCase.ExternalEntityId: + ExternalEntityId = other.ExternalEntityId; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Principal Clone() { + return new Principal(this); + } + + /// Field number for the "user_id" field. + public const int UserIdFieldNumber = 1; + /// + /// User identifier. + /// For Google Workspace user account, user_id should be the google workspace + /// user email. + /// For non-google identity provider user account, user_id is the mapped user + /// identifier configured during the workforcepool config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return HasUserId ? (string) principal_ : ""; } + set { + principal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + principalCase_ = PrincipalOneofCase.UserId; + } + } + /// Gets whether the "user_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUserId { + get { return principalCase_ == PrincipalOneofCase.UserId; } + } + /// Clears the value of the oneof if it's currently set to "user_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUserId() { + if (HasUserId) { + ClearPrincipal(); + } + } + + /// Field number for the "group_id" field. + public const int GroupIdFieldNumber = 2; + /// + /// Group identifier. + /// For Google Workspace user account, group_id should be the google + /// workspace group email. + /// For non-google identity provider user account, group_id is the mapped + /// group identifier configured during the workforcepool config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GroupId { + get { return HasGroupId ? (string) principal_ : ""; } + set { + principal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + principalCase_ = PrincipalOneofCase.GroupId; + } + } + /// Gets whether the "group_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGroupId { + get { return principalCase_ == PrincipalOneofCase.GroupId; } + } + /// Clears the value of the oneof if it's currently set to "group_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroupId() { + if (HasGroupId) { + ClearPrincipal(); + } + } + + /// Field number for the "external_entity_id" field. + public const int ExternalEntityIdFieldNumber = 3; + /// + /// For 3P application identities which are not present in the customer + /// identity provider. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ExternalEntityId { + get { return HasExternalEntityId ? (string) principal_ : ""; } + set { + principal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + principalCase_ = PrincipalOneofCase.ExternalEntityId; + } + } + /// Gets whether the "external_entity_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExternalEntityId { + get { return principalCase_ == PrincipalOneofCase.ExternalEntityId; } + } + /// Clears the value of the oneof if it's currently set to "external_entity_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExternalEntityId() { + if (HasExternalEntityId) { + ClearPrincipal(); + } + } + + private object principal_; + /// Enum of possible cases for the "principal" oneof. + public enum PrincipalOneofCase { + None = 0, + UserId = 1, + GroupId = 2, + ExternalEntityId = 3, + } + private PrincipalOneofCase principalCase_ = PrincipalOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PrincipalOneofCase PrincipalCase { + get { return principalCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPrincipal() { + principalCase_ = PrincipalOneofCase.None; + principal_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Principal); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Principal other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (GroupId != other.GroupId) return false; + if (ExternalEntityId != other.ExternalEntityId) return false; + if (PrincipalCase != other.PrincipalCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasUserId) hash ^= UserId.GetHashCode(); + if (HasGroupId) hash ^= GroupId.GetHashCode(); + if (HasExternalEntityId) hash ^= ExternalEntityId.GetHashCode(); + hash ^= (int) principalCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasUserId) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + if (HasGroupId) { + output.WriteRawTag(18); + output.WriteString(GroupId); + } + if (HasExternalEntityId) { + output.WriteRawTag(26); + output.WriteString(ExternalEntityId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasUserId) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + if (HasGroupId) { + output.WriteRawTag(18); + output.WriteString(GroupId); + } + if (HasExternalEntityId) { + output.WriteRawTag(26); + output.WriteString(ExternalEntityId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasUserId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (HasGroupId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId); + } + if (HasExternalEntityId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ExternalEntityId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Principal other) { + if (other == null) { + return; + } + switch (other.PrincipalCase) { + case PrincipalOneofCase.UserId: + UserId = other.UserId; + break; + case PrincipalOneofCase.GroupId: + GroupId = other.GroupId; + break; + case PrincipalOneofCase.ExternalEntityId: + ExternalEntityId = other.ExternalEntityId; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + UserId = input.ReadString(); + break; + } + case 18: { + GroupId = input.ReadString(); + break; + } + case 26: { + ExternalEntityId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + UserId = input.ReadString(); + break; + } + case 18: { + GroupId = input.ReadString(); + break; + } + case 26: { + ExternalEntityId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Config to data store for `HEALTHCARE_FHIR` vertical. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HealthcareFhirConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HealthcareFhirConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HealthcareFhirConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HealthcareFhirConfig(HealthcareFhirConfig other) : this() { + enableConfigurableSchema_ = other.enableConfigurableSchema_; + enableStaticIndexingForBatchIngestion_ = other.enableStaticIndexingForBatchIngestion_; + initialFilterGroups_ = other.initialFilterGroups_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HealthcareFhirConfig Clone() { + return new HealthcareFhirConfig(this); + } + + /// Field number for the "enable_configurable_schema" field. + public const int EnableConfigurableSchemaFieldNumber = 1; + private bool enableConfigurableSchema_; + /// + /// Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. + /// + /// If set to `true`, the predefined healthcare fhir schema can be extended + /// for more customized searching and filtering. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableConfigurableSchema { + get { return enableConfigurableSchema_; } + set { + enableConfigurableSchema_ = value; + } + } + + /// Field number for the "enable_static_indexing_for_batch_ingestion" field. + public const int EnableStaticIndexingForBatchIngestionFieldNumber = 2; + private bool enableStaticIndexingForBatchIngestion_; + /// + /// Whether to enable static indexing for `HEALTHCARE_FHIR` batch + /// ingestion. + /// + /// If set to `true`, the batch ingestion will be processed in a static + /// indexing mode which is slower but more capable of handling larger + /// volume. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableStaticIndexingForBatchIngestion { + get { return enableStaticIndexingForBatchIngestion_; } + set { + enableStaticIndexingForBatchIngestion_ = value; + } + } + + /// Field number for the "initial_filter_groups" field. + public const int InitialFilterGroupsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_initialFilterGroups_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField initialFilterGroups_ = new pbc::RepeatedField(); + /// + /// Optional. Names of the Group resources to use as a basis for the initial + /// patient filter, in format + /// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. + /// The filter group must be a FHIR resource name of + /// type Group, and the filter will be constructed from the direct members of + /// the group which are Patient resources. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField InitialFilterGroups { + get { return initialFilterGroups_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as HealthcareFhirConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HealthcareFhirConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EnableConfigurableSchema != other.EnableConfigurableSchema) return false; + if (EnableStaticIndexingForBatchIngestion != other.EnableStaticIndexingForBatchIngestion) return false; + if(!initialFilterGroups_.Equals(other.initialFilterGroups_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EnableConfigurableSchema != false) hash ^= EnableConfigurableSchema.GetHashCode(); + if (EnableStaticIndexingForBatchIngestion != false) hash ^= EnableStaticIndexingForBatchIngestion.GetHashCode(); + hash ^= initialFilterGroups_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EnableConfigurableSchema != false) { + output.WriteRawTag(8); + output.WriteBool(EnableConfigurableSchema); + } + if (EnableStaticIndexingForBatchIngestion != false) { + output.WriteRawTag(16); + output.WriteBool(EnableStaticIndexingForBatchIngestion); + } + initialFilterGroups_.WriteTo(output, _repeated_initialFilterGroups_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EnableConfigurableSchema != false) { + output.WriteRawTag(8); + output.WriteBool(EnableConfigurableSchema); + } + if (EnableStaticIndexingForBatchIngestion != false) { + output.WriteRawTag(16); + output.WriteBool(EnableStaticIndexingForBatchIngestion); + } + initialFilterGroups_.WriteTo(ref output, _repeated_initialFilterGroups_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EnableConfigurableSchema != false) { + size += 1 + 1; + } + if (EnableStaticIndexingForBatchIngestion != false) { + size += 1 + 1; + } + size += initialFilterGroups_.CalculateSize(_repeated_initialFilterGroups_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HealthcareFhirConfig other) { + if (other == null) { + return; + } + if (other.EnableConfigurableSchema != false) { + EnableConfigurableSchema = other.EnableConfigurableSchema; + } + if (other.EnableStaticIndexingForBatchIngestion != false) { + EnableStaticIndexingForBatchIngestion = other.EnableStaticIndexingForBatchIngestion; + } + initialFilterGroups_.Add(other.initialFilterGroups_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + EnableConfigurableSchema = input.ReadBool(); + break; + } + case 16: { + EnableStaticIndexingForBatchIngestion = input.ReadBool(); + break; + } + case 34: { + initialFilterGroups_.AddEntriesFrom(input, _repeated_initialFilterGroups_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + EnableConfigurableSchema = input.ReadBool(); + break; + } + case 16: { + EnableStaticIndexingForBatchIngestion = input.ReadBool(); + break; + } + case 34: { + initialFilterGroups_.AddEntriesFrom(ref input, _repeated_initialFilterGroups_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Promotion proto includes uri and other helping information to display the + /// promotion. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SearchLinkPromotion : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchLinkPromotion()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchLinkPromotion() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchLinkPromotion(SearchLinkPromotion other) : this() { + title_ = other.title_; + uri_ = other.uri_; + document_ = other.document_; + imageUri_ = other.imageUri_; + description_ = other.description_; + enabled_ = other.enabled_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchLinkPromotion Clone() { + return new SearchLinkPromotion(this); + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 1; + private string title_ = ""; + /// + /// Required. The title of the promotion. + /// Maximum length: 160 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "uri" field. + public const int UriFieldNumber = 2; + private string uri_ = ""; + /// + /// Optional. The URL for the page the user wants to promote. Must be set for + /// site search. For other verticals, this is optional. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "document" field. + public const int DocumentFieldNumber = 6; + private string document_ = ""; + /// + /// Optional. The [Document][google.cloud.discoveryengine.v1beta.Document] the + /// user wants to promote. For site search, leave unset and only populate uri. + /// Can be set along with uri. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Document { + get { return document_; } + set { + document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "image_uri" field. + public const int ImageUriFieldNumber = 3; + private string imageUri_ = ""; + /// + /// Optional. The promotion thumbnail image url. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ImageUri { + get { return imageUri_; } + set { + imageUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 4; + private string description_ = ""; + /// + /// Optional. The Promotion description. + /// Maximum length: 200 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Description { + get { return description_; } + set { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "enabled" field. + public const int EnabledFieldNumber = 5; + private bool enabled_; + /// + /// Optional. The enabled promotion will be returned for any serving configs + /// associated with the parent of the control this promotion is attached to. + /// + /// This flag is used for basic site search only. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Enabled { + get { return enabled_; } + set { + enabled_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SearchLinkPromotion); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SearchLinkPromotion other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Title != other.Title) return false; + if (Uri != other.Uri) return false; + if (Document != other.Document) return false; + if (ImageUri != other.ImageUri) return false; + if (Description != other.Description) return false; + if (Enabled != other.Enabled) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Document.Length != 0) hash ^= Document.GetHashCode(); + if (ImageUri.Length != 0) hash ^= ImageUri.GetHashCode(); + if (Description.Length != 0) hash ^= Description.GetHashCode(); + if (Enabled != false) hash ^= Enabled.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (Uri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (ImageUri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ImageUri); + } + if (Description.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (Enabled != false) { + output.WriteRawTag(40); + output.WriteBool(Enabled); + } + if (Document.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Document); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (Uri.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Uri); + } + if (ImageUri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ImageUri); + } + if (Description.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Description); + } + if (Enabled != false) { + output.WriteRawTag(40); + output.WriteBool(Enabled); + } + if (Document.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Document); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Document.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + } + if (ImageUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ImageUri); + } + if (Description.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); + } + if (Enabled != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SearchLinkPromotion other) { + if (other == null) { + return; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Document.Length != 0) { + Document = other.Document; + } + if (other.ImageUri.Length != 0) { + ImageUri = other.ImageUri; + } + if (other.Description.Length != 0) { + Description = other.Description; + } + if (other.Enabled != false) { + Enabled = other.Enabled; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Title = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + ImageUri = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 40: { + Enabled = input.ReadBool(); + break; + } + case 50: { + Document = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Title = input.ReadString(); + break; + } + case 18: { + Uri = input.ReadString(); + break; + } + case 26: { + ImageUri = input.ReadString(); + break; + } + case 34: { + Description = input.ReadString(); + break; + } + case 40: { + Enabled = input.ReadBool(); + break; + } + case 50: { + Document = input.ReadString(); + break; + } + } + } + } + #endif + + } + #endregion } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CommonResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CommonResourceNames.g.cs index 625051c9cf47..c42ba0799797 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CommonResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CommonResourceNames.g.cs @@ -1507,10 +1507,1685 @@ public override string ToString() public static bool operator !=(CompletionConfigName a, CompletionConfigName b) => !(a == b); } + /// Resource name for the BillingAccountLicenseConfig resource. + public sealed partial class BillingAccountLicenseConfigName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}. + /// + BillingAccountBillingAccountLicenseConfig = 1, + } + + private static gax::PathTemplate s_billingAccountBillingAccountLicenseConfig = new gax::PathTemplate("billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}"); + + /// + /// Creates a containing an unparsed resource name. + /// + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static BillingAccountLicenseConfigName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new BillingAccountLicenseConfigName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}. + /// + /// The BillingAccount ID. Must not be null or empty. + /// + /// The BillingAccountLicenseConfig ID. Must not be null or empty. + /// + /// + /// A new instance of constructed from the provided ids. + /// + public static BillingAccountLicenseConfigName FromBillingAccountBillingAccountLicenseConfig(string billingAccountId, string billingAccountLicenseConfigId) => + new BillingAccountLicenseConfigName(ResourceNameType.BillingAccountBillingAccountLicenseConfig, billingAccountId: gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountId, nameof(billingAccountId)), billingAccountLicenseConfigId: gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfigId, nameof(billingAccountLicenseConfigId))); + + /// + /// Formats the IDs into the string representation of this with + /// pattern billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// . + /// + /// The BillingAccount ID. Must not be null or empty. + /// + /// The BillingAccountLicenseConfig ID. Must not be null or empty. + /// + /// + /// The string representation of this with pattern + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}. + /// + public static string Format(string billingAccountId, string billingAccountLicenseConfigId) => + FormatBillingAccountBillingAccountLicenseConfig(billingAccountId, billingAccountLicenseConfigId); + + /// + /// Formats the IDs into the string representation of this with + /// pattern billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// . + /// + /// The BillingAccount ID. Must not be null or empty. + /// + /// The BillingAccountLicenseConfig ID. Must not be null or empty. + /// + /// + /// The string representation of this with pattern + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}. + /// + public static string FormatBillingAccountBillingAccountLicenseConfig(string billingAccountId, string billingAccountLicenseConfigId) => + s_billingAccountBillingAccountLicenseConfig.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountId, nameof(billingAccountId)), gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfigId, nameof(billingAccountLicenseConfigId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// The parsed if successful. + public static BillingAccountLicenseConfigName Parse(string billingAccountLicenseConfigName) => + Parse(billingAccountLicenseConfigName, false); + + /// + /// Parses the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// + /// The resource name in string form. Must not be null. + /// + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static BillingAccountLicenseConfigName Parse(string billingAccountLicenseConfigName, bool allowUnparsed) => + TryParse(billingAccountLicenseConfigName, allowUnparsed, out BillingAccountLicenseConfigName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new + /// instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// + /// When this method returns, the parsed , or null if + /// parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string billingAccountLicenseConfigName, out BillingAccountLicenseConfigName result) => + TryParse(billingAccountLicenseConfigName, false, out result); + + /// + /// Tries to parse the given resource name string into a new + /// instance; optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// + /// The resource name in string form. Must not be null. + /// + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if + /// parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string billingAccountLicenseConfigName, bool allowUnparsed, out BillingAccountLicenseConfigName result) + { + gax::GaxPreconditions.CheckNotNull(billingAccountLicenseConfigName, nameof(billingAccountLicenseConfigName)); + gax::TemplatedResourceName resourceName; + if (s_billingAccountBillingAccountLicenseConfig.TryParseName(billingAccountLicenseConfigName, out resourceName)) + { + result = FromBillingAccountBillingAccountLicenseConfig(resourceName[0], resourceName[1]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(billingAccountLicenseConfigName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private BillingAccountLicenseConfigName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string billingAccountId = null, string billingAccountLicenseConfigId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + BillingAccountId = billingAccountId; + BillingAccountLicenseConfigId = billingAccountLicenseConfigId; + } + + /// + /// Constructs a new instance of a class from the component parts + /// of pattern + /// billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config} + /// + /// The BillingAccount ID. Must not be null or empty. + /// + /// The BillingAccountLicenseConfig ID. Must not be null or empty. + /// + public BillingAccountLicenseConfigName(string billingAccountId, string billingAccountLicenseConfigId) : this(ResourceNameType.BillingAccountBillingAccountLicenseConfig, billingAccountId: gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountId, nameof(billingAccountId)), billingAccountLicenseConfigId: gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfigId, nameof(billingAccountLicenseConfigId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The BillingAccount ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string BillingAccountId { get; } + + /// + /// The BillingAccountLicenseConfig ID. Will not be null, unless this instance contains an + /// unparsed resource name. + /// + public string BillingAccountLicenseConfigId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.BillingAccountBillingAccountLicenseConfig: return s_billingAccountBillingAccountLicenseConfig.Expand(BillingAccountId, BillingAccountLicenseConfigId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as BillingAccountLicenseConfigName); + + /// + public bool Equals(BillingAccountLicenseConfigName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(BillingAccountLicenseConfigName a, BillingAccountLicenseConfigName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(BillingAccountLicenseConfigName a, BillingAccountLicenseConfigName b) => !(a == b); + } + + /// Resource name for the AgentGateway resource. + public sealed partial class AgentGatewayName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/agentGateways/{agent_gateway} + /// . + /// + ProjectLocationAgentGateway = 1, + } + + private static gax::PathTemplate s_projectLocationAgentGateway = new gax::PathTemplate("projects/{project}/locations/{location}/agentGateways/{agent_gateway}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static AgentGatewayName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new AgentGatewayName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AgentGateway ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static AgentGatewayName FromProjectLocationAgentGateway(string projectId, string locationId, string agentGatewayId) => + new AgentGatewayName(ResourceNameType.ProjectLocationAgentGateway, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), agentGatewayId: gax::GaxPreconditions.CheckNotNullOrEmpty(agentGatewayId, nameof(agentGatewayId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AgentGateway ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway}. + /// + public static string Format(string projectId, string locationId, string agentGatewayId) => + FormatProjectLocationAgentGateway(projectId, locationId, agentGatewayId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AgentGateway ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway}. + /// + public static string FormatProjectLocationAgentGateway(string projectId, string locationId, string agentGatewayId) => + s_projectLocationAgentGateway.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(agentGatewayId, nameof(agentGatewayId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static AgentGatewayName Parse(string agentGatewayName) => Parse(agentGatewayName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static AgentGatewayName Parse(string agentGatewayName, bool allowUnparsed) => + TryParse(agentGatewayName, allowUnparsed, out AgentGatewayName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string agentGatewayName, out AgentGatewayName result) => + TryParse(agentGatewayName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string agentGatewayName, bool allowUnparsed, out AgentGatewayName result) + { + gax::GaxPreconditions.CheckNotNull(agentGatewayName, nameof(agentGatewayName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationAgentGateway.TryParseName(agentGatewayName, out resourceName)) + { + result = FromProjectLocationAgentGateway(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(agentGatewayName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private AgentGatewayName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string agentGatewayId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + AgentGatewayId = agentGatewayId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/agentGateways/{agent_gateway} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The AgentGateway ID. Must not be null or empty. + public AgentGatewayName(string projectId, string locationId, string agentGatewayId) : this(ResourceNameType.ProjectLocationAgentGateway, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), agentGatewayId: gax::GaxPreconditions.CheckNotNullOrEmpty(agentGatewayId, nameof(agentGatewayId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The AgentGateway ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string AgentGatewayId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationAgentGateway: return s_projectLocationAgentGateway.Expand(ProjectId, LocationId, AgentGatewayId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as AgentGatewayName); + + /// + public bool Equals(AgentGatewayName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(AgentGatewayName a, AgentGatewayName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(AgentGatewayName a, AgentGatewayName b) => !(a == b); + } + + /// Resource name for the Template resource. + public sealed partial class TemplateName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/templates/{template}. + /// + ProjectLocationTemplate = 1, + } + + private static gax::PathTemplate s_projectLocationTemplate = new gax::PathTemplate("projects/{project}/locations/{location}/templates/{template}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static TemplateName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new TemplateName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/templates/{template}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Template ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static TemplateName FromProjectLocationTemplate(string projectId, string locationId, string templateId) => + new TemplateName(ResourceNameType.ProjectLocationTemplate, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), templateId: gax::GaxPreconditions.CheckNotNullOrEmpty(templateId, nameof(templateId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/templates/{template}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Template ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/templates/{template}. + /// + public static string Format(string projectId, string locationId, string templateId) => + FormatProjectLocationTemplate(projectId, locationId, templateId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/templates/{template}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Template ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/templates/{template}. + /// + public static string FormatProjectLocationTemplate(string projectId, string locationId, string templateId) => + s_projectLocationTemplate.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(templateId, nameof(templateId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/templates/{template} + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static TemplateName Parse(string templateName) => Parse(templateName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing an + /// unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/templates/{template} + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static TemplateName Parse(string templateName, bool allowUnparsed) => + TryParse(templateName, allowUnparsed, out TemplateName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/templates/{template} + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string templateName, out TemplateName result) => TryParse(templateName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// projects/{project}/locations/{location}/templates/{template} + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string templateName, bool allowUnparsed, out TemplateName result) + { + gax::GaxPreconditions.CheckNotNull(templateName, nameof(templateName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationTemplate.TryParseName(templateName, out resourceName)) + { + result = FromProjectLocationTemplate(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(templateName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private TemplateName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string templateId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + TemplateId = templateId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/templates/{template} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Template ID. Must not be null or empty. + public TemplateName(string projectId, string locationId, string templateId) : this(ResourceNameType.ProjectLocationTemplate, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), templateId: gax::GaxPreconditions.CheckNotNullOrEmpty(templateId, nameof(templateId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The Template ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string TemplateId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationTemplate: return s_projectLocationTemplate.Expand(ProjectId, LocationId, TemplateId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as TemplateName); + + /// + public bool Equals(TemplateName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(TemplateName a, TemplateName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(TemplateName a, TemplateName b) => !(a == b); + } + + /// Resource name for the ContentPolicy resource. + public sealed partial class ContentPolicyName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy}. + /// + OrganizationLocationContentPolicy = 1, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/contentPolicies/{content_policy} + /// . + /// + ProjectLocationContentPolicy = 2, + } + + private static gax::PathTemplate s_organizationLocationContentPolicy = new gax::PathTemplate("organizations/{organization}/locations/{location}/contentPolicies/{content_policy}"); + + private static gax::PathTemplate s_projectLocationContentPolicy = new gax::PathTemplate("projects/{project}/locations/{location}/contentPolicies/{content_policy}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static ContentPolicyName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new ContentPolicyName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy}. + /// + /// The Organization ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The ContentPolicy ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ContentPolicyName FromOrganizationLocationContentPolicy(string organizationId, string locationId, string contentPolicyId) => + new ContentPolicyName(ResourceNameType.OrganizationLocationContentPolicy, organizationId: gax::GaxPreconditions.CheckNotNullOrEmpty(organizationId, nameof(organizationId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), contentPolicyId: gax::GaxPreconditions.CheckNotNullOrEmpty(contentPolicyId, nameof(contentPolicyId))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/contentPolicies/{content_policy}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The ContentPolicy ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static ContentPolicyName FromProjectLocationContentPolicy(string projectId, string locationId, string contentPolicyId) => + new ContentPolicyName(ResourceNameType.ProjectLocationContentPolicy, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), contentPolicyId: gax::GaxPreconditions.CheckNotNullOrEmpty(contentPolicyId, nameof(contentPolicyId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy}. + /// + /// The Organization ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The ContentPolicy ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy}. + /// + public static string Format(string organizationId, string locationId, string contentPolicyId) => + FormatOrganizationLocationContentPolicy(organizationId, locationId, contentPolicyId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy}. + /// + /// The Organization ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The ContentPolicy ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy}. + /// + public static string FormatOrganizationLocationContentPolicy(string organizationId, string locationId, string contentPolicyId) => + s_organizationLocationContentPolicy.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(organizationId, nameof(organizationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(contentPolicyId, nameof(contentPolicyId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/contentPolicies/{content_policy}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The ContentPolicy ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/contentPolicies/{content_policy}. + /// + public static string FormatProjectLocationContentPolicy(string projectId, string locationId, string contentPolicyId) => + s_projectLocationContentPolicy.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(contentPolicyId, nameof(contentPolicyId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// + /// projects/{project}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static ContentPolicyName Parse(string contentPolicyName) => Parse(contentPolicyName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// + /// projects/{project}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static ContentPolicyName Parse(string contentPolicyName, bool allowUnparsed) => + TryParse(contentPolicyName, allowUnparsed, out ContentPolicyName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// + /// projects/{project}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string contentPolicyName, out ContentPolicyName result) => + TryParse(contentPolicyName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// + /// projects/{project}/locations/{location}/contentPolicies/{content_policy} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string contentPolicyName, bool allowUnparsed, out ContentPolicyName result) + { + gax::GaxPreconditions.CheckNotNull(contentPolicyName, nameof(contentPolicyName)); + gax::TemplatedResourceName resourceName; + if (s_organizationLocationContentPolicy.TryParseName(contentPolicyName, out resourceName)) + { + result = FromOrganizationLocationContentPolicy(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (s_projectLocationContentPolicy.TryParseName(contentPolicyName, out resourceName)) + { + result = FromProjectLocationContentPolicy(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(contentPolicyName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private ContentPolicyName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string contentPolicyId = null, string locationId = null, string organizationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + ContentPolicyId = contentPolicyId; + LocationId = locationId; + OrganizationId = organizationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// organizations/{organization}/locations/{location}/contentPolicies/{content_policy} + /// + /// The Organization ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The ContentPolicy ID. Must not be null or empty. + public ContentPolicyName(string organizationId, string locationId, string contentPolicyId) : this(ResourceNameType.OrganizationLocationContentPolicy, organizationId: gax::GaxPreconditions.CheckNotNullOrEmpty(organizationId, nameof(organizationId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), contentPolicyId: gax::GaxPreconditions.CheckNotNullOrEmpty(contentPolicyId, nameof(contentPolicyId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The ContentPolicy ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string ContentPolicyId { get; } + + /// + /// The Location ID. May be null, depending on which resource name is contained by this instance. + /// + public string LocationId { get; } + + /// + /// The Organization ID. May be null, depending on which resource name is contained by this + /// instance. + /// + public string OrganizationId { get; } + + /// + /// The Project ID. May be null, depending on which resource name is contained by this instance. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.OrganizationLocationContentPolicy: return s_organizationLocationContentPolicy.Expand(OrganizationId, LocationId, ContentPolicyId); + case ResourceNameType.ProjectLocationContentPolicy: return s_projectLocationContentPolicy.Expand(ProjectId, LocationId, ContentPolicyId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as ContentPolicyName); + + /// + public bool Equals(ContentPolicyName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(ContentPolicyName a, ContentPolicyName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(ContentPolicyName a, ContentPolicyName b) => !(a == b); + } + /// Resource name for the FhirStore resource. public sealed partial class FhirStoreName : gax::IResourceName, sys::IEquatable { - /// The possible contents of . + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// + ProjectLocationDatasetFhirStore = 1, + } + + private static gax::PathTemplate s_projectLocationDatasetFhirStore = new gax::PathTemplate("projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static FhirStoreName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new FhirStoreName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static FhirStoreName FromProjectLocationDatasetFhirStore(string projectId, string locationId, string datasetId, string fhirStoreId) => + new FhirStoreName(ResourceNameType.ProjectLocationDatasetFhirStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// + public static string Format(string projectId, string locationId, string datasetId, string fhirStoreId) => + FormatProjectLocationDatasetFhirStore(projectId, locationId, datasetId, fhirStoreId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// + public static string FormatProjectLocationDatasetFhirStore(string projectId, string locationId, string datasetId, string fhirStoreId) => + s_projectLocationDatasetFhirStore.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static FhirStoreName Parse(string fhirStoreName) => Parse(fhirStoreName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static FhirStoreName Parse(string fhirStoreName, bool allowUnparsed) => + TryParse(fhirStoreName, allowUnparsed, out FhirStoreName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string fhirStoreName, out FhirStoreName result) => TryParse(fhirStoreName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string fhirStoreName, bool allowUnparsed, out FhirStoreName result) + { + gax::GaxPreconditions.CheckNotNull(fhirStoreName, nameof(fhirStoreName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationDatasetFhirStore.TryParseName(fhirStoreName, out resourceName)) + { + result = FromProjectLocationDatasetFhirStore(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(fhirStoreName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private FhirStoreName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string datasetId = null, string fhirStoreId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + DatasetId = datasetId; + FhirStoreId = fhirStoreId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + public FhirStoreName(string projectId, string locationId, string datasetId, string fhirStoreId) : this(ResourceNameType.ProjectLocationDatasetFhirStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Dataset ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string DatasetId { get; } + + /// + /// The FhirStore ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string FhirStoreId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationDatasetFhirStore: return s_projectLocationDatasetFhirStore.Expand(ProjectId, LocationId, DatasetId, FhirStoreId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as FhirStoreName); + + /// + public bool Equals(FhirStoreName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(FhirStoreName a, FhirStoreName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(FhirStoreName a, FhirStoreName b) => !(a == b); + } + + /// Resource name for the FhirResource resource. + public sealed partial class FhirResourceName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// . + /// + ProjectLocationDatasetFhirStoreResourceTypeFhirResource = 1, + } + + private static gax::PathTemplate s_projectLocationDatasetFhirStoreResourceTypeFhirResource = new gax::PathTemplate("projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static FhirResourceName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new FhirResourceName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// The ResourceType ID. Must not be null or empty. + /// The FhirResource ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static FhirResourceName FromProjectLocationDatasetFhirStoreResourceTypeFhirResource(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) => + new FhirResourceName(ResourceNameType.ProjectLocationDatasetFhirStoreResourceTypeFhirResource, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId)), resourceTypeId: gax::GaxPreconditions.CheckNotNullOrEmpty(resourceTypeId, nameof(resourceTypeId)), fhirResourceId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirResourceId, nameof(fhirResourceId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// The ResourceType ID. Must not be null or empty. + /// The FhirResource ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// . + /// + public static string Format(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) => + FormatProjectLocationDatasetFhirStoreResourceTypeFhirResource(projectId, locationId, datasetId, fhirStoreId, resourceTypeId, fhirResourceId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// The ResourceType ID. Must not be null or empty. + /// The FhirResource ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// . + /// + public static string FormatProjectLocationDatasetFhirStoreResourceTypeFhirResource(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) => + s_projectLocationDatasetFhirStoreResourceTypeFhirResource.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId)), gax::GaxPreconditions.CheckNotNullOrEmpty(resourceTypeId, nameof(resourceTypeId)), gax::GaxPreconditions.CheckNotNullOrEmpty(fhirResourceId, nameof(fhirResourceId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static FhirResourceName Parse(string fhirResourceName) => Parse(fhirResourceName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static FhirResourceName Parse(string fhirResourceName, bool allowUnparsed) => + TryParse(fhirResourceName, allowUnparsed, out FhirResourceName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string fhirResourceName, out FhirResourceName result) => + TryParse(fhirResourceName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string fhirResourceName, bool allowUnparsed, out FhirResourceName result) + { + gax::GaxPreconditions.CheckNotNull(fhirResourceName, nameof(fhirResourceName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationDatasetFhirStoreResourceTypeFhirResource.TryParseName(fhirResourceName, out resourceName)) + { + result = FromProjectLocationDatasetFhirStoreResourceTypeFhirResource(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4], resourceName[5]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(fhirResourceName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private FhirResourceName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string datasetId = null, string fhirResourceId = null, string fhirStoreId = null, string locationId = null, string projectId = null, string resourceTypeId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + DatasetId = datasetId; + FhirResourceId = fhirResourceId; + FhirStoreId = fhirStoreId; + LocationId = locationId; + ProjectId = projectId; + ResourceTypeId = resourceTypeId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// + /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Dataset ID. Must not be null or empty. + /// The FhirStore ID. Must not be null or empty. + /// The ResourceType ID. Must not be null or empty. + /// The FhirResource ID. Must not be null or empty. + public FhirResourceName(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) : this(ResourceNameType.ProjectLocationDatasetFhirStoreResourceTypeFhirResource, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId)), resourceTypeId: gax::GaxPreconditions.CheckNotNullOrEmpty(resourceTypeId, nameof(resourceTypeId)), fhirResourceId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirResourceId, nameof(fhirResourceId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Dataset ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string DatasetId { get; } + + /// + /// The FhirResource ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string FhirResourceId { get; } + + /// + /// The FhirStore ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string FhirStoreId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The ResourceType ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string ResourceTypeId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationDatasetFhirStoreResourceTypeFhirResource: return s_projectLocationDatasetFhirStoreResourceTypeFhirResource.Expand(ProjectId, LocationId, DatasetId, FhirStoreId, ResourceTypeId, FhirResourceId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as FhirResourceName); + + /// + public bool Equals(FhirResourceName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(FhirResourceName a, FhirResourceName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(FhirResourceName a, FhirResourceName b) => !(a == b); + } + + /// Resource name for the CryptoKeys resource. + public sealed partial class CryptoKeysName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . public enum ResourceNameType { /// An unparsed resource name. @@ -1518,81 +3193,81 @@ public enum ResourceNameType /// /// A resource name with pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// - ProjectLocationDatasetFhirStore = 1, + ProjectLocationKeyRingCryptoKey = 1, } - private static gax::PathTemplate s_projectLocationDatasetFhirStore = new gax::PathTemplate("projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}"); + private static gax::PathTemplate s_projectLocationKeyRingCryptoKey = new gax::PathTemplate("projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}"); - /// Creates a containing an unparsed resource name. + /// Creates a containing an unparsed resource name. /// The unparsed resource name. Must not be null. /// - /// A new instance of containing the provided + /// A new instance of containing the provided /// . /// - public static FhirStoreName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => - new FhirStoreName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + public static CryptoKeysName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new CryptoKeysName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); /// - /// Creates a with the pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// Creates a with the pattern + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. - /// A new instance of constructed from the provided ids. - public static FhirStoreName FromProjectLocationDatasetFhirStore(string projectId, string locationId, string datasetId, string fhirStoreId) => - new FhirStoreName(ResourceNameType.ProjectLocationDatasetFhirStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId))); + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static CryptoKeysName FromProjectLocationKeyRingCryptoKey(string projectId, string locationId, string keyRingId, string cryptoKeyId) => + new CryptoKeysName(ResourceNameType.ProjectLocationKeyRingCryptoKey, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), keyRingId: gax::GaxPreconditions.CheckNotNullOrEmpty(keyRingId, nameof(keyRingId)), cryptoKeyId: gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyId, nameof(cryptoKeyId))); /// - /// Formats the IDs into the string representation of this with pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. /// - /// The string representation of this with pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// - public static string Format(string projectId, string locationId, string datasetId, string fhirStoreId) => - FormatProjectLocationDatasetFhirStore(projectId, locationId, datasetId, fhirStoreId); + public static string Format(string projectId, string locationId, string keyRingId, string cryptoKeyId) => + FormatProjectLocationKeyRingCryptoKey(projectId, locationId, keyRingId, cryptoKeyId); /// - /// Formats the IDs into the string representation of this with pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. /// - /// The string representation of this with pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}. + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// - public static string FormatProjectLocationDatasetFhirStore(string projectId, string locationId, string datasetId, string fhirStoreId) => - s_projectLocationDatasetFhirStore.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId))); + public static string FormatProjectLocationKeyRingCryptoKey(string projectId, string locationId, string keyRingId, string cryptoKeyId) => + s_projectLocationKeyRingCryptoKey.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(keyRingId, nameof(keyRingId)), gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyId, nameof(cryptoKeyId))); - /// Parses the given resource name string into a new instance. + /// Parses the given resource name string into a new instance. /// /// To parse successfully, the resource name must be formatted as one of the following: /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key} /// /// /// /// - /// The resource name in string form. Must not be null. - /// The parsed if successful. - public static FhirStoreName Parse(string fhirStoreName) => Parse(fhirStoreName, false); + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static CryptoKeysName Parse(string cryptoKeysName) => Parse(cryptoKeysName, false); /// - /// Parses the given resource name string into a new instance; optionally allowing + /// Parses the given resource name string into a new instance; optionally allowing /// an unparseable resource name. /// /// @@ -1600,44 +3275,45 @@ public static string FormatProjectLocationDatasetFhirStore(string projectId, str /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key} /// /// /// /// Or may be in any format if is true. /// - /// The resource name in string form. Must not be null. + /// The resource name in string form. Must not be null. /// /// If true will successfully store an unparseable resource name into the /// property; otherwise will throw an if an unparseable resource name is /// specified. /// - /// The parsed if successful. - public static FhirStoreName Parse(string fhirStoreName, bool allowUnparsed) => - TryParse(fhirStoreName, allowUnparsed, out FhirStoreName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + /// The parsed if successful. + public static CryptoKeysName Parse(string cryptoKeysName, bool allowUnparsed) => + TryParse(cryptoKeysName, allowUnparsed, out CryptoKeysName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); /// - /// Tries to parse the given resource name string into a new instance. + /// Tries to parse the given resource name string into a new instance. /// /// /// To parse successfully, the resource name must be formatted as one of the following: /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key} /// /// /// /// - /// The resource name in string form. Must not be null. + /// The resource name in string form. Must not be null. /// - /// When this method returns, the parsed , or null if parsing failed. + /// When this method returns, the parsed , or null if parsing failed. /// /// true if the name was parsed successfully; false otherwise. - public static bool TryParse(string fhirStoreName, out FhirStoreName result) => TryParse(fhirStoreName, false, out result); + public static bool TryParse(string cryptoKeysName, out CryptoKeysName result) => + TryParse(cryptoKeysName, false, out result); /// - /// Tries to parse the given resource name string into a new instance; optionally + /// Tries to parse the given resource name string into a new instance; optionally /// allowing an unparseable resource name. /// /// @@ -1645,34 +3321,34 @@ public static FhirStoreName Parse(string fhirStoreName, bool allowUnparsed) => /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key} /// /// /// /// Or may be in any format if is true. /// - /// The resource name in string form. Must not be null. + /// The resource name in string form. Must not be null. /// /// If true will successfully store an unparseable resource name into the /// property; otherwise will throw an if an unparseable resource name is /// specified. /// /// - /// When this method returns, the parsed , or null if parsing failed. + /// When this method returns, the parsed , or null if parsing failed. /// /// true if the name was parsed successfully; false otherwise. - public static bool TryParse(string fhirStoreName, bool allowUnparsed, out FhirStoreName result) + public static bool TryParse(string cryptoKeysName, bool allowUnparsed, out CryptoKeysName result) { - gax::GaxPreconditions.CheckNotNull(fhirStoreName, nameof(fhirStoreName)); + gax::GaxPreconditions.CheckNotNull(cryptoKeysName, nameof(cryptoKeysName)); gax::TemplatedResourceName resourceName; - if (s_projectLocationDatasetFhirStore.TryParseName(fhirStoreName, out resourceName)) + if (s_projectLocationKeyRingCryptoKey.TryParseName(cryptoKeysName, out resourceName)) { - result = FromProjectLocationDatasetFhirStore(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + result = FromProjectLocationKeyRingCryptoKey(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); return true; } if (allowUnparsed) { - if (gax::UnparsedResourceName.TryParse(fhirStoreName, out gax::UnparsedResourceName unparsedResourceName)) + if (gax::UnparsedResourceName.TryParse(cryptoKeysName, out gax::UnparsedResourceName unparsedResourceName)) { result = FromUnparsed(unparsedResourceName); return true; @@ -1682,25 +3358,25 @@ public static bool TryParse(string fhirStoreName, bool allowUnparsed, out FhirSt return false; } - private FhirStoreName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string datasetId = null, string fhirStoreId = null, string locationId = null, string projectId = null) + private CryptoKeysName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string cryptoKeyId = null, string keyRingId = null, string locationId = null, string projectId = null) { Type = type; UnparsedResource = unparsedResourceName; - DatasetId = datasetId; - FhirStoreId = fhirStoreId; + CryptoKeyId = cryptoKeyId; + KeyRingId = keyRingId; LocationId = locationId; ProjectId = projectId; } /// - /// Constructs a new instance of a class from the component parts of pattern - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store} + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key} /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. - public FhirStoreName(string projectId, string locationId, string datasetId, string fhirStoreId) : this(ResourceNameType.ProjectLocationDatasetFhirStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId))) + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. + public CryptoKeysName(string projectId, string locationId, string keyRingId, string cryptoKeyId) : this(ResourceNameType.ProjectLocationKeyRingCryptoKey, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), keyRingId: gax::GaxPreconditions.CheckNotNullOrEmpty(keyRingId, nameof(keyRingId)), cryptoKeyId: gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyId, nameof(cryptoKeyId))) { } @@ -1714,14 +3390,14 @@ public FhirStoreName(string projectId, string locationId, string datasetId, stri public gax::UnparsedResourceName UnparsedResource { get; } /// - /// The Dataset ID. Will not be null, unless this instance contains an unparsed resource name. + /// The CryptoKey ID. Will not be null, unless this instance contains an unparsed resource name. /// - public string DatasetId { get; } + public string CryptoKeyId { get; } /// - /// The FhirStore ID. Will not be null, unless this instance contains an unparsed resource name. + /// The KeyRing ID. Will not be null, unless this instance contains an unparsed resource name. /// - public string FhirStoreId { get; } + public string KeyRingId { get; } /// /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. @@ -1743,7 +3419,7 @@ public override string ToString() switch (Type) { case ResourceNameType.Unparsed: return UnparsedResource.ToString(); - case ResourceNameType.ProjectLocationDatasetFhirStore: return s_projectLocationDatasetFhirStore.Expand(ProjectId, LocationId, DatasetId, FhirStoreId); + case ResourceNameType.ProjectLocationKeyRingCryptoKey: return s_projectLocationKeyRingCryptoKey.Expand(ProjectId, LocationId, KeyRingId, CryptoKeyId); default: throw new sys::InvalidOperationException("Unrecognized resource-type."); } } @@ -1752,10 +3428,10 @@ public override string ToString() public override int GetHashCode() => ToString().GetHashCode(); /// - public override bool Equals(object obj) => Equals(obj as FhirStoreName); + public override bool Equals(object obj) => Equals(obj as CryptoKeysName); /// - public bool Equals(FhirStoreName other) => ToString() == other?.ToString(); + public bool Equals(CryptoKeysName other) => ToString() == other?.ToString(); /// Determines whether two specified resource names have the same value. /// The first resource name to compare, or null. @@ -1764,7 +3440,7 @@ public override string ToString() /// true if the value of is the same as the value of ; otherwise, /// false. /// - public static bool operator ==(FhirStoreName a, FhirStoreName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + public static bool operator ==(CryptoKeysName a, CryptoKeysName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); /// Determines whether two specified resource names have different values. /// The first resource name to compare, or null. @@ -1773,13 +3449,13 @@ public override string ToString() /// true if the value of is different from the value of ; otherwise, /// false. /// - public static bool operator !=(FhirStoreName a, FhirStoreName b) => !(a == b); + public static bool operator !=(CryptoKeysName a, CryptoKeysName b) => !(a == b); } - /// Resource name for the FhirResource resource. - public sealed partial class FhirResourceName : gax::IResourceName, sys::IEquatable + /// Resource name for the CryptoKeyVersions resource. + public sealed partial class CryptoKeyVersionsName : gax::IResourceName, sys::IEquatable { - /// The possible contents of . + /// The possible contents of . public enum ResourceNameType { /// An unparsed resource name. @@ -1788,99 +3464,98 @@ public enum ResourceNameType /// /// A resource name with pattern /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// . /// - ProjectLocationDatasetFhirStoreResourceTypeFhirResource = 1, + ProjectLocationKeyRingCryptoKeyCryptoKeyVersion = 1, } - private static gax::PathTemplate s_projectLocationDatasetFhirStoreResourceTypeFhirResource = new gax::PathTemplate("projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}"); + private static gax::PathTemplate s_projectLocationKeyRingCryptoKeyCryptoKeyVersion = new gax::PathTemplate("projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}"); - /// Creates a containing an unparsed resource name. + /// Creates a containing an unparsed resource name. /// The unparsed resource name. Must not be null. /// - /// A new instance of containing the provided + /// A new instance of containing the provided /// . /// - public static FhirResourceName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => - new FhirResourceName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + public static CryptoKeyVersionsName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new CryptoKeyVersionsName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); /// - /// Creates a with the pattern + /// Creates a with the pattern /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// . /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. - /// The ResourceType ID. Must not be null or empty. - /// The FhirResource ID. Must not be null or empty. - /// A new instance of constructed from the provided ids. - public static FhirResourceName FromProjectLocationDatasetFhirStoreResourceTypeFhirResource(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) => - new FhirResourceName(ResourceNameType.ProjectLocationDatasetFhirStoreResourceTypeFhirResource, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId)), resourceTypeId: gax::GaxPreconditions.CheckNotNullOrEmpty(resourceTypeId, nameof(resourceTypeId)), fhirResourceId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirResourceId, nameof(fhirResourceId))); + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. + /// The CryptoKeyVersion ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static CryptoKeyVersionsName FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion(string projectId, string locationId, string keyRingId, string cryptoKeyId, string cryptoKeyVersionId) => + new CryptoKeyVersionsName(ResourceNameType.ProjectLocationKeyRingCryptoKeyCryptoKeyVersion, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), keyRingId: gax::GaxPreconditions.CheckNotNullOrEmpty(keyRingId, nameof(keyRingId)), cryptoKeyId: gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyId, nameof(cryptoKeyId)), cryptoKeyVersionId: gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyVersionId, nameof(cryptoKeyVersionId))); /// - /// Formats the IDs into the string representation of this with pattern + /// Formats the IDs into the string representation of this with pattern /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// . /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. - /// The ResourceType ID. Must not be null or empty. - /// The FhirResource ID. Must not be null or empty. + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. + /// The CryptoKeyVersion ID. Must not be null or empty. /// - /// The string representation of this with pattern + /// The string representation of this with pattern /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// . /// - public static string Format(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) => - FormatProjectLocationDatasetFhirStoreResourceTypeFhirResource(projectId, locationId, datasetId, fhirStoreId, resourceTypeId, fhirResourceId); + public static string Format(string projectId, string locationId, string keyRingId, string cryptoKeyId, string cryptoKeyVersionId) => + FormatProjectLocationKeyRingCryptoKeyCryptoKeyVersion(projectId, locationId, keyRingId, cryptoKeyId, cryptoKeyVersionId); /// - /// Formats the IDs into the string representation of this with pattern + /// Formats the IDs into the string representation of this with pattern /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// . /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. - /// The ResourceType ID. Must not be null or empty. - /// The FhirResource ID. Must not be null or empty. + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. + /// The CryptoKeyVersion ID. Must not be null or empty. /// - /// The string representation of this with pattern + /// The string representation of this with pattern /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// . /// - public static string FormatProjectLocationDatasetFhirStoreResourceTypeFhirResource(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) => - s_projectLocationDatasetFhirStoreResourceTypeFhirResource.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId)), gax::GaxPreconditions.CheckNotNullOrEmpty(resourceTypeId, nameof(resourceTypeId)), gax::GaxPreconditions.CheckNotNullOrEmpty(fhirResourceId, nameof(fhirResourceId))); + public static string FormatProjectLocationKeyRingCryptoKeyCryptoKeyVersion(string projectId, string locationId, string keyRingId, string cryptoKeyId, string cryptoKeyVersionId) => + s_projectLocationKeyRingCryptoKeyCryptoKeyVersion.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(keyRingId, nameof(keyRingId)), gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyId, nameof(cryptoKeyId)), gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyVersionId, nameof(cryptoKeyVersionId))); - /// Parses the given resource name string into a new instance. + /// + /// Parses the given resource name string into a new instance. + /// /// /// To parse successfully, the resource name must be formatted as one of the following: /// /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// /// /// /// - /// The resource name in string form. Must not be null. - /// The parsed if successful. - public static FhirResourceName Parse(string fhirResourceName) => Parse(fhirResourceName, false); + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static CryptoKeyVersionsName Parse(string cryptoKeyVersionsName) => Parse(cryptoKeyVersionsName, false); /// - /// Parses the given resource name string into a new instance; optionally + /// Parses the given resource name string into a new instance; optionally /// allowing an unparseable resource name. /// /// @@ -1889,24 +3564,24 @@ public static string FormatProjectLocationDatasetFhirStoreResourceTypeFhirResour /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// /// /// /// Or may be in any format if is true. /// - /// The resource name in string form. Must not be null. + /// The resource name in string form. Must not be null. /// /// If true will successfully store an unparseable resource name into the /// property; otherwise will throw an if an unparseable resource name is /// specified. /// - /// The parsed if successful. - public static FhirResourceName Parse(string fhirResourceName, bool allowUnparsed) => - TryParse(fhirResourceName, allowUnparsed, out FhirResourceName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + /// The parsed if successful. + public static CryptoKeyVersionsName Parse(string cryptoKeyVersionsName, bool allowUnparsed) => + TryParse(cryptoKeyVersionsName, allowUnparsed, out CryptoKeyVersionsName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); /// - /// Tries to parse the given resource name string into a new instance. + /// Tries to parse the given resource name string into a new instance. /// /// /// To parse successfully, the resource name must be formatted as one of the following: @@ -1914,22 +3589,22 @@ public static FhirResourceName Parse(string fhirResourceName, bool allowUnparsed /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// /// /// /// - /// The resource name in string form. Must not be null. + /// The resource name in string form. Must not be null. /// - /// When this method returns, the parsed , or null if parsing failed. + /// When this method returns, the parsed , or null if parsing failed. /// /// true if the name was parsed successfully; false otherwise. - public static bool TryParse(string fhirResourceName, out FhirResourceName result) => - TryParse(fhirResourceName, false, out result); + public static bool TryParse(string cryptoKeyVersionsName, out CryptoKeyVersionsName result) => + TryParse(cryptoKeyVersionsName, false, out result); /// - /// Tries to parse the given resource name string into a new instance; optionally - /// allowing an unparseable resource name. + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. /// /// /// To parse successfully, the resource name must be formatted as one of the following: @@ -1937,34 +3612,34 @@ public static bool TryParse(string fhirResourceName, out FhirResourceName result /// /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// /// /// /// Or may be in any format if is true. /// - /// The resource name in string form. Must not be null. + /// The resource name in string form. Must not be null. /// /// If true will successfully store an unparseable resource name into the /// property; otherwise will throw an if an unparseable resource name is /// specified. /// /// - /// When this method returns, the parsed , or null if parsing failed. + /// When this method returns, the parsed , or null if parsing failed. /// /// true if the name was parsed successfully; false otherwise. - public static bool TryParse(string fhirResourceName, bool allowUnparsed, out FhirResourceName result) + public static bool TryParse(string cryptoKeyVersionsName, bool allowUnparsed, out CryptoKeyVersionsName result) { - gax::GaxPreconditions.CheckNotNull(fhirResourceName, nameof(fhirResourceName)); + gax::GaxPreconditions.CheckNotNull(cryptoKeyVersionsName, nameof(cryptoKeyVersionsName)); gax::TemplatedResourceName resourceName; - if (s_projectLocationDatasetFhirStoreResourceTypeFhirResource.TryParseName(fhirResourceName, out resourceName)) + if (s_projectLocationKeyRingCryptoKeyCryptoKeyVersion.TryParseName(cryptoKeyVersionsName, out resourceName)) { - result = FromProjectLocationDatasetFhirStoreResourceTypeFhirResource(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4], resourceName[5]); + result = FromProjectLocationKeyRingCryptoKeyCryptoKeyVersion(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4]); return true; } if (allowUnparsed) { - if (gax::UnparsedResourceName.TryParse(fhirResourceName, out gax::UnparsedResourceName unparsedResourceName)) + if (gax::UnparsedResourceName.TryParse(cryptoKeyVersionsName, out gax::UnparsedResourceName unparsedResourceName)) { result = FromUnparsed(unparsedResourceName); return true; @@ -1974,30 +3649,29 @@ public static bool TryParse(string fhirResourceName, bool allowUnparsed, out Fhi return false; } - private FhirResourceName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string datasetId = null, string fhirResourceId = null, string fhirStoreId = null, string locationId = null, string projectId = null, string resourceTypeId = null) + private CryptoKeyVersionsName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string cryptoKeyId = null, string cryptoKeyVersionId = null, string keyRingId = null, string locationId = null, string projectId = null) { Type = type; UnparsedResource = unparsedResourceName; - DatasetId = datasetId; - FhirResourceId = fhirResourceId; - FhirStoreId = fhirStoreId; + CryptoKeyId = cryptoKeyId; + CryptoKeyVersionId = cryptoKeyVersionId; + KeyRingId = keyRingId; LocationId = locationId; ProjectId = projectId; - ResourceTypeId = resourceTypeId; } /// - /// Constructs a new instance of a class from the component parts of pattern + /// Constructs a new instance of a class from the component parts of pattern + /// /// - /// projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version} /// /// The Project ID. Must not be null or empty. /// The Location ID. Must not be null or empty. - /// The Dataset ID. Must not be null or empty. - /// The FhirStore ID. Must not be null or empty. - /// The ResourceType ID. Must not be null or empty. - /// The FhirResource ID. Must not be null or empty. - public FhirResourceName(string projectId, string locationId, string datasetId, string fhirStoreId, string resourceTypeId, string fhirResourceId) : this(ResourceNameType.ProjectLocationDatasetFhirStoreResourceTypeFhirResource, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), datasetId: gax::GaxPreconditions.CheckNotNullOrEmpty(datasetId, nameof(datasetId)), fhirStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirStoreId, nameof(fhirStoreId)), resourceTypeId: gax::GaxPreconditions.CheckNotNullOrEmpty(resourceTypeId, nameof(resourceTypeId)), fhirResourceId: gax::GaxPreconditions.CheckNotNullOrEmpty(fhirResourceId, nameof(fhirResourceId))) + /// The KeyRing ID. Must not be null or empty. + /// The CryptoKey ID. Must not be null or empty. + /// The CryptoKeyVersion ID. Must not be null or empty. + public CryptoKeyVersionsName(string projectId, string locationId, string keyRingId, string cryptoKeyId, string cryptoKeyVersionId) : this(ResourceNameType.ProjectLocationKeyRingCryptoKeyCryptoKeyVersion, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), keyRingId: gax::GaxPreconditions.CheckNotNullOrEmpty(keyRingId, nameof(keyRingId)), cryptoKeyId: gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyId, nameof(cryptoKeyId)), cryptoKeyVersionId: gax::GaxPreconditions.CheckNotNullOrEmpty(cryptoKeyVersionId, nameof(cryptoKeyVersionId))) { } @@ -2011,20 +3685,20 @@ public FhirResourceName(string projectId, string locationId, string datasetId, s public gax::UnparsedResourceName UnparsedResource { get; } /// - /// The Dataset ID. Will not be null, unless this instance contains an unparsed resource name. + /// The CryptoKey ID. Will not be null, unless this instance contains an unparsed resource name. /// - public string DatasetId { get; } + public string CryptoKeyId { get; } /// - /// The FhirResource ID. Will not be null, unless this instance contains an unparsed resource + /// The CryptoKeyVersion ID. Will not be null, unless this instance contains an unparsed resource /// name. /// - public string FhirResourceId { get; } + public string CryptoKeyVersionId { get; } /// - /// The FhirStore ID. Will not be null, unless this instance contains an unparsed resource name. + /// The KeyRing ID. Will not be null, unless this instance contains an unparsed resource name. /// - public string FhirStoreId { get; } + public string KeyRingId { get; } /// /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. @@ -2036,12 +3710,6 @@ public FhirResourceName(string projectId, string locationId, string datasetId, s /// public string ProjectId { get; } - /// - /// The ResourceType ID. Will not be null, unless this instance contains an unparsed resource - /// name. - /// - public string ResourceTypeId { get; } - /// Whether this instance contains a resource name with a known pattern. public bool IsKnownPattern => Type != ResourceNameType.Unparsed; @@ -2052,7 +3720,7 @@ public override string ToString() switch (Type) { case ResourceNameType.Unparsed: return UnparsedResource.ToString(); - case ResourceNameType.ProjectLocationDatasetFhirStoreResourceTypeFhirResource: return s_projectLocationDatasetFhirStoreResourceTypeFhirResource.Expand(ProjectId, LocationId, DatasetId, FhirStoreId, ResourceTypeId, FhirResourceId); + case ResourceNameType.ProjectLocationKeyRingCryptoKeyCryptoKeyVersion: return s_projectLocationKeyRingCryptoKeyCryptoKeyVersion.Expand(ProjectId, LocationId, KeyRingId, CryptoKeyId, CryptoKeyVersionId); default: throw new sys::InvalidOperationException("Unrecognized resource-type."); } } @@ -2061,10 +3729,10 @@ public override string ToString() public override int GetHashCode() => ToString().GetHashCode(); /// - public override bool Equals(object obj) => Equals(obj as FhirResourceName); + public override bool Equals(object obj) => Equals(obj as CryptoKeyVersionsName); /// - public bool Equals(FhirResourceName other) => ToString() == other?.ToString(); + public bool Equals(CryptoKeyVersionsName other) => ToString() == other?.ToString(); /// Determines whether two specified resource names have the same value. /// The first resource name to compare, or null. @@ -2073,7 +3741,7 @@ public override string ToString() /// true if the value of is the same as the value of ; otherwise, /// false. /// - public static bool operator ==(FhirResourceName a, FhirResourceName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + public static bool operator ==(CryptoKeyVersionsName a, CryptoKeyVersionsName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); /// Determines whether two specified resource names have different values. /// The first resource name to compare, or null. @@ -2082,6 +3750,18 @@ public override string ToString() /// true if the value of is different from the value of ; otherwise, /// false. /// - public static bool operator !=(FhirResourceName a, FhirResourceName b) => !(a == b); + public static bool operator !=(CryptoKeyVersionsName a, CryptoKeyVersionsName b) => !(a == b); + } + + public partial class SearchLinkPromotion + { + /// + /// -typed view over the resource name property. + /// + public DocumentName DocumentAsDocumentName + { + get => string.IsNullOrEmpty(Document) ? null : DocumentName.Parse(Document, allowUnparsed: true); + set => Document = value?.ToString() ?? ""; + } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionService.g.cs index c6758020d40f..c310fcb3ff24 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionService.g.cs @@ -35,148 +35,182 @@ static CompletionServiceReflection() { "X2NvbmZpZy5wcm90bxo2Z29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2luZS92", "MWJldGEvcHVyZ2VfY29uZmlnLnByb3RvGiNnb29nbGUvbG9uZ3J1bm5pbmcv", "b3BlcmF0aW9ucy5wcm90bxofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5w", - "cm90byK/AQoUQ29tcGxldGVRdWVyeVJlcXVlc3QSRAoKZGF0YV9zdG9yZRgB", + "cm90byLEAQoUQ29tcGxldGVRdWVyeVJlcXVlc3QSRAoKZGF0YV9zdG9yZRgB", "IAEoCUIw4EEC+kEqCihkaXNjb3ZlcnllbmdpbmUuZ29vZ2xlYXBpcy5jb20v", "RGF0YVN0b3JlEhIKBXF1ZXJ5GAIgASgJQgPgQQISEwoLcXVlcnlfbW9kZWwY", - "AyABKAkSFgoOdXNlcl9wc2V1ZG9faWQYBCABKAkSIAoYaW5jbHVkZV90YWls", - "X3N1Z2dlc3Rpb25zGAUgASgIIuQBChVDb21wbGV0ZVF1ZXJ5UmVzcG9uc2US", - "ZQoRcXVlcnlfc3VnZ2VzdGlvbnMYASADKAsySi5nb29nbGUuY2xvdWQuZGlz", - "Y292ZXJ5ZW5naW5lLnYxYmV0YS5Db21wbGV0ZVF1ZXJ5UmVzcG9uc2UuUXVl", - "cnlTdWdnZXN0aW9uEhwKFHRhaWxfbWF0Y2hfdHJpZ2dlc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8qL2NvbXBsZXRpb25Db25maWd9OnJl", + "bW92ZVN1Z2dlc3Rpb246ASoawwLKQR5kaXNjb3ZlcnllbmdpbmUuZ29vZ2xl", + "YXBpcy5jb23SQZ4CaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9j", + "bG91ZC1wbGF0Zm9ybSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRo", + "L2Nsb3VkX3NlYXJjaC5xdWVyeSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNv", + "bS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5hc3Npc3QucmVhZHdyaXRlLGh0dHBz", + "Oi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5ZW5naW5lLnJl", + "YWR3cml0ZSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2Nv", + "dmVyeWVuZ2luZS5zZXJ2aW5nLnJlYWR3cml0ZUKdAgonY29tLmdvb2dsZS5j", + "bG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQhZDb21wbGV0aW9uU2Vydmlj", + "ZVByb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5l", + "L2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVw", + "YqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlF", + "bmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxW", + "MWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0", + "YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeConfigReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest.Parser, new[]{ "DataStore", "Query", "QueryModel", "UserPseudoId", "IncludeTailSuggestions" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse.Parser, new[]{ "QuerySuggestions", "TailMatchTriggered" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse.Types.QuerySuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse.Types.QuerySuggestion.Parser, new[]{ "Suggestion", "CompletableFieldPaths" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Parser, new[]{ "CompletionConfig", "Query", "QueryModel", "UserPseudoId", "UserInfo", "IncludeTailSuggestions", "BoostSpec", "SuggestionTypes" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec.Parser, new[]{ "ConditionBoostSpecs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec.Parser, new[]{ "Condition", "Boost" }, null, null, null, null)})}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Parser, new[]{ "QuerySuggestions", "TailMatchTriggered", "PeopleSuggestions", "ContentSuggestions", "RecentSearchSuggestions" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.QuerySuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.QuerySuggestion.Parser, new[]{ "Suggestion", "CompletableFieldPaths", "DataStore" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion.Parser, new[]{ "Suggestion", "PersonType", "Document", "DataStore" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion.Types.PersonType) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion.Parser, new[]{ "Suggestion", "ContentType", "Document", "DataStore" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion.Types.ContentType) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.RecentSearchSuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.RecentSearchSuggestion.Parser, new[]{ "Suggestion", "RecentSearchTime" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Parser, new[]{ "CompletionConfig", "Query", "QueryModel", "UserPseudoId", "UserInfo", "IncludeTailSuggestions", "BoostSpec", "SuggestionTypes", "SuggestionTypeSpecs", "ExperimentIds" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec.Parser, new[]{ "ConditionBoostSpecs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec.Parser, new[]{ "Condition", "Boost" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec.Parser, new[]{ "SuggestionType", "MaxSuggestions" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Parser, new[]{ "QuerySuggestions", "TailMatchTriggered", "PeopleSuggestions", "ContentSuggestions", "RecentSearchSuggestions" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.QuerySuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.QuerySuggestion.Parser, new[]{ "Suggestion", "CompletableFieldPaths", "DataStore", "Score" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion.Parser, new[]{ "Suggestion", "PersonType", "Document", "DataStore", "Score", "DisplayPhotoUri", "DestinationUri" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion.Types.PersonType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion.Parser, new[]{ "Suggestion", "ContentType", "Document", "DataStore", "Score", "IconUri", "DestinationUri" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion.Types.ContentType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.RecentSearchSuggestion), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.RecentSearchSuggestion.Parser, new[]{ "Suggestion", "RecentSearchTime", "Score" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest.Parser, new[]{ "SearchHistorySuggestion", "RemoveAllSearchHistorySuggestions", "CompletionConfig", "UserPseudoId", "UserInfo", "RemoveTime" }, new[]{ "Suggestion" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse.Parser, null, null, null, null, null) })); } #endregion @@ -305,10 +339,10 @@ public string QueryModel { public const int UserPseudoIdFieldNumber = 4; private string userPseudoId_ = ""; /// - /// A unique identifier for tracking visitors. For example, this could be - /// implemented with an HTTP cookie, which should be able to uniquely identify - /// a visitor on a single device. This unique identifier should not change if - /// the visitor logs in or out of the website. + /// Optional. A unique identifier for tracking visitors. For example, this + /// could be implemented with an HTTP cookie, which should be able to uniquely + /// identify a visitor on a single device. This unique identifier should not + /// change if the visitor logs in or out of the website. /// /// This field should NOT have a fixed value such as `unknown_visitor`. /// @@ -1116,6 +1150,8 @@ public AdvancedCompleteQueryRequest(AdvancedCompleteQueryRequest other) : this() includeTailSuggestions_ = other.includeTailSuggestions_; boostSpec_ = other.boostSpec_ != null ? other.boostSpec_.Clone() : null; suggestionTypes_ = other.suggestionTypes_.Clone(); + suggestionTypeSpecs_ = other.suggestionTypeSpecs_.Clone(); + experimentIds_ = other.experimentIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -1169,9 +1205,9 @@ public string Query { public const int QueryModelFieldNumber = 3; private string queryModel_ = ""; /// - /// Specifies the autocomplete data model. This overrides any model specified - /// in the Configuration > Autocomplete section of the Cloud console. Currently - /// supported values: + /// Specifies the autocomplete query model, which only applies to the QUERY + /// SuggestionType. This overrides any model specified in the Configuration > + /// Autocomplete section of the Cloud console. Currently supported values: /// /// * `document` - Using suggestions generated from user-imported documents. /// * `search-history` - Using suggestions generated from the past history of @@ -1200,10 +1236,10 @@ public string QueryModel { public const int UserPseudoIdFieldNumber = 4; private string userPseudoId_ = ""; /// - /// A unique identifier for tracking visitors. For example, this could be - /// implemented with an HTTP cookie, which should be able to uniquely identify - /// a visitor on a single device. This unique identifier should not change if - /// the visitor logs in or out of the website. + /// Optional. A unique identifier for tracking visitors. For example, this + /// could be implemented with an HTTP cookie, which should be able to uniquely + /// identify a visitor on a single device. This unique identifier should not + /// change if the visitor logs in or out of the website. /// /// This field should NOT have a fixed value such as `unknown_visitor`. /// @@ -1292,6 +1328,34 @@ public bool IncludeTailSuggestions { get { return suggestionTypes_; } } + /// Field number for the "suggestion_type_specs" field. + public const int SuggestionTypeSpecsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_suggestionTypeSpecs_codec + = pb::FieldCodec.ForMessage(82, global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionTypeSpec.Parser); + private readonly pbc::RepeatedField suggestionTypeSpecs_ = new pbc::RepeatedField(); + /// + /// Optional. Specification of each suggestion type. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SuggestionTypeSpecs { + get { return suggestionTypeSpecs_; } + } + + /// Field number for the "experiment_ids" field. + public const int ExperimentIdsFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_experimentIds_codec + = pb::FieldCodec.ForString(114); + private readonly pbc::RepeatedField experimentIds_ = new pbc::RepeatedField(); + /// + /// Optional. Experiment ids for this request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExperimentIds { + get { return experimentIds_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1315,6 +1379,8 @@ public bool Equals(AdvancedCompleteQueryRequest other) { if (IncludeTailSuggestions != other.IncludeTailSuggestions) return false; if (!object.Equals(BoostSpec, other.BoostSpec)) return false; if(!suggestionTypes_.Equals(other.suggestionTypes_)) return false; + if(!suggestionTypeSpecs_.Equals(other.suggestionTypeSpecs_)) return false; + if(!experimentIds_.Equals(other.experimentIds_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1330,6 +1396,8 @@ public override int GetHashCode() { if (IncludeTailSuggestions != false) hash ^= IncludeTailSuggestions.GetHashCode(); if (boostSpec_ != null) hash ^= BoostSpec.GetHashCode(); hash ^= suggestionTypes_.GetHashCode(); + hash ^= suggestionTypeSpecs_.GetHashCode(); + hash ^= experimentIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1377,6 +1445,8 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteMessage(UserInfo); } + suggestionTypeSpecs_.WriteTo(output, _repeated_suggestionTypeSpecs_codec); + experimentIds_.WriteTo(output, _repeated_experimentIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1416,6 +1486,8 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(74); output.WriteMessage(UserInfo); } + suggestionTypeSpecs_.WriteTo(ref output, _repeated_suggestionTypeSpecs_codec); + experimentIds_.WriteTo(ref output, _repeated_experimentIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1448,6 +1520,8 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoostSpec); } size += suggestionTypes_.CalculateSize(_repeated_suggestionTypes_codec); + size += suggestionTypeSpecs_.CalculateSize(_repeated_suggestionTypeSpecs_codec); + size += experimentIds_.CalculateSize(_repeated_experimentIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1488,6 +1562,8 @@ public void MergeFrom(AdvancedCompleteQueryRequest other) { BoostSpec.MergeFrom(other.BoostSpec); } suggestionTypes_.Add(other.suggestionTypes_); + suggestionTypeSpecs_.Add(other.suggestionTypeSpecs_); + experimentIds_.Add(other.experimentIds_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1546,6 +1622,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(UserInfo); break; } + case 82: { + suggestionTypeSpecs_.AddEntriesFrom(input, _repeated_suggestionTypeSpecs_codec); + break; + } + case 114: { + experimentIds_.AddEntriesFrom(input, _repeated_experimentIds_codec); + break; + } } } #endif @@ -1604,6 +1688,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(UserInfo); break; } + case 82: { + suggestionTypeSpecs_.AddEntriesFrom(ref input, _repeated_suggestionTypeSpecs_codec); + break; + } + case 114: { + experimentIds_.AddEntriesFrom(ref input, _repeated_experimentIds_codec); + break; + } } } } @@ -1645,7 +1737,8 @@ public enum SuggestionType { } /// - /// Specification to boost suggestions based on the condtion of the suggestion. + /// Specification to boost suggestions based on the condition of the + /// suggestion. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BoostSpec : pb::IMessage @@ -1699,7 +1792,7 @@ public BoostSpec Clone() { private readonly pbc::RepeatedField conditionBoostSpecs_ = new pbc::RepeatedField(); /// /// Condition boost specifications. If a suggestion matches multiple - /// conditions in the specifictions, boost values from these specifications + /// conditions in the specifications, boost values from these specifications /// are all applied and combined in a non-linear way. Maximum number of /// specifications is 20. /// @@ -2112,6 +2205,251 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Specification of each suggestion type. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SuggestionTypeSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuggestionTypeSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionTypeSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionTypeSpec(SuggestionTypeSpec other) : this() { + suggestionType_ = other.suggestionType_; + maxSuggestions_ = other.maxSuggestions_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionTypeSpec Clone() { + return new SuggestionTypeSpec(this); + } + + /// Field number for the "suggestion_type" field. + public const int SuggestionTypeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType suggestionType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified; + /// + /// Optional. Suggestion type. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType SuggestionType { + get { return suggestionType_; } + set { + suggestionType_ = value; + } + } + + /// Field number for the "max_suggestions" field. + public const int MaxSuggestionsFieldNumber = 2; + private int maxSuggestions_; + /// + /// Optional. Maximum number of suggestions to return for each suggestion + /// type. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxSuggestions { + get { return maxSuggestions_; } + set { + maxSuggestions_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SuggestionTypeSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SuggestionTypeSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SuggestionType != other.SuggestionType) return false; + if (MaxSuggestions != other.MaxSuggestions) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SuggestionType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified) hash ^= SuggestionType.GetHashCode(); + if (MaxSuggestions != 0) hash ^= MaxSuggestions.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SuggestionType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) SuggestionType); + } + if (MaxSuggestions != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxSuggestions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SuggestionType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) SuggestionType); + } + if (MaxSuggestions != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxSuggestions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SuggestionType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SuggestionType); + } + if (MaxSuggestions != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxSuggestions); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SuggestionTypeSpec other) { + if (other == null) { + return; + } + if (other.SuggestionType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType.Unspecified) { + SuggestionType = other.SuggestionType; + } + if (other.MaxSuggestions != 0) { + MaxSuggestions = other.MaxSuggestions; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SuggestionType = (global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType) input.ReadEnum(); + break; + } + case 16: { + MaxSuggestions = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SuggestionType = (global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.SuggestionType) input.ReadEnum(); + break; + } + case 16: { + MaxSuggestions = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + } #endregion @@ -2490,6 +2828,7 @@ public QuerySuggestion(QuerySuggestion other) : this() { suggestion_ = other.suggestion_; completableFieldPaths_ = other.completableFieldPaths_.Clone(); dataStore_ = other.dataStore_.Clone(); + score_ = other.score_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2545,6 +2884,21 @@ public string Suggestion { get { return dataStore_; } } + /// Field number for the "score" field. + public const int ScoreFieldNumber = 4; + private double score_; + /// + /// The score of each suggestion. The score is in the range of [0, 1]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { return score_; } + set { + score_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2563,6 +2917,7 @@ public bool Equals(QuerySuggestion other) { if (Suggestion != other.Suggestion) return false; if(!completableFieldPaths_.Equals(other.completableFieldPaths_)) return false; if(!dataStore_.Equals(other.dataStore_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2573,6 +2928,7 @@ public override int GetHashCode() { if (Suggestion.Length != 0) hash ^= Suggestion.GetHashCode(); hash ^= completableFieldPaths_.GetHashCode(); hash ^= dataStore_.GetHashCode(); + if (Score != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2597,6 +2953,10 @@ public void WriteTo(pb::CodedOutputStream output) { } completableFieldPaths_.WriteTo(output, _repeated_completableFieldPaths_codec); dataStore_.WriteTo(output, _repeated_dataStore_codec); + if (Score != 0D) { + output.WriteRawTag(33); + output.WriteDouble(Score); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2613,6 +2973,10 @@ public void WriteTo(pb::CodedOutputStream output) { } completableFieldPaths_.WriteTo(ref output, _repeated_completableFieldPaths_codec); dataStore_.WriteTo(ref output, _repeated_dataStore_codec); + if (Score != 0D) { + output.WriteRawTag(33); + output.WriteDouble(Score); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2628,6 +2992,9 @@ public int CalculateSize() { } size += completableFieldPaths_.CalculateSize(_repeated_completableFieldPaths_codec); size += dataStore_.CalculateSize(_repeated_dataStore_codec); + if (Score != 0D) { + size += 1 + 8; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2645,6 +3012,9 @@ public void MergeFrom(QuerySuggestion other) { } completableFieldPaths_.Add(other.completableFieldPaths_); dataStore_.Add(other.dataStore_); + if (other.Score != 0D) { + Score = other.Score; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -2676,6 +3046,10 @@ public void MergeFrom(pb::CodedInputStream input) { dataStore_.AddEntriesFrom(input, _repeated_dataStore_codec); break; } + case 33: { + Score = input.ReadDouble(); + break; + } } } #endif @@ -2707,6 +3081,10 @@ public void MergeFrom(pb::CodedInputStream input) { dataStore_.AddEntriesFrom(ref input, _repeated_dataStore_codec); break; } + case 33: { + Score = input.ReadDouble(); + break; + } } } } @@ -2756,6 +3134,9 @@ public PersonSuggestion(PersonSuggestion other) : this() { personType_ = other.personType_; document_ = other.document_ != null ? other.document_.Clone() : null; dataStore_ = other.dataStore_; + score_ = other.score_; + displayPhotoUri_ = other.displayPhotoUri_; + destinationUri_ = other.destinationUri_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2826,6 +3207,51 @@ public string DataStore { } } + /// Field number for the "score" field. + public const int ScoreFieldNumber = 6; + private double score_; + /// + /// The score of each suggestion. The score is in the range of [0, 1]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { return score_; } + set { + score_ = value; + } + } + + /// Field number for the "display_photo_uri" field. + public const int DisplayPhotoUriFieldNumber = 7; + private string displayPhotoUri_ = ""; + /// + /// The photo uri of the person suggestion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayPhotoUri { + get { return displayPhotoUri_; } + set { + displayPhotoUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "destination_uri" field. + public const int DestinationUriFieldNumber = 8; + private string destinationUri_ = ""; + /// + /// The destination uri of the person suggestion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DestinationUri { + get { return destinationUri_; } + set { + destinationUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2845,6 +3271,9 @@ public bool Equals(PersonSuggestion other) { if (PersonType != other.PersonType) return false; if (!object.Equals(Document, other.Document)) return false; if (DataStore != other.DataStore) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (DisplayPhotoUri != other.DisplayPhotoUri) return false; + if (DestinationUri != other.DestinationUri) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2856,6 +3285,9 @@ public override int GetHashCode() { if (PersonType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.PersonSuggestion.Types.PersonType.Unspecified) hash ^= PersonType.GetHashCode(); if (document_ != null) hash ^= Document.GetHashCode(); if (DataStore.Length != 0) hash ^= DataStore.GetHashCode(); + if (Score != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (DisplayPhotoUri.Length != 0) hash ^= DisplayPhotoUri.GetHashCode(); + if (DestinationUri.Length != 0) hash ^= DestinationUri.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2890,6 +3322,18 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(DataStore); } + if (Score != 0D) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (DisplayPhotoUri.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DisplayPhotoUri); + } + if (DestinationUri.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DestinationUri); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2916,8 +3360,20 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(DataStore); } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + if (Score != 0D) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (DisplayPhotoUri.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DisplayPhotoUri); + } + if (DestinationUri.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DestinationUri); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); } } #endif @@ -2938,6 +3394,15 @@ public int CalculateSize() { if (DataStore.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DataStore); } + if (Score != 0D) { + size += 1 + 8; + } + if (DisplayPhotoUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayPhotoUri); + } + if (DestinationUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DestinationUri); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2965,6 +3430,15 @@ public void MergeFrom(PersonSuggestion other) { if (other.DataStore.Length != 0) { DataStore = other.DataStore; } + if (other.Score != 0D) { + Score = other.Score; + } + if (other.DisplayPhotoUri.Length != 0) { + DisplayPhotoUri = other.DisplayPhotoUri; + } + if (other.DestinationUri.Length != 0) { + DestinationUri = other.DestinationUri; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3003,6 +3477,18 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 49: { + Score = input.ReadDouble(); + break; + } + case 58: { + DisplayPhotoUri = input.ReadString(); + break; + } + case 66: { + DestinationUri = input.ReadString(); + break; + } } } #endif @@ -3041,6 +3527,18 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 49: { + Score = input.ReadDouble(); + break; + } + case 58: { + DisplayPhotoUri = input.ReadString(); + break; + } + case 66: { + DestinationUri = input.ReadString(); + break; + } } } } @@ -3116,6 +3614,9 @@ public ContentSuggestion(ContentSuggestion other) : this() { contentType_ = other.contentType_; document_ = other.document_ != null ? other.document_.Clone() : null; dataStore_ = other.dataStore_; + score_ = other.score_; + iconUri_ = other.iconUri_; + destinationUri_ = other.destinationUri_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3186,6 +3687,51 @@ public string DataStore { } } + /// Field number for the "score" field. + public const int ScoreFieldNumber = 6; + private double score_; + /// + /// The score of each suggestion. The score is in the range of [0, 1]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { return score_; } + set { + score_ = value; + } + } + + /// Field number for the "icon_uri" field. + public const int IconUriFieldNumber = 7; + private string iconUri_ = ""; + /// + /// The icon uri of the content suggestion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IconUri { + get { return iconUri_; } + set { + iconUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "destination_uri" field. + public const int DestinationUriFieldNumber = 8; + private string destinationUri_ = ""; + /// + /// The destination uri of the content suggestion. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DestinationUri { + get { return destinationUri_; } + set { + destinationUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3205,6 +3751,9 @@ public bool Equals(ContentSuggestion other) { if (ContentType != other.ContentType) return false; if (!object.Equals(Document, other.Document)) return false; if (DataStore != other.DataStore) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + if (IconUri != other.IconUri) return false; + if (DestinationUri != other.DestinationUri) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3216,6 +3765,9 @@ public override int GetHashCode() { if (ContentType != global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse.Types.ContentSuggestion.Types.ContentType.Unspecified) hash ^= ContentType.GetHashCode(); if (document_ != null) hash ^= Document.GetHashCode(); if (DataStore.Length != 0) hash ^= DataStore.GetHashCode(); + if (Score != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (IconUri.Length != 0) hash ^= IconUri.GetHashCode(); + if (DestinationUri.Length != 0) hash ^= DestinationUri.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3250,6 +3802,18 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(DataStore); } + if (Score != 0D) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (IconUri.Length != 0) { + output.WriteRawTag(58); + output.WriteString(IconUri); + } + if (DestinationUri.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DestinationUri); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3276,6 +3840,18 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(DataStore); } + if (Score != 0D) { + output.WriteRawTag(49); + output.WriteDouble(Score); + } + if (IconUri.Length != 0) { + output.WriteRawTag(58); + output.WriteString(IconUri); + } + if (DestinationUri.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DestinationUri); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3298,6 +3874,15 @@ public int CalculateSize() { if (DataStore.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DataStore); } + if (Score != 0D) { + size += 1 + 8; + } + if (IconUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IconUri); + } + if (DestinationUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DestinationUri); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3325,6 +3910,15 @@ public void MergeFrom(ContentSuggestion other) { if (other.DataStore.Length != 0) { DataStore = other.DataStore; } + if (other.Score != 0D) { + Score = other.Score; + } + if (other.IconUri.Length != 0) { + IconUri = other.IconUri; + } + if (other.DestinationUri.Length != 0) { + DestinationUri = other.DestinationUri; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3363,6 +3957,18 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 49: { + Score = input.ReadDouble(); + break; + } + case 58: { + IconUri = input.ReadString(); + break; + } + case 66: { + DestinationUri = input.ReadString(); + break; + } } } #endif @@ -3401,6 +4007,18 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 49: { + Score = input.ReadDouble(); + break; + } + case 58: { + IconUri = input.ReadString(); + break; + } + case 66: { + DestinationUri = input.ReadString(); + break; + } } } } @@ -3474,6 +4092,7 @@ public RecentSearchSuggestion() { public RecentSearchSuggestion(RecentSearchSuggestion other) : this() { suggestion_ = other.suggestion_; recentSearchTime_ = other.recentSearchTime_ != null ? other.recentSearchTime_.Clone() : null; + score_ = other.score_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3513,6 +4132,21 @@ public string Suggestion { } } + /// Field number for the "score" field. + public const int ScoreFieldNumber = 3; + private double score_; + /// + /// The score of each suggestion. The score is in the range of [0, 1]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { return score_; } + set { + score_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3530,6 +4164,7 @@ public bool Equals(RecentSearchSuggestion other) { } if (Suggestion != other.Suggestion) return false; if (!object.Equals(RecentSearchTime, other.RecentSearchTime)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3539,6 +4174,7 @@ public override int GetHashCode() { int hash = 1; if (Suggestion.Length != 0) hash ^= Suggestion.GetHashCode(); if (recentSearchTime_ != null) hash ^= RecentSearchTime.GetHashCode(); + if (Score != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3565,6 +4201,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(RecentSearchTime); } + if (Score != 0D) { + output.WriteRawTag(25); + output.WriteDouble(Score); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3583,6 +4223,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(RecentSearchTime); } + if (Score != 0D) { + output.WriteRawTag(25); + output.WriteDouble(Score); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3599,6 +4243,9 @@ public int CalculateSize() { if (recentSearchTime_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecentSearchTime); } + if (Score != 0D) { + size += 1 + 8; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3620,6 +4267,9 @@ public void MergeFrom(RecentSearchSuggestion other) { } RecentSearchTime.MergeFrom(other.RecentSearchTime); } + if (other.Score != 0D) { + Score = other.Score; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3650,6 +4300,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(RecentSearchTime); break; } + case 25: { + Score = input.ReadDouble(); + break; + } } } #endif @@ -3680,6 +4334,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(RecentSearchTime); break; } + case 25: { + Score = input.ReadDouble(); + break; + } } } } @@ -3692,6 +4350,677 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Request message for + /// [CompletionService.RemoveSuggestion][google.cloud.discoveryengine.v1beta.CompletionService.RemoveSuggestion] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RemoveSuggestionRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveSuggestionRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveSuggestionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveSuggestionRequest(RemoveSuggestionRequest other) : this() { + completionConfig_ = other.completionConfig_; + userPseudoId_ = other.userPseudoId_; + userInfo_ = other.userInfo_ != null ? other.userInfo_.Clone() : null; + removeTime_ = other.removeTime_ != null ? other.removeTime_.Clone() : null; + switch (other.SuggestionCase) { + case SuggestionOneofCase.SearchHistorySuggestion: + SearchHistorySuggestion = other.SearchHistorySuggestion; + break; + case SuggestionOneofCase.RemoveAllSearchHistorySuggestions: + RemoveAllSearchHistorySuggestions = other.RemoveAllSearchHistorySuggestions; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveSuggestionRequest Clone() { + return new RemoveSuggestionRequest(this); + } + + /// Field number for the "search_history_suggestion" field. + public const int SearchHistorySuggestionFieldNumber = 2; + /// + /// The search history suggestion to be removed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SearchHistorySuggestion { + get { return HasSearchHistorySuggestion ? (string) suggestion_ : ""; } + set { + suggestion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + suggestionCase_ = SuggestionOneofCase.SearchHistorySuggestion; + } + } + /// Gets whether the "search_history_suggestion" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSearchHistorySuggestion { + get { return suggestionCase_ == SuggestionOneofCase.SearchHistorySuggestion; } + } + /// Clears the value of the oneof if it's currently set to "search_history_suggestion" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSearchHistorySuggestion() { + if (HasSearchHistorySuggestion) { + ClearSuggestion(); + } + } + + /// Field number for the "remove_all_search_history_suggestions" field. + public const int RemoveAllSearchHistorySuggestionsFieldNumber = 6; + /// + /// Remove all search history suggestions for the user. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RemoveAllSearchHistorySuggestions { + get { return HasRemoveAllSearchHistorySuggestions ? (bool) suggestion_ : false; } + set { + suggestion_ = value; + suggestionCase_ = SuggestionOneofCase.RemoveAllSearchHistorySuggestions; + } + } + /// Gets whether the "remove_all_search_history_suggestions" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRemoveAllSearchHistorySuggestions { + get { return suggestionCase_ == SuggestionOneofCase.RemoveAllSearchHistorySuggestions; } + } + /// Clears the value of the oneof if it's currently set to "remove_all_search_history_suggestions" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRemoveAllSearchHistorySuggestions() { + if (HasRemoveAllSearchHistorySuggestions) { + ClearSuggestion(); + } + } + + /// Field number for the "completion_config" field. + public const int CompletionConfigFieldNumber = 1; + private string completionConfig_ = ""; + /// + /// Required. The completion_config of the parent engine resource name for + /// which the search history suggestion is to be removed, such as + /// `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompletionConfig { + get { return completionConfig_; } + set { + completionConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "user_pseudo_id" field. + public const int UserPseudoIdFieldNumber = 3; + private string userPseudoId_ = ""; + /// + /// Required. A unique identifier for tracking visitors. For example, this + /// could be implemented with an HTTP cookie, which should be able to uniquely + /// identify a visitor on a single device. This unique identifier should not + /// change if the visitor logs in or out of the website. + /// + /// This field should NOT have a fixed value such as `unknown_visitor`. + /// + /// This should be the same identifier as + /// [UserEvent.user_pseudo_id][google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id] + /// and + /// [SearchRequest.user_pseudo_id][google.cloud.discoveryengine.v1beta.SearchRequest.user_pseudo_id]. + /// + /// The field must be a UTF-8 encoded string with a length limit of 128. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserPseudoId { + get { return userPseudoId_; } + set { + userPseudoId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "user_info" field. + public const int UserInfoFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo userInfo_; + /// + /// Optional. Information about the end user. + /// + /// This should be the same identifier information as + /// [UserEvent.user_info][google.cloud.discoveryengine.v1beta.UserEvent.user_info] + /// and + /// [SearchRequest.user_info][google.cloud.discoveryengine.v1beta.SearchRequest.user_info]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo UserInfo { + get { return userInfo_; } + set { + userInfo_ = value; + } + } + + /// Field number for the "remove_time" field. + public const int RemoveTimeFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Timestamp removeTime_; + /// + /// Required. Time at which the suggestion was removed. If not set, the current + /// time will be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp RemoveTime { + get { return removeTime_; } + set { + removeTime_ = value; + } + } + + private object suggestion_; + /// Enum of possible cases for the "suggestion" oneof. + public enum SuggestionOneofCase { + None = 0, + SearchHistorySuggestion = 2, + RemoveAllSearchHistorySuggestions = 6, + } + private SuggestionOneofCase suggestionCase_ = SuggestionOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuggestionOneofCase SuggestionCase { + get { return suggestionCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSuggestion() { + suggestionCase_ = SuggestionOneofCase.None; + suggestion_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RemoveSuggestionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RemoveSuggestionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SearchHistorySuggestion != other.SearchHistorySuggestion) return false; + if (RemoveAllSearchHistorySuggestions != other.RemoveAllSearchHistorySuggestions) return false; + if (CompletionConfig != other.CompletionConfig) return false; + if (UserPseudoId != other.UserPseudoId) return false; + if (!object.Equals(UserInfo, other.UserInfo)) return false; + if (!object.Equals(RemoveTime, other.RemoveTime)) return false; + if (SuggestionCase != other.SuggestionCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSearchHistorySuggestion) hash ^= SearchHistorySuggestion.GetHashCode(); + if (HasRemoveAllSearchHistorySuggestions) hash ^= RemoveAllSearchHistorySuggestions.GetHashCode(); + if (CompletionConfig.Length != 0) hash ^= CompletionConfig.GetHashCode(); + if (UserPseudoId.Length != 0) hash ^= UserPseudoId.GetHashCode(); + if (userInfo_ != null) hash ^= UserInfo.GetHashCode(); + if (removeTime_ != null) hash ^= RemoveTime.GetHashCode(); + hash ^= (int) suggestionCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CompletionConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CompletionConfig); + } + if (HasSearchHistorySuggestion) { + output.WriteRawTag(18); + output.WriteString(SearchHistorySuggestion); + } + if (UserPseudoId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(UserPseudoId); + } + if (userInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UserInfo); + } + if (removeTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(RemoveTime); + } + if (HasRemoveAllSearchHistorySuggestions) { + output.WriteRawTag(48); + output.WriteBool(RemoveAllSearchHistorySuggestions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CompletionConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CompletionConfig); + } + if (HasSearchHistorySuggestion) { + output.WriteRawTag(18); + output.WriteString(SearchHistorySuggestion); + } + if (UserPseudoId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(UserPseudoId); + } + if (userInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(UserInfo); + } + if (removeTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(RemoveTime); + } + if (HasRemoveAllSearchHistorySuggestions) { + output.WriteRawTag(48); + output.WriteBool(RemoveAllSearchHistorySuggestions); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSearchHistorySuggestion) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SearchHistorySuggestion); + } + if (HasRemoveAllSearchHistorySuggestions) { + size += 1 + 1; + } + if (CompletionConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompletionConfig); + } + if (UserPseudoId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPseudoId); + } + if (userInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserInfo); + } + if (removeTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RemoveTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RemoveSuggestionRequest other) { + if (other == null) { + return; + } + if (other.CompletionConfig.Length != 0) { + CompletionConfig = other.CompletionConfig; + } + if (other.UserPseudoId.Length != 0) { + UserPseudoId = other.UserPseudoId; + } + if (other.userInfo_ != null) { + if (userInfo_ == null) { + UserInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo(); + } + UserInfo.MergeFrom(other.UserInfo); + } + if (other.removeTime_ != null) { + if (removeTime_ == null) { + RemoveTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + RemoveTime.MergeFrom(other.RemoveTime); + } + switch (other.SuggestionCase) { + case SuggestionOneofCase.SearchHistorySuggestion: + SearchHistorySuggestion = other.SearchHistorySuggestion; + break; + case SuggestionOneofCase.RemoveAllSearchHistorySuggestions: + RemoveAllSearchHistorySuggestions = other.RemoveAllSearchHistorySuggestions; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + CompletionConfig = input.ReadString(); + break; + } + case 18: { + SearchHistorySuggestion = input.ReadString(); + break; + } + case 26: { + UserPseudoId = input.ReadString(); + break; + } + case 34: { + if (userInfo_ == null) { + UserInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo(); + } + input.ReadMessage(UserInfo); + break; + } + case 42: { + if (removeTime_ == null) { + RemoveTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(RemoveTime); + break; + } + case 48: { + RemoveAllSearchHistorySuggestions = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + CompletionConfig = input.ReadString(); + break; + } + case 18: { + SearchHistorySuggestion = input.ReadString(); + break; + } + case 26: { + UserPseudoId = input.ReadString(); + break; + } + case 34: { + if (userInfo_ == null) { + UserInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo(); + } + input.ReadMessage(UserInfo); + break; + } + case 42: { + if (removeTime_ == null) { + RemoveTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(RemoveTime); + break; + } + case 48: { + RemoveAllSearchHistorySuggestions = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [CompletionService.RemoveSuggestion][google.cloud.discoveryengine.v1beta.CompletionService.RemoveSuggestion] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RemoveSuggestionResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveSuggestionResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveSuggestionResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveSuggestionResponse(RemoveSuggestionResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RemoveSuggestionResponse Clone() { + return new RemoveSuggestionResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RemoveSuggestionResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RemoveSuggestionResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RemoveSuggestionResponse other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + #endregion } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceClient.g.cs index e7dd3711cab0..e6e5bbd52f0d 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceClient.g.cs @@ -56,6 +56,7 @@ private CompletionServiceSettings(CompletionServiceSettings existing) : base(exi ImportCompletionSuggestionsOperationsSettings = existing.ImportCompletionSuggestionsOperationsSettings.Clone(); PurgeCompletionSuggestionsSettings = existing.PurgeCompletionSuggestionsSettings; PurgeCompletionSuggestionsOperationsSettings = existing.PurgeCompletionSuggestionsOperationsSettings.Clone(); + RemoveSuggestionSettings = existing.RemoveSuggestionSettings; LocationsSettings = existing.LocationsSettings; OnCopy(existing); } @@ -247,6 +248,24 @@ private CompletionServiceSettings(CompletionServiceSettings existing) : base(exi DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), }; + /// + /// for synchronous and asynchronous calls to + /// CompletionServiceClient.RemoveSuggestion and CompletionServiceClient.RemoveSuggestionAsync. + /// + /// + /// + /// Initial retry delay: 100 milliseconds. + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 5000 milliseconds. + /// Maximum attempts: Unlimited + /// + /// Retriable status codes: . + /// + /// Timeout: 5 seconds. + /// + /// + public gaxgrpc::CallSettings RemoveSuggestionSettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(5000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 2147483647, initialBackoff: sys::TimeSpan.FromMilliseconds(100), maxBackoff: sys::TimeSpan.FromMilliseconds(5000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + /// /// The settings to use for the associated with the client. /// @@ -326,11 +345,19 @@ public abstract partial class CompletionServiceClient /// The default CompletionService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/cloud_search.query + /// https://www.googleapis.com/auth/discoveryengine.assist.readwrite + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. @@ -689,6 +716,45 @@ public virtual AdvancedCompleteQueryResponse AdvancedCompleteQuery(AdvancedCompl /// A task representing the result of polling the operation. public virtual stt::Task> PollOncePurgeCompletionSuggestionsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), PurgeCompletionSuggestionsOperationsClient, callSettings); + + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual RemoveSuggestionResponse RemoveSuggestion(RemoveSuggestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task RemoveSuggestionAsync(RemoveSuggestionRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task RemoveSuggestionAsync(RemoveSuggestionRequest request, st::CancellationToken cancellationToken) => + RemoveSuggestionAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); } /// CompletionService client wrapper implementation, for convenient use. @@ -709,6 +775,8 @@ public sealed partial class CompletionServiceClientImpl : CompletionServiceClien private readonly gaxgrpc::ApiCall _callPurgeCompletionSuggestions; + private readonly gaxgrpc::ApiCall _callRemoveSuggestion; + /// /// Constructs a client wrapper for the CompletionService service, with the specified gRPC client and settings. /// @@ -747,6 +815,9 @@ public CompletionServiceClientImpl(CompletionService.CompletionServiceClient grp _callPurgeCompletionSuggestions = clientHelper.BuildApiCall("PurgeCompletionSuggestions", grpcClient.PurgeCompletionSuggestionsAsync, grpcClient.PurgeCompletionSuggestions, effectiveSettings.PurgeCompletionSuggestionsSettings).WithGoogleRequestParam("parent", request => request.Parent); Modify_ApiCall(ref _callPurgeCompletionSuggestions); Modify_PurgeCompletionSuggestionsApiCall(ref _callPurgeCompletionSuggestions); + _callRemoveSuggestion = clientHelper.BuildApiCall("RemoveSuggestion", grpcClient.RemoveSuggestionAsync, grpcClient.RemoveSuggestion, effectiveSettings.RemoveSuggestionSettings).WithGoogleRequestParam("completion_config", request => request.CompletionConfig); + Modify_ApiCall(ref _callRemoveSuggestion); + Modify_RemoveSuggestionApiCall(ref _callRemoveSuggestion); OnConstruction(grpcClient, effectiveSettings, clientHelper); } @@ -764,6 +835,8 @@ public CompletionServiceClientImpl(CompletionService.CompletionServiceClient grp partial void Modify_PurgeCompletionSuggestionsApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_RemoveSuggestionApiCall(ref gaxgrpc::ApiCall call); + partial void OnConstruction(CompletionService.CompletionServiceClient grpcClient, CompletionServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); /// The underlying gRPC CompletionService client @@ -784,6 +857,8 @@ public CompletionServiceClientImpl(CompletionService.CompletionServiceClient grp partial void Modify_PurgeCompletionSuggestionsRequest(ref PurgeCompletionSuggestionsRequest request, ref gaxgrpc::CallSettings settings); + partial void Modify_RemoveSuggestionRequest(ref RemoveSuggestionRequest request, ref gaxgrpc::CallSettings settings); + /// /// Completes the specified user input with keyword suggestions. /// @@ -955,6 +1030,38 @@ public override AdvancedCompleteQueryResponse AdvancedCompleteQuery(AdvancedComp Modify_PurgeCompletionSuggestionsRequest(ref request, ref callSettings); return new lro::Operation(await _callPurgeCompletionSuggestions.Async(request, callSettings).ConfigureAwait(false), PurgeCompletionSuggestionsOperationsClient); } + + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override RemoveSuggestionResponse RemoveSuggestion(RemoveSuggestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_RemoveSuggestionRequest(ref request, ref callSettings); + return _callRemoveSuggestion.Sync(request, callSettings); + } + + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task RemoveSuggestionAsync(RemoveSuggestionRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_RemoveSuggestionRequest(ref request, ref callSettings); + return _callRemoveSuggestion.Async(request, callSettings); + } } public static partial class CompletionService diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceGrpc.g.cs index c59151c9becd..21506ba2abf1 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/completion_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -81,6 +81,10 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ImportCompletionSuggestionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_PurgeCompletionSuggestionsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_RemoveSuggestionRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_RemoveSuggestionResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_CompleteQuery = new grpc::Method( @@ -130,6 +134,14 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl __Marshaller_google_cloud_discoveryengine_v1beta_PurgeCompletionSuggestionsRequest, __Marshaller_google_longrunning_Operation); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_RemoveSuggestion = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "RemoveSuggestion", + __Marshaller_google_cloud_discoveryengine_v1beta_RemoveSuggestionRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_RemoveSuggestionResponse); + /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { @@ -220,6 +232,22 @@ public abstract partial class CompletionServiceBase throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task RemoveSuggestion(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + } /// Client for CompletionService @@ -569,6 +597,70 @@ protected CompletionServiceClient(ClientBaseConfiguration configuration) : base( { return CallInvoker.AsyncUnaryCall(__Method_PurgeCompletionSuggestions, null, options, request); } + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse RemoveSuggestion(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return RemoveSuggestion(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse RemoveSuggestion(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_RemoveSuggestion, null, options, request); + } + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall RemoveSuggestionAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return RemoveSuggestionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Removes the search history suggestion in an engine for a user. This will + /// remove the suggestion from being returned in the + /// [AdvancedCompleteQueryResponse.recent_search_suggestions][google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions] + /// for this user. If the user searches the same suggestion again, the new + /// history will override and suggest this suggestion again. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall RemoveSuggestionAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_RemoveSuggestion, null, options, request); + } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override CompletionServiceClient NewInstance(ClientBaseConfiguration configuration) @@ -588,7 +680,8 @@ protected override CompletionServiceClient NewInstance(ClientBaseConfiguration c .AddMethod(__Method_ImportSuggestionDenyListEntries, serviceImpl.ImportSuggestionDenyListEntries) .AddMethod(__Method_PurgeSuggestionDenyListEntries, serviceImpl.PurgeSuggestionDenyListEntries) .AddMethod(__Method_ImportCompletionSuggestions, serviceImpl.ImportCompletionSuggestions) - .AddMethod(__Method_PurgeCompletionSuggestions, serviceImpl.PurgeCompletionSuggestions).Build(); + .AddMethod(__Method_PurgeCompletionSuggestions, serviceImpl.PurgeCompletionSuggestions) + .AddMethod(__Method_RemoveSuggestion, serviceImpl.RemoveSuggestion).Build(); } /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. @@ -604,6 +697,7 @@ public static void BindService(grpc::ServiceBinderBase serviceBinder, Completion serviceBinder.AddMethod(__Method_PurgeSuggestionDenyListEntries, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PurgeSuggestionDenyListEntries)); serviceBinder.AddMethod(__Method_ImportCompletionSuggestions, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ImportCompletionSuggestions)); serviceBinder.AddMethod(__Method_PurgeCompletionSuggestions, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PurgeCompletionSuggestions)); + serviceBinder.AddMethod(__Method_RemoveSuggestion, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.RemoveSuggestion)); } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceResourceNames.g.cs index e3378fffa534..114930fe1137 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/CompletionServiceResourceNames.g.cs @@ -72,4 +72,17 @@ public DataStoreName DataStoreAsDataStoreName } } } + + public partial class RemoveSuggestionRequest + { + /// + /// -typed view over the resource name + /// property. + /// + public CompletionConfigName CompletionConfigAsCompletionConfigName + { + get => string.IsNullOrEmpty(CompletionConfig) ? null : CompletionConfigName.Parse(CompletionConfig, allowUnparsed: true); + set => CompletionConfig = value?.ToString() ?? ""; + } + } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Control.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Control.g.cs index 343240d314c9..c1baa1a6fd0d 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Control.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Control.g.cs @@ -37,7 +37,7 @@ static ControlReflection() { "CgV2YWx1ZRgBIAEoCRISCgpmdWxsX21hdGNoGAIgASgIGmkKCVRpbWVSYW5n", "ZRIuCgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz", "dGFtcBIsCghlbmRfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l", - "c3RhbXAisAoKB0NvbnRyb2wSUAoMYm9vc3RfYWN0aW9uGAYgASgLMjguZ29v", + "c3RhbXAi7RIKB0NvbnRyb2wSUAoMYm9vc3RfYWN0aW9uGAYgASgLMjguZ29v", "Z2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuQ29udHJvbC5Cb29z", "dEFjdGlvbkgAElIKDWZpbHRlcl9hY3Rpb24YByABKAsyOS5nb29nbGUuY2xv", "dWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5Db250cm9sLkZpbHRlckFjdGlv", @@ -45,44 +45,69 @@ static ControlReflection() { "aXNjb3ZlcnllbmdpbmUudjFiZXRhLkNvbnRyb2wuUmVkaXJlY3RBY3Rpb25I", "ABJWCg9zeW5vbnltc19hY3Rpb24YCiABKAsyOy5nb29nbGUuY2xvdWQuZGlz", "Y292ZXJ5ZW5naW5lLnYxYmV0YS5Db250cm9sLlN5bm9ueW1zQWN0aW9uSAAS", - "EQoEbmFtZRgBIAEoCUID4EEFEhkKDGRpc3BsYXlfbmFtZRgCIAEoCUID4EEC", - "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rh", + "dGFTdG9yZXMve2RhdGFfc3RvcmV9L2NvbnRyb2xzL3tjb250cm9sfRJrcHJv", + "amVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2NvbGxlY3Rp", + "b25zL3tjb2xsZWN0aW9ufS9kYXRhU3RvcmVzL3tkYXRhX3N0b3JlfS9jb250", + "cm9scy97Y29udHJvbH0SZHByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMv", + "e2xvY2F0aW9ufS9jb2xsZWN0aW9ucy97Y29sbGVjdGlvbn0vZW5naW5lcy97", + "ZW5naW5lfS9jb250cm9scy97Y29udHJvbH1CCAoGYWN0aW9uQpMCCidjb20u", + "Z29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGFCDENvbnRyb2xQ", + "cm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9h", + "cGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKi", + "Ag9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5n", + "aW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFi", + "ZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFi", + "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Condition), global::Google.Cloud.DiscoveryEngine.V1Beta.Condition.Parser, new[]{ "QueryTerms", "ActiveTimeRange", "QueryRegex" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Condition.Types.QueryTerm), global::Google.Cloud.DiscoveryEngine.V1Beta.Condition.Types.QueryTerm.Parser, new[]{ "Value", "FullMatch" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Condition.Types.TimeRange), global::Google.Cloud.DiscoveryEngine.V1Beta.Condition.Types.TimeRange.Parser, new[]{ "StartTime", "EndTime" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Parser, new[]{ "BoostAction", "FilterAction", "RedirectAction", "SynonymsAction", "Name", "DisplayName", "AssociatedServingConfigIds", "SolutionType", "UseCases", "Conditions" }, new[]{ "Action" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Parser, new[]{ "Boost", "Filter", "DataStore" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Parser, new[]{ "BoostAction", "FilterAction", "RedirectAction", "SynonymsAction", "PromoteAction", "Name", "DisplayName", "AssociatedServingConfigIds", "SolutionType", "UseCases", "Conditions" }, new[]{ "Action" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Parser, new[]{ "FixedBoost", "InterpolationBoostSpec", "Boost", "Filter", "DataStore" }, new[]{ "BoostSpec" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Parser, new[]{ "FieldName", "AttributeType", "InterpolationType", "ControlPoints" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint.Parser, new[]{ "AttributeValue", "BoostAmount" }, null, null, null, null)})}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.FilterAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.FilterAction.Parser, new[]{ "Filter", "DataStore" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.RedirectAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.RedirectAction.Parser, new[]{ "RedirectUri" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction.Parser, new[]{ "Synonyms" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.SynonymsAction.Parser, new[]{ "Synonyms" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction), global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction.Parser, new[]{ "DataStore", "SearchLinkPromotion" }, null, null, null, null)}) })); } #endregion @@ -182,7 +207,7 @@ public Condition Clone() { /// Optional. Query regex to match the whole search query. /// Cannot be set when /// [Condition.query_terms][google.cloud.discoveryengine.v1beta.Condition.query_terms] - /// is set. This is currently supporting promotion use case. + /// is set. Only supported for Basic Site Search promotion serving controls. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -946,6 +971,9 @@ public Control(Control other) : this() { case ActionOneofCase.SynonymsAction: SynonymsAction = other.SynonymsAction.Clone(); break; + case ActionOneofCase.PromoteAction: + PromoteAction = other.PromoteAction.Clone(); + break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); @@ -1018,6 +1046,21 @@ public Control Clone() { } } + /// Field number for the "promote_action" field. + public const int PromoteActionFieldNumber = 15; + /// + /// Promote certain links based on predefined trigger queries. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction PromoteAction { + get { return actionCase_ == ActionOneofCase.PromoteAction ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.PromoteAction; + } + } + /// Field number for the "name" field. public const int NameFieldNumber = 1; private string name_ = ""; @@ -1132,6 +1175,7 @@ public enum ActionOneofCase { FilterAction = 7, RedirectAction = 9, SynonymsAction = 10, + PromoteAction = 15, } private ActionOneofCase actionCase_ = ActionOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1166,6 +1210,7 @@ public bool Equals(Control other) { if (!object.Equals(FilterAction, other.FilterAction)) return false; if (!object.Equals(RedirectAction, other.RedirectAction)) return false; if (!object.Equals(SynonymsAction, other.SynonymsAction)) return false; + if (!object.Equals(PromoteAction, other.PromoteAction)) return false; if (Name != other.Name) return false; if (DisplayName != other.DisplayName) return false; if(!associatedServingConfigIds_.Equals(other.associatedServingConfigIds_)) return false; @@ -1184,6 +1229,7 @@ public override int GetHashCode() { if (actionCase_ == ActionOneofCase.FilterAction) hash ^= FilterAction.GetHashCode(); if (actionCase_ == ActionOneofCase.RedirectAction) hash ^= RedirectAction.GetHashCode(); if (actionCase_ == ActionOneofCase.SynonymsAction) hash ^= SynonymsAction.GetHashCode(); + if (actionCase_ == ActionOneofCase.PromoteAction) hash ^= PromoteAction.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); hash ^= associatedServingConfigIds_.GetHashCode(); @@ -1240,6 +1286,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(SynonymsAction); } + if (actionCase_ == ActionOneofCase.PromoteAction) { + output.WriteRawTag(122); + output.WriteMessage(PromoteAction); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1281,6 +1331,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(SynonymsAction); } + if (actionCase_ == ActionOneofCase.PromoteAction) { + output.WriteRawTag(122); + output.WriteMessage(PromoteAction); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1303,6 +1357,9 @@ public int CalculateSize() { if (actionCase_ == ActionOneofCase.SynonymsAction) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SynonymsAction); } + if (actionCase_ == ActionOneofCase.PromoteAction) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PromoteAction); + } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } @@ -1364,6 +1421,12 @@ public void MergeFrom(Control other) { } SynonymsAction.MergeFrom(other.SynonymsAction); break; + case ActionOneofCase.PromoteAction: + if (PromoteAction == null) { + PromoteAction = new global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction(); + } + PromoteAction.MergeFrom(other.PromoteAction); + break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); @@ -1446,6 +1509,15 @@ public void MergeFrom(pb::CodedInputStream input) { SynonymsAction = subBuilder; break; } + case 122: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction(); + if (actionCase_ == ActionOneofCase.PromoteAction) { + subBuilder.MergeFrom(PromoteAction); + } + input.ReadMessage(subBuilder); + PromoteAction = subBuilder; + break; + } } } #endif @@ -1526,6 +1598,15 @@ public void MergeFrom(pb::CodedInputStream input) { SynonymsAction = subBuilder; break; } + case 122: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.PromoteAction(); + if (actionCase_ == ActionOneofCase.PromoteAction) { + subBuilder.MergeFrom(PromoteAction); + } + input.ReadMessage(subBuilder); + PromoteAction = subBuilder; + break; + } } } } @@ -1577,6 +1658,15 @@ public BoostAction(BoostAction other) : this() { boost_ = other.boost_; filter_ = other.filter_; dataStore_ = other.dataStore_; + switch (other.BoostSpecCase) { + case BoostSpecOneofCase.FixedBoost: + FixedBoost = other.FixedBoost; + break; + case BoostSpecOneofCase.InterpolationBoostSpec: + InterpolationBoostSpec = other.InterpolationBoostSpec.Clone(); + break; + } + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -1586,13 +1676,60 @@ public BoostAction Clone() { return new BoostAction(this); } + /// Field number for the "fixed_boost" field. + public const int FixedBoostFieldNumber = 4; + /// + /// Optional. Strength of the boost, which should be in [-1, 1]. Negative + /// boost means demotion. Default is 0.0 (No-op). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FixedBoost { + get { return HasFixedBoost ? (float) boostSpec_ : 0F; } + set { + boostSpec_ = value; + boostSpecCase_ = BoostSpecOneofCase.FixedBoost; + } + } + /// Gets whether the "fixed_boost" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFixedBoost { + get { return boostSpecCase_ == BoostSpecOneofCase.FixedBoost; } + } + /// Clears the value of the oneof if it's currently set to "fixed_boost" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFixedBoost() { + if (HasFixedBoost) { + ClearBoostSpec(); + } + } + + /// Field number for the "interpolation_boost_spec" field. + public const int InterpolationBoostSpecFieldNumber = 5; + /// + /// Optional. Complex specification for custom ranking based on customer + /// defined attribute value. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec InterpolationBoostSpec { + get { return boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec) boostSpec_ : null; } + set { + boostSpec_ = value; + boostSpecCase_ = value == null ? BoostSpecOneofCase.None : BoostSpecOneofCase.InterpolationBoostSpec; + } + } + /// Field number for the "boost" field. public const int BoostFieldNumber = 1; private float boost_; /// - /// Required. Strength of the boost, which should be in [-1, 1]. Negative + /// Strength of the boost, which should be in [-1, 1]. Negative /// boost means demotion. Default is 0.0 (No-op). /// + [global::System.ObsoleteAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Boost { @@ -1640,6 +1777,27 @@ public string DataStore { } } + private object boostSpec_; + /// Enum of possible cases for the "boost_spec" oneof. + public enum BoostSpecOneofCase { + None = 0, + FixedBoost = 4, + InterpolationBoostSpec = 5, + } + private BoostSpecOneofCase boostSpecCase_ = BoostSpecOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoostSpecOneofCase BoostSpecCase { + get { return boostSpecCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoostSpec() { + boostSpecCase_ = BoostSpecOneofCase.None; + boostSpec_ = null; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1655,9 +1813,12 @@ public bool Equals(BoostAction other) { if (ReferenceEquals(other, this)) { return true; } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FixedBoost, other.FixedBoost)) return false; + if (!object.Equals(InterpolationBoostSpec, other.InterpolationBoostSpec)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Boost, other.Boost)) return false; if (Filter != other.Filter) return false; if (DataStore != other.DataStore) return false; + if (BoostSpecCase != other.BoostSpecCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1665,9 +1826,12 @@ public bool Equals(BoostAction other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (HasFixedBoost) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FixedBoost); + if (boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec) hash ^= InterpolationBoostSpec.GetHashCode(); if (Boost != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Boost); if (Filter.Length != 0) hash ^= Filter.GetHashCode(); if (DataStore.Length != 0) hash ^= DataStore.GetHashCode(); + hash ^= (int) boostSpecCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1698,6 +1862,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteString(DataStore); } + if (HasFixedBoost) { + output.WriteRawTag(37); + output.WriteFloat(FixedBoost); + } + if (boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec) { + output.WriteRawTag(42); + output.WriteMessage(InterpolationBoostSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1720,6 +1892,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteString(DataStore); } + if (HasFixedBoost) { + output.WriteRawTag(37); + output.WriteFloat(FixedBoost); + } + if (boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec) { + output.WriteRawTag(42); + output.WriteMessage(InterpolationBoostSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1730,6 +1910,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (HasFixedBoost) { + size += 1 + 4; + } + if (boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InterpolationBoostSpec); + } if (Boost != 0F) { size += 1 + 4; } @@ -1760,6 +1946,18 @@ public void MergeFrom(BoostAction other) { if (other.DataStore.Length != 0) { DataStore = other.DataStore; } + switch (other.BoostSpecCase) { + case BoostSpecOneofCase.FixedBoost: + FixedBoost = other.FixedBoost; + break; + case BoostSpecOneofCase.InterpolationBoostSpec: + if (InterpolationBoostSpec == null) { + InterpolationBoostSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec(); + } + InterpolationBoostSpec.MergeFrom(other.InterpolationBoostSpec); + break; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1791,6 +1989,19 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 37: { + FixedBoost = input.ReadFloat(); + break; + } + case 42: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec(); + if (boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec) { + subBuilder.MergeFrom(InterpolationBoostSpec); + } + input.ReadMessage(subBuilder); + InterpolationBoostSpec = subBuilder; + break; + } } } #endif @@ -1822,11 +2033,658 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 37: { + FixedBoost = input.ReadFloat(); + break; + } + case 42: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec(); + if (boostSpecCase_ == BoostSpecOneofCase.InterpolationBoostSpec) { + subBuilder.MergeFrom(InterpolationBoostSpec); + } + input.ReadMessage(subBuilder); + InterpolationBoostSpec = subBuilder; + break; + } } } } #endif + #region Nested types + /// Container for nested types declared in the BoostAction message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specification for custom ranking based on customer specified attribute + /// value. It provides more controls for customized ranking than the simple + /// (condition, boost) combination above. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InterpolationBoostSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InterpolationBoostSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InterpolationBoostSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InterpolationBoostSpec(InterpolationBoostSpec other) : this() { + fieldName_ = other.fieldName_; + attributeType_ = other.attributeType_; + interpolationType_ = other.interpolationType_; + controlPoints_ = other.controlPoints_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InterpolationBoostSpec Clone() { + return new InterpolationBoostSpec(this); + } + + /// Field number for the "field_name" field. + public const int FieldNameFieldNumber = 1; + private string fieldName_ = ""; + /// + /// Optional. The name of the field whose value will be used to determine + /// the boost amount. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FieldName { + get { return fieldName_; } + set { + fieldName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "attribute_type" field. + public const int AttributeTypeFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType attributeType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType.Unspecified; + /// + /// Optional. The attribute type to be used to determine the boost amount. + /// The attribute value can be derived from the field value of the + /// specified field_name. In the case of numerical it is straightforward + /// i.e. attribute_value = numerical_field_value. In the case of freshness + /// however, attribute_value = (time.now() - datetime_field_value). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType AttributeType { + get { return attributeType_; } + set { + attributeType_ = value; + } + } + + /// Field number for the "interpolation_type" field. + public const int InterpolationTypeFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType interpolationType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType.Unspecified; + /// + /// Optional. The interpolation type to be applied to connect the control + /// points listed below. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType InterpolationType { + get { return interpolationType_; } + set { + interpolationType_ = value; + } + } + + /// Field number for the "control_points" field. + public const int ControlPointsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_controlPoints_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.ControlPoint.Parser); + private readonly pbc::RepeatedField controlPoints_ = new pbc::RepeatedField(); + /// + /// Optional. The control points used to define the curve. The monotonic + /// function (defined through the interpolation_type above) passes through + /// the control points listed here. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ControlPoints { + get { return controlPoints_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InterpolationBoostSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InterpolationBoostSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FieldName != other.FieldName) return false; + if (AttributeType != other.AttributeType) return false; + if (InterpolationType != other.InterpolationType) return false; + if(!controlPoints_.Equals(other.controlPoints_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (FieldName.Length != 0) hash ^= FieldName.GetHashCode(); + if (AttributeType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType.Unspecified) hash ^= AttributeType.GetHashCode(); + if (InterpolationType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType.Unspecified) hash ^= InterpolationType.GetHashCode(); + hash ^= controlPoints_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (FieldName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FieldName); + } + if (AttributeType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) AttributeType); + } + if (InterpolationType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) InterpolationType); + } + controlPoints_.WriteTo(output, _repeated_controlPoints_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (FieldName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FieldName); + } + if (AttributeType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) AttributeType); + } + if (InterpolationType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) InterpolationType); + } + controlPoints_.WriteTo(ref output, _repeated_controlPoints_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (FieldName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FieldName); + } + if (AttributeType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AttributeType); + } + if (InterpolationType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) InterpolationType); + } + size += controlPoints_.CalculateSize(_repeated_controlPoints_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InterpolationBoostSpec other) { + if (other == null) { + return; + } + if (other.FieldName.Length != 0) { + FieldName = other.FieldName; + } + if (other.AttributeType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType.Unspecified) { + AttributeType = other.AttributeType; + } + if (other.InterpolationType != global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType.Unspecified) { + InterpolationType = other.InterpolationType; + } + controlPoints_.Add(other.controlPoints_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + FieldName = input.ReadString(); + break; + } + case 16: { + AttributeType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType) input.ReadEnum(); + break; + } + case 24: { + InterpolationType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType) input.ReadEnum(); + break; + } + case 34: { + controlPoints_.AddEntriesFrom(input, _repeated_controlPoints_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + FieldName = input.ReadString(); + break; + } + case 16: { + AttributeType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.AttributeType) input.ReadEnum(); + break; + } + case 24: { + InterpolationType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Types.InterpolationType) input.ReadEnum(); + break; + } + case 34: { + controlPoints_.AddEntriesFrom(ref input, _repeated_controlPoints_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the InterpolationBoostSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The attribute(or function) for which the custom ranking is to be + /// applied. + /// + public enum AttributeType { + /// + /// Unspecified AttributeType. + /// + [pbr::OriginalName("ATTRIBUTE_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// The value of the numerical field will be used to dynamically update + /// the boost amount. In this case, the attribute_value (the x value) + /// of the control point will be the actual value of the numerical + /// field for which the boost_amount is specified. + /// + [pbr::OriginalName("NUMERICAL")] Numerical = 1, + /// + /// For the freshness use case the attribute value will be the duration + /// between the current time and the date in the datetime field + /// specified. The value must be formatted as an XSD `dayTimeDuration` + /// value (a restricted subset of an ISO 8601 duration value). The + /// pattern for this is: `[nD][T[nH][nM][nS]]`. + /// For example, `5D`, `3DT12H30M`, `T24H`. + /// + [pbr::OriginalName("FRESHNESS")] Freshness = 2, + } + + /// + /// The interpolation type to be applied. Default will be linear + /// (Piecewise Linear). + /// + public enum InterpolationType { + /// + /// Interpolation type is unspecified. In this case, it defaults to + /// Linear. + /// + [pbr::OriginalName("INTERPOLATION_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Piecewise linear interpolation will be applied. + /// + [pbr::OriginalName("LINEAR")] Linear = 1, + } + + /// + /// The control points used to define the curve. The curve defined + /// through these control points can only be monotonically increasing + /// or decreasing(constant values are acceptable). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ControlPoint : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ControlPoint()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Types.BoostAction.Types.InterpolationBoostSpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ControlPoint() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ControlPoint(ControlPoint other) : this() { + attributeValue_ = other.attributeValue_; + boostAmount_ = other.boostAmount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ControlPoint Clone() { + return new ControlPoint(this); + } + + /// Field number for the "attribute_value" field. + public const int AttributeValueFieldNumber = 1; + private string attributeValue_ = ""; + /// + /// Optional. Can be one of: + /// 1. The numerical field value. + /// 2. The duration spec for freshness: + /// The value must be formatted as an XSD `dayTimeDuration` value (a + /// restricted subset of an ISO 8601 duration value). The pattern for + /// this is: `[nD][T[nH][nM][nS]]`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AttributeValue { + get { return attributeValue_; } + set { + attributeValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "boost_amount" field. + public const int BoostAmountFieldNumber = 2; + private float boostAmount_; + /// + /// Optional. The value between -1 to 1 by which to boost the score if + /// the attribute_value evaluates to the value specified above. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float BoostAmount { + get { return boostAmount_; } + set { + boostAmount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ControlPoint); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ControlPoint other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AttributeValue != other.AttributeValue) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BoostAmount, other.BoostAmount)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AttributeValue.Length != 0) hash ^= AttributeValue.GetHashCode(); + if (BoostAmount != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BoostAmount); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AttributeValue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AttributeValue); + } + if (BoostAmount != 0F) { + output.WriteRawTag(21); + output.WriteFloat(BoostAmount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AttributeValue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AttributeValue); + } + if (BoostAmount != 0F) { + output.WriteRawTag(21); + output.WriteFloat(BoostAmount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AttributeValue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeValue); + } + if (BoostAmount != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ControlPoint other) { + if (other == null) { + return; + } + if (other.AttributeValue.Length != 0) { + AttributeValue = other.AttributeValue; + } + if (other.BoostAmount != 0F) { + BoostAmount = other.BoostAmount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AttributeValue = input.ReadString(); + break; + } + case 21: { + BoostAmount = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AttributeValue = input.ReadString(); + break; + } + case 21: { + BoostAmount = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + } /// @@ -2489,6 +3347,262 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Promote certain links based on some trigger queries. + /// + /// Example: Promote shoe store link when searching for `shoe` keyword. + /// The link can be outside of associated data store. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PromoteAction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PromoteAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Control.Descriptor.NestedTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PromoteAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PromoteAction(PromoteAction other) : this() { + dataStore_ = other.dataStore_; + searchLinkPromotion_ = other.searchLinkPromotion_ != null ? other.searchLinkPromotion_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PromoteAction Clone() { + return new PromoteAction(this); + } + + /// Field number for the "data_store" field. + public const int DataStoreFieldNumber = 1; + private string dataStore_ = ""; + /// + /// Required. Data store with which this promotion is attached to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DataStore { + get { return dataStore_; } + set { + dataStore_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "search_link_promotion" field. + public const int SearchLinkPromotionFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion searchLinkPromotion_; + /// + /// Required. Promotion attached to this action. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion SearchLinkPromotion { + get { return searchLinkPromotion_; } + set { + searchLinkPromotion_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PromoteAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PromoteAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DataStore != other.DataStore) return false; + if (!object.Equals(SearchLinkPromotion, other.SearchLinkPromotion)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DataStore.Length != 0) hash ^= DataStore.GetHashCode(); + if (searchLinkPromotion_ != null) hash ^= SearchLinkPromotion.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DataStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DataStore); + } + if (searchLinkPromotion_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SearchLinkPromotion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DataStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(DataStore); + } + if (searchLinkPromotion_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SearchLinkPromotion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DataStore.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DataStore); + } + if (searchLinkPromotion_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SearchLinkPromotion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PromoteAction other) { + if (other == null) { + return; + } + if (other.DataStore.Length != 0) { + DataStore = other.DataStore; + } + if (other.searchLinkPromotion_ != null) { + if (searchLinkPromotion_ == null) { + SearchLinkPromotion = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion(); + } + SearchLinkPromotion.MergeFrom(other.SearchLinkPromotion); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + DataStore = input.ReadString(); + break; + } + case 18: { + if (searchLinkPromotion_ == null) { + SearchLinkPromotion = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion(); + } + input.ReadMessage(SearchLinkPromotion); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + DataStore = input.ReadString(); + break; + } + case 18: { + if (searchLinkPromotion_ == null) { + SearchLinkPromotion = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion(); + } + input.ReadMessage(SearchLinkPromotion); + break; + } + } + } + } + #endif + + } + } #endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlResourceNames.g.cs index 8d28504eb6b1..40ad042e58f5 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlResourceNames.g.cs @@ -477,6 +477,18 @@ public DataStoreName DataStoreAsDataStoreName set => DataStore = value?.ToString() ?? ""; } } + + public partial class PromoteAction + { + /// + /// -typed view over the resource name property. + /// + public DataStoreName DataStoreAsDataStoreName + { + get => string.IsNullOrEmpty(DataStore) ? null : DataStoreName.Parse(DataStore, allowUnparsed: true); + set => DataStore = value?.ToString() ?? ""; + } + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlService.g.cs index 42e57d24eb51..fc1f46ed1e95 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlService.g.cs @@ -48,7 +48,7 @@ static ControlServiceReflection() { "b2tlbhgDIAEoCUID4EEBEhMKBmZpbHRlchgEIAEoCUID4EEBIm8KFExpc3RD", "b250cm9sc1Jlc3BvbnNlEj4KCGNvbnRyb2xzGAEgAygLMiwuZ29vZ2xlLmNs", "b3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuQ29udHJvbBIXCg9uZXh0X3Bh", - "Z2VfdG9rZW4YAiABKAkyxQ8KDkNvbnRyb2xTZXJ2aWNlEpMDCg1DcmVhdGVD", + "Z2VfdG9rZW4YAiABKAkywxAKDkNvbnRyb2xTZXJ2aWNlEpMDCg1DcmVhdGVD", "b250cm9sEjkuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEu", "Q3JlYXRlQ29udHJvbFJlcXVlc3QaLC5nb29nbGUuY2xvdWQuZGlzY292ZXJ5", "ZW5naW5lLnYxYmV0YS5Db250cm9sIpgC2kEZcGFyZW50LGNvbnRyb2wsY29u", @@ -90,16 +90,18 @@ static ControlServiceReflection() { "Lyp9L2NvbnRyb2xzWk0SSy92MWJldGEve3BhcmVudD1wcm9qZWN0cy8qL2xv", "Y2F0aW9ucy8qL2NvbGxlY3Rpb25zLyovZGF0YVN0b3Jlcy8qfS9jb250cm9s", "c1pKEkgvdjFiZXRhL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9j", - "b2xsZWN0aW9ucy8qL2VuZ2luZXMvKn0vY29udHJvbHMaUspBHmRpc2NvdmVy", - "eWVuZ2luZS5nb29nbGVhcGlzLmNvbdJBLmh0dHBzOi8vd3d3Lmdvb2dsZWFw", - "aXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm1CmgIKJ2NvbS5nb29nbGUuY2xv", - "dWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YUITQ29udHJvbFNlcnZpY2VQcm90", - "b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2", - "MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9E", - "SVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5l", - "LlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh", - "6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnBy", - "b3RvMw==")); + "b2xsZWN0aW9ucy8qL2VuZ2luZXMvKn0vY29udHJvbHMazwHKQR5kaXNjb3Zl", + "cnllbmdpbmUuZ29vZ2xlYXBpcy5jb23SQaoBaHR0cHM6Ly93d3cuZ29vZ2xl", + "YXBpcy5jb20vYXV0aC9jbG91ZC1wbGF0Zm9ybSxodHRwczovL3d3dy5nb29n", + "bGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5yZWFkd3JpdGUsaHR0", + "cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUu", + "c2VydmluZy5yZWFkd3JpdGVCmgIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292", + "ZXJ5ZW5naW5lLnYxYmV0YUITQ29udHJvbFNlcnZpY2VQcm90b1ABWlFjbG91", + "ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlz", + "Y292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllF", + "TkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoC", + "I0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xl", + "OjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ControlReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceClient.g.cs index 144164fec316..7fb815528d5f 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceClient.g.cs @@ -230,11 +230,15 @@ public abstract partial class ControlServiceClient /// The default ControlService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceGrpc.g.cs index 48338b5c3265..fc6e06f79af7 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ControlServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/control_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchService.g.cs index ff280ab0785d..97bd2b56c7c7 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchService.g.cs @@ -31,92 +31,115 @@ static ConversationalSearchServiceReflection() { "ZWxkX2JlaGF2aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jlc291cmNlLnByb3Rv", "GjBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9hbnN3ZXIu", "cHJvdG8aNmdvb2dsZS9jbG91ZC9kaXNjb3ZlcnllbmdpbmUvdjFiZXRhL2Nv", - "bnZlcnNhdGlvbi5wcm90bxo4Z29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2lu", - "ZS92MWJldGEvc2VhcmNoX3NlcnZpY2UucHJvdG8aMWdvb2dsZS9jbG91ZC9k", - "aXNjb3ZlcnllbmdpbmUvdjFiZXRhL3Nlc3Npb24ucHJvdG8aG2dvb2dsZS9w", - "cm90b2J1Zi9lbXB0eS5wcm90bxogZ29vZ2xlL3Byb3RvYnVmL2ZpZWxkX21h", - "c2sucHJvdG8isQUKG0NvbnZlcnNlQ29udmVyc2F0aW9uUmVxdWVzdBJBCgRu", - "YW1lGAEgASgJQjPgQQL6QS0KK2Rpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlz", - "LmNvbS9Db252ZXJzYXRpb24SQgoFcXVlcnkYAiABKAsyLi5nb29nbGUuY2xv", - "dWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5UZXh0SW5wdXRCA+BBAhJJCg5z", - "ZXJ2aW5nX2NvbmZpZxgDIAEoCUIx+kEuCixkaXNjb3ZlcnllbmdpbmUuZ29v", - "Z2xlYXBpcy5jb20vU2VydmluZ0NvbmZpZxJHCgxjb252ZXJzYXRpb24YBSAB", - "KAsyMS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5Db252", - "ZXJzYXRpb24SEwoLc2FmZV9zZ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bmdpbmVzLyp9L3Nlc3Npb25zGs8BykEe", + "ZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29t0kGqAWh0dHBzOi8vd3d3", + "Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm0saHR0cHM6Ly93", + "d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUucmVhZHdy", + "aXRlLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5", + "ZW5naW5lLnNlcnZpbmcucmVhZHdyaXRlQqcCCidjb20uZ29vZ2xlLmNsb3Vk", + "LmRpc2NvdmVyeWVuZ2luZS52MWJldGFCIENvbnZlcnNhdGlvbmFsU2VhcmNo", + "U2VydmljZVByb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5", + "ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3Zlcnll", + "bmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNj", + "b3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVu", + "Z2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6", + "OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ConversationReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SessionReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ConversationReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SessionReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationRequest.Parser, new[]{ "Name", "Query", "ServingConfig", "Conversation", "SafeSearch", "UserLabels", "SummarySpec", "Filter", "BoostSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ConverseConversationResponse.Parser, new[]{ "Reply", "Conversation", "RelatedQuestions", "SearchResults" }, null, null, null, null), @@ -345,22 +402,24 @@ static ConversationalSearchServiceReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetConversationRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetConversationRequest.Parser, new[]{ "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter", "OrderBy" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListConversationsResponse.Parser, new[]{ "Conversations", "NextPageToken" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Parser, new[]{ "ServingConfig", "Query", "Session", "SafetySpec", "RelatedQuestionsSpec", "GroundingSpec", "AnswerGenerationSpec", "SearchSpec", "QueryUnderstandingSpec", "AsynchronousMode", "UserPseudoId", "UserLabels" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Parser, new[]{ "Enable" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Parser, new[]{ "ServingConfig", "Query", "Session", "SafetySpec", "RelatedQuestionsSpec", "GroundingSpec", "AnswerGenerationSpec", "SearchSpec", "QueryUnderstandingSpec", "AsynchronousMode", "UserPseudoId", "UserLabels", "EndUserSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Parser, new[]{ "Enable", "SafetySettings" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Parser, new[]{ "Category", "Threshold" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold) }, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.RelatedQuestionsSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.RelatedQuestionsSpec.Parser, new[]{ "Enable" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Parser, new[]{ "IncludeGroundingSupports", "FilteringLevel" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Parser, new[]{ "ModelSpec", "PromptSpec", "IncludeCitations", "AnswerLanguageCode", "IgnoreAdversarialQuery", "IgnoreNonAnswerSeekingQuery", "IgnoreLowRelevantContent", "IgnoreJailBreakingQuery" }, new[]{ "IgnoreLowRelevantContent" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.ModelSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.ModelSpec.Parser, new[]{ "ModelVersion" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec.Parser, new[]{ "Preamble" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Parser, new[]{ "ModelSpec", "PromptSpec", "IncludeCitations", "AnswerLanguageCode", "IgnoreAdversarialQuery", "IgnoreNonAnswerSeekingQuery", "IgnoreLowRelevantContent", "IgnoreJailBreakingQuery", "MultimodalSpec" }, new[]{ "IgnoreLowRelevantContent" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.ModelSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.ModelSpec.Parser, new[]{ "ModelVersion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec.Parser, new[]{ "Preamble" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Parser, new[]{ "ImageSource" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource) }, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Parser, new[]{ "SearchParams", "SearchResultList" }, new[]{ "Input" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchParams), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchParams.Parser, new[]{ "MaxReturnResults", "Filter", "BoostSpec", "OrderBy", "SearchResultMode", "DataStoreSpecs", "NaturalLanguageQueryUnderstandingSpec" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Parser, new[]{ "SearchResults" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Parser, new[]{ "UnstructuredDocumentInfo", "ChunkInfo" }, new[]{ "Content" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Parser, new[]{ "Document", "Uri", "Title", "DocumentContexts", "ExtractiveSegments", "ExtractiveAnswers" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.DocumentContext), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.DocumentContext.Parser, new[]{ "PageIdentifier", "Content" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.ExtractiveSegment), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.ExtractiveSegment.Parser, new[]{ "PageIdentifier", "Content" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.ExtractiveAnswer), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.UnstructuredDocumentInfo.Types.ExtractiveAnswer.Parser, new[]{ "PageIdentifier", "Content" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.ChunkInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.ChunkInfo.Parser, new[]{ "Chunk", "Content", "DocumentMetadata" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.ChunkInfo.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SearchSpec.Types.SearchResultList.Types.SearchResult.Types.ChunkInfo.Types.DocumentMetadata.Parser, new[]{ "Uri", "Title" }, null, null, null, null)})})})}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Parser, new[]{ "QueryClassificationSpec", "QueryRephraserSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryClassificationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryClassificationSpec.Parser, new[]{ "Types_" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryClassificationSpec.Types.Type) }, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Parser, new[]{ "Disable", "MaxRephraseSteps" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Parser, new[]{ "QueryClassificationSpec", "QueryRephraserSpec", "DisableSpellCorrection" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryClassificationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryClassificationSpec.Parser, new[]{ "Types_" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryClassificationSpec.Types.Type) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Parser, new[]{ "Disable", "MaxRephraseSteps", "ModelSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Parser, new[]{ "ModelType" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType) }, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Parser, new[]{ "EndUserMetadata" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Parser, new[]{ "ChunkInfo" }, new[]{ "Content" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Parser, new[]{ "Content", "DocumentMetadata" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata.Parser, new[]{ "Title" }, null, null, null, null)})})}), null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryResponse.Parser, new[]{ "Answer", "Session", "AnswerQueryToken" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetAnswerRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetAnswerRequest.Parser, new[]{ "Name" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest.Parser, new[]{ "Parent", "Session" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateSessionRequest.Parser, new[]{ "Parent", "Session", "SessionId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateSessionRequest.Parser, new[]{ "Session", "UpdateMask" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteSessionRequest.Parser, new[]{ "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetSessionRequest.Parser, new[]{ "Name", "IncludeAnswerDetails" }, null, null, null, null), @@ -2884,6 +2943,7 @@ public AnswerQueryRequest(AnswerQueryRequest other) : this() { asynchronousMode_ = other.asynchronousMode_; userPseudoId_ = other.userPseudoId_; userLabels_ = other.userLabels_.Clone(); + endUserSpec_ = other.endUserSpec_ != null ? other.endUserSpec_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2901,6 +2961,12 @@ public AnswerQueryRequest Clone() { /// `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, /// or /// `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. + /// + /// Or the resource name of the agent engine serving config, such as: + /// `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`. + /// (use when `enable_agent_invocation` set to true, and you have custom + /// `AI_MODE` agent engine configured) + /// /// This field is used to identify the serving configuration name, set /// of models used to make the search. /// @@ -3118,6 +3184,21 @@ public string UserPseudoId { get { return userLabels_; } } + /// Field number for the "end_user_spec" field. + public const int EndUserSpecFieldNumber = 14; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec endUserSpec_; + /// + /// Optional. End user specification. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec EndUserSpec { + get { return endUserSpec_; } + set { + endUserSpec_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3145,6 +3226,7 @@ public bool Equals(AnswerQueryRequest other) { if (AsynchronousMode != other.AsynchronousMode) return false; if (UserPseudoId != other.UserPseudoId) return false; if (!UserLabels.Equals(other.UserLabels)) return false; + if (!object.Equals(EndUserSpec, other.EndUserSpec)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3164,6 +3246,7 @@ public override int GetHashCode() { if (AsynchronousMode != false) hash ^= AsynchronousMode.GetHashCode(); if (UserPseudoId.Length != 0) hash ^= UserPseudoId.GetHashCode(); hash ^= UserLabels.GetHashCode(); + if (endUserSpec_ != null) hash ^= EndUserSpec.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3227,6 +3310,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(UserPseudoId); } userLabels_.WriteTo(output, _map_userLabels_codec); + if (endUserSpec_ != null) { + output.WriteRawTag(114); + output.WriteMessage(EndUserSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3282,6 +3369,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(UserPseudoId); } userLabels_.WriteTo(ref output, _map_userLabels_codec); + if (endUserSpec_ != null) { + output.WriteRawTag(114); + output.WriteMessage(EndUserSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3326,6 +3417,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPseudoId); } size += userLabels_.CalculateSize(_map_userLabels_codec); + if (endUserSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndUserSpec); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3393,6 +3487,12 @@ public void MergeFrom(AnswerQueryRequest other) { UserPseudoId = other.UserPseudoId; } userLabels_.MergeFrom(other.userLabels_); + if (other.endUserSpec_ != null) { + if (endUserSpec_ == null) { + EndUserSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec(); + } + EndUserSpec.MergeFrom(other.EndUserSpec); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3481,6 +3581,13 @@ public void MergeFrom(pb::CodedInputStream input) { userLabels_.AddEntriesFrom(input, _map_userLabels_codec); break; } + case 114: { + if (endUserSpec_ == null) { + EndUserSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec(); + } + input.ReadMessage(EndUserSpec); + break; + } } } #endif @@ -3569,6 +3676,13 @@ public void MergeFrom(pb::CodedInputStream input) { userLabels_.AddEntriesFrom(ref input, _map_userLabels_codec); break; } + case 114: { + if (endUserSpec_ == null) { + EndUserSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec(); + } + input.ReadMessage(EndUserSpec); + break; + } } } } @@ -3581,6 +3695,11 @@ public void MergeFrom(pb::CodedInputStream input) { public static partial class Types { /// /// Safety specification. + /// There are two use cases: + /// 1. when only safety_spec.enable is set, the BLOCK_LOW_AND_ABOVE threshold + /// will be applied for all categories. + /// 2. when safety_spec.enable is set and some safety_settings are set, only + /// specified safety_settings are applied. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SafetySpec : pb::IMessage @@ -3618,6 +3737,7 @@ public SafetySpec() { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SafetySpec(SafetySpec other) : this() { enable_ = other.enable_; + safetySettings_ = other.safetySettings_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3643,6 +3763,21 @@ public bool Enable { } } + /// Field number for the "safety_settings" field. + public const int SafetySettingsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_safetySettings_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Parser); + private readonly pbc::RepeatedField safetySettings_ = new pbc::RepeatedField(); + /// + /// Optional. Safety settings. + /// This settings are effective only when the safety_spec.enable is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SafetySettings { + get { return safetySettings_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3659,6 +3794,7 @@ public bool Equals(SafetySpec other) { return true; } if (Enable != other.Enable) return false; + if(!safetySettings_.Equals(other.safetySettings_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3667,6 +3803,7 @@ public bool Equals(SafetySpec other) { public override int GetHashCode() { int hash = 1; if (Enable != false) hash ^= Enable.GetHashCode(); + hash ^= safetySettings_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3689,6 +3826,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteBool(Enable); } + safetySettings_.WriteTo(output, _repeated_safetySettings_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3703,6 +3841,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteBool(Enable); } + safetySettings_.WriteTo(ref output, _repeated_safetySettings_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3716,6 +3855,7 @@ public int CalculateSize() { if (Enable != false) { size += 1 + 1; } + size += safetySettings_.CalculateSize(_repeated_safetySettings_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3731,6 +3871,7 @@ public void MergeFrom(SafetySpec other) { if (other.Enable != false) { Enable = other.Enable; } + safetySettings_.Add(other.safetySettings_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3754,6 +3895,10 @@ public void MergeFrom(pb::CodedInputStream input) { Enable = input.ReadBool(); break; } + case 18: { + safetySettings_.AddEntriesFrom(input, _repeated_safetySettings_codec); + break; + } } } #endif @@ -3777,236 +3922,326 @@ public void MergeFrom(pb::CodedInputStream input) { Enable = input.ReadBool(); break; } + case 18: { + safetySettings_.AddEntriesFrom(ref input, _repeated_safetySettings_codec); + break; + } } } } #endif - } - - /// - /// Related questions specification. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RelatedQuestionsSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelatedQuestionsSpec()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - + #region Nested types + /// Container for nested types declared in the SafetySpec message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Descriptor.NestedTypes[1]; } - } + public static partial class Types { + /// + /// Safety settings. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SafetySetting : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SafetySetting()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Descriptor.NestedTypes[0]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RelatedQuestionsSpec() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SafetySetting() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RelatedQuestionsSpec(RelatedQuestionsSpec other) : this() { - enable_ = other.enable_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RelatedQuestionsSpec Clone() { - return new RelatedQuestionsSpec(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SafetySetting(SafetySetting other) : this() { + category_ = other.category_; + threshold_ = other.threshold_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "enable" field. - public const int EnableFieldNumber = 1; - private bool enable_; - /// - /// Enable related questions feature if true. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Enable { - get { return enable_; } - set { - enable_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SafetySetting Clone() { + return new SafetySetting(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RelatedQuestionsSpec); - } + /// Field number for the "category" field. + public const int CategoryFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory category_ = global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified; + /// + /// Required. Harm category. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory Category { + get { return category_; } + set { + category_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RelatedQuestionsSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Enable != other.Enable) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// Field number for the "threshold" field. + public const int ThresholdFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold threshold_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.Unspecified; + /// + /// Required. The harm block threshold. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold Threshold { + get { return threshold_; } + set { + threshold_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Enable != false) hash ^= Enable.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SafetySetting); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SafetySetting other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Category != other.Category) return false; + if (Threshold != other.Threshold) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Enable != false) { - output.WriteRawTag(8); - output.WriteBool(Enable); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) hash ^= Category.GetHashCode(); + if (Threshold != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.Unspecified) hash ^= Threshold.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Enable != false) { - output.WriteRawTag(8); - output.WriteBool(Enable); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Enable != false) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Category); + } + if (Threshold != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Threshold); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RelatedQuestionsSpec other) { - if (other == null) { - return; - } - if (other.Enable != false) { - Enable = other.Enable; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Category); + } + if (Threshold != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Threshold); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Enable = input.ReadBool(); - break; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Category); + } + if (Threshold != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Threshold); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); } + return size; } - } - #endif - } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Enable = input.ReadBool(); - break; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SafetySetting other) { + if (other == null) { + return; + } + if (other.Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + Category = other.Category; + } + if (other.Threshold != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.Unspecified) { + Threshold = other.Threshold; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Category = (global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory) input.ReadEnum(); + break; + } + case 16: { + Threshold = (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Category = (global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory) input.ReadEnum(); + break; + } + case 16: { + Threshold = (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the SafetySetting message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Probability based thresholds levels for blocking. + /// + public enum HarmBlockThreshold { + /// + /// Unspecified harm block threshold. + /// + [pbr::OriginalName("HARM_BLOCK_THRESHOLD_UNSPECIFIED")] Unspecified = 0, + /// + /// Block low threshold and above (i.e. block more). + /// + [pbr::OriginalName("BLOCK_LOW_AND_ABOVE")] BlockLowAndAbove = 1, + /// + /// Block medium threshold and above. + /// + [pbr::OriginalName("BLOCK_MEDIUM_AND_ABOVE")] BlockMediumAndAbove = 2, + /// + /// Block only high threshold (i.e. block less). + /// + [pbr::OriginalName("BLOCK_ONLY_HIGH")] BlockOnlyHigh = 3, + /// + /// Block none. + /// + [pbr::OriginalName("BLOCK_NONE")] BlockNone = 4, + /// + /// Turn off the safety filter. + /// + [pbr::OriginalName("OFF")] Off = 5, } + } + #endregion + } + } - #endif + #endregion } /// - /// Grounding specification. + /// Related questions specification. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GroundingSpec : pb::IMessage + public sealed partial class RelatedQuestionsSpec : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GroundingSpec()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelatedQuestionsSpec()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Descriptor.NestedTypes[2]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Descriptor.NestedTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4017,7 +4252,7 @@ public sealed partial class GroundingSpec : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GroundingSpec() { + public RelatedQuestionsSpec() { OnConstruction(); } @@ -4025,70 +4260,48 @@ public GroundingSpec() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GroundingSpec(GroundingSpec other) : this() { - includeGroundingSupports_ = other.includeGroundingSupports_; - filteringLevel_ = other.filteringLevel_; + public RelatedQuestionsSpec(RelatedQuestionsSpec other) : this() { + enable_ = other.enable_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GroundingSpec Clone() { - return new GroundingSpec(this); - } - - /// Field number for the "include_grounding_supports" field. - public const int IncludeGroundingSupportsFieldNumber = 2; - private bool includeGroundingSupports_; - /// - /// Optional. Specifies whether to include grounding_supports in the answer. - /// The default value is `false`. - /// - /// When this field is set to `true`, returned answer will have - /// `grounding_score` and will contain GroundingSupports for each claim. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IncludeGroundingSupports { - get { return includeGroundingSupports_; } - set { - includeGroundingSupports_ = value; - } + public RelatedQuestionsSpec Clone() { + return new RelatedQuestionsSpec(this); } - /// Field number for the "filtering_level" field. - public const int FilteringLevelFieldNumber = 3; - private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel filteringLevel_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified; + /// Field number for the "enable" field. + public const int EnableFieldNumber = 1; + private bool enable_; /// - /// Optional. Specifies whether to enable the filtering based on grounding - /// score and at what level. + /// Enable related questions feature if true. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel FilteringLevel { - get { return filteringLevel_; } + public bool Enable { + get { return enable_; } set { - filteringLevel_ = value; + enable_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GroundingSpec); + return Equals(other as RelatedQuestionsSpec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GroundingSpec other) { + public bool Equals(RelatedQuestionsSpec other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (IncludeGroundingSupports != other.IncludeGroundingSupports) return false; - if (FilteringLevel != other.FilteringLevel) return false; + if (Enable != other.Enable) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4096,8 +4309,7 @@ public bool Equals(GroundingSpec other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (IncludeGroundingSupports != false) hash ^= IncludeGroundingSupports.GetHashCode(); - if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) hash ^= FilteringLevel.GetHashCode(); + if (Enable != false) hash ^= Enable.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4116,13 +4328,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (IncludeGroundingSupports != false) { - output.WriteRawTag(16); - output.WriteBool(IncludeGroundingSupports); - } - if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { - output.WriteRawTag(24); - output.WriteEnum((int) FilteringLevel); + if (Enable != false) { + output.WriteRawTag(8); + output.WriteBool(Enable); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -4134,13 +4342,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (IncludeGroundingSupports != false) { - output.WriteRawTag(16); - output.WriteBool(IncludeGroundingSupports); - } - if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { - output.WriteRawTag(24); - output.WriteEnum((int) FilteringLevel); + if (Enable != false) { + output.WriteRawTag(8); + output.WriteBool(Enable); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -4152,12 +4356,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (IncludeGroundingSupports != false) { + if (Enable != false) { size += 1 + 1; } - if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FilteringLevel); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4166,15 +4367,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GroundingSpec other) { + public void MergeFrom(RelatedQuestionsSpec other) { if (other == null) { return; } - if (other.IncludeGroundingSupports != false) { - IncludeGroundingSupports = other.IncludeGroundingSupports; - } - if (other.FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { - FilteringLevel = other.FilteringLevel; + if (other.Enable != false) { + Enable = other.Enable; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4195,8 +4393,249 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 16: { - IncludeGroundingSupports = input.ReadBool(); + case 8: { + Enable = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Enable = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Grounding specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GroundingSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GroundingSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GroundingSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GroundingSpec(GroundingSpec other) : this() { + includeGroundingSupports_ = other.includeGroundingSupports_; + filteringLevel_ = other.filteringLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GroundingSpec Clone() { + return new GroundingSpec(this); + } + + /// Field number for the "include_grounding_supports" field. + public const int IncludeGroundingSupportsFieldNumber = 2; + private bool includeGroundingSupports_; + /// + /// Optional. Specifies whether to include grounding_supports in the answer. + /// The default value is `false`. + /// + /// When this field is set to `true`, returned answer will have + /// `grounding_score` and will contain GroundingSupports for each claim. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IncludeGroundingSupports { + get { return includeGroundingSupports_; } + set { + includeGroundingSupports_ = value; + } + } + + /// Field number for the "filtering_level" field. + public const int FilteringLevelFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel filteringLevel_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified; + /// + /// Optional. Specifies whether to enable the filtering based on grounding + /// score and at what level. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel FilteringLevel { + get { return filteringLevel_; } + set { + filteringLevel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GroundingSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GroundingSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IncludeGroundingSupports != other.IncludeGroundingSupports) return false; + if (FilteringLevel != other.FilteringLevel) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IncludeGroundingSupports != false) hash ^= IncludeGroundingSupports.GetHashCode(); + if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) hash ^= FilteringLevel.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IncludeGroundingSupports != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeGroundingSupports); + } + if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) FilteringLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IncludeGroundingSupports != false) { + output.WriteRawTag(16); + output.WriteBool(IncludeGroundingSupports); + } + if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) FilteringLevel); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IncludeGroundingSupports != false) { + size += 1 + 1; + } + if (FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FilteringLevel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GroundingSpec other) { + if (other == null) { + return; + } + if (other.IncludeGroundingSupports != false) { + IncludeGroundingSupports = other.IncludeGroundingSupports; + } + if (other.FilteringLevel != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel.Unspecified) { + FilteringLevel = other.FilteringLevel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 16: { + IncludeGroundingSupports = input.ReadBool(); break; } case 24: { @@ -4311,6 +4750,7 @@ public AnswerGenerationSpec(AnswerGenerationSpec other) : this() { ignoreNonAnswerSeekingQuery_ = other.ignoreNonAnswerSeekingQuery_; ignoreLowRelevantContent_ = other.ignoreLowRelevantContent_; ignoreJailBreakingQuery_ = other.ignoreJailBreakingQuery_; + multimodalSpec_ = other.multimodalSpec_ != null ? other.multimodalSpec_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4488,6 +4928,21 @@ public bool IgnoreJailBreakingQuery { } } + /// Field number for the "multimodal_spec" field. + public const int MultimodalSpecFieldNumber = 9; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec multimodalSpec_; + /// + /// Optional. Multimodal specification. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec MultimodalSpec { + get { return multimodalSpec_; } + set { + multimodalSpec_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4511,6 +4966,7 @@ public bool Equals(AnswerGenerationSpec other) { if (IgnoreNonAnswerSeekingQuery != other.IgnoreNonAnswerSeekingQuery) return false; if (IgnoreLowRelevantContent != other.IgnoreLowRelevantContent) return false; if (IgnoreJailBreakingQuery != other.IgnoreJailBreakingQuery) return false; + if (!object.Equals(MultimodalSpec, other.MultimodalSpec)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4526,6 +4982,7 @@ public override int GetHashCode() { if (IgnoreNonAnswerSeekingQuery != false) hash ^= IgnoreNonAnswerSeekingQuery.GetHashCode(); if (HasIgnoreLowRelevantContent) hash ^= IgnoreLowRelevantContent.GetHashCode(); if (IgnoreJailBreakingQuery != false) hash ^= IgnoreJailBreakingQuery.GetHashCode(); + if (multimodalSpec_ != null) hash ^= MultimodalSpec.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4576,6 +5033,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(64); output.WriteBool(IgnoreJailBreakingQuery); } + if (multimodalSpec_ != null) { + output.WriteRawTag(74); + output.WriteMessage(MultimodalSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4618,6 +5079,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(64); output.WriteBool(IgnoreJailBreakingQuery); } + if (multimodalSpec_ != null) { + output.WriteRawTag(74); + output.WriteMessage(MultimodalSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4652,6 +5117,9 @@ public int CalculateSize() { if (IgnoreJailBreakingQuery != false) { size += 1 + 1; } + if (multimodalSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MultimodalSpec); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4694,6 +5162,12 @@ public void MergeFrom(AnswerGenerationSpec other) { if (other.IgnoreJailBreakingQuery != false) { IgnoreJailBreakingQuery = other.IgnoreJailBreakingQuery; } + if (other.multimodalSpec_ != null) { + if (multimodalSpec_ == null) { + MultimodalSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec(); + } + MultimodalSpec.MergeFrom(other.MultimodalSpec); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4751,6 +5225,13 @@ public void MergeFrom(pb::CodedInputStream input) { IgnoreJailBreakingQuery = input.ReadBool(); break; } + case 74: { + if (multimodalSpec_ == null) { + MultimodalSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec(); + } + input.ReadMessage(MultimodalSpec); + break; + } } } #endif @@ -4808,6 +5289,13 @@ public void MergeFrom(pb::CodedInputStream input) { IgnoreJailBreakingQuery = input.ReadBool(); break; } + case 74: { + if (multimodalSpec_ == null) { + MultimodalSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec(); + } + input.ReadMessage(MultimodalSpec); + break; + } } } } @@ -5227,6 +5715,241 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Multimodal specification: Will return an image from specified source. + /// If multiple sources are specified, the pick is a quality based decision. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MultimodalSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MultimodalSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MultimodalSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MultimodalSpec(MultimodalSpec other) : this() { + imageSource_ = other.imageSource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MultimodalSpec Clone() { + return new MultimodalSpec(this); + } + + /// Field number for the "image_source" field. + public const int ImageSourceFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource imageSource_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource.Unspecified; + /// + /// Optional. Source of image returned in the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource ImageSource { + get { return imageSource_; } + set { + imageSource_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MultimodalSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MultimodalSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ImageSource != other.ImageSource) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource.Unspecified) hash ^= ImageSource.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) ImageSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) ImageSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ImageSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MultimodalSpec other) { + if (other == null) { + return; + } + if (other.ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource.Unspecified) { + ImageSource = other.ImageSource; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + ImageSource = (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + ImageSource = (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.AnswerGenerationSpec.Types.MultimodalSpec.Types.ImageSource) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the MultimodalSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specifies the image source. + /// + public enum ImageSource { + /// + /// Unspecified image source (multimodal feature is disabled by default). + /// + [pbr::OriginalName("IMAGE_SOURCE_UNSPECIFIED")] Unspecified = 0, + /// + /// Behavior when service determines the pick from all available sources. + /// + [pbr::OriginalName("ALL_AVAILABLE_SOURCES")] AllAvailableSources = 1, + /// + /// Includes image from corpus in the answer. + /// + [pbr::OriginalName("CORPUS_IMAGE_ONLY")] CorpusImageOnly = 2, + /// + /// Triggers figure generation in the answer. + /// + [pbr::OriginalName("FIGURE_GENERATION_ONLY")] FigureGenerationOnly = 3, + } + + } + #endregion + + } + } #endregion @@ -8246,6 +8969,7 @@ public QueryUnderstandingSpec() { public QueryUnderstandingSpec(QueryUnderstandingSpec other) : this() { queryClassificationSpec_ = other.queryClassificationSpec_ != null ? other.queryClassificationSpec_.Clone() : null; queryRephraserSpec_ = other.queryRephraserSpec_ != null ? other.queryRephraserSpec_.Clone() : null; + disableSpellCorrection_ = other.disableSpellCorrection_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -8285,6 +9009,22 @@ public QueryUnderstandingSpec Clone() { } } + /// Field number for the "disable_spell_correction" field. + public const int DisableSpellCorrectionFieldNumber = 3; + private bool disableSpellCorrection_; + /// + /// Optional. Whether to disable spell correction. + /// The default value is `false`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableSpellCorrection { + get { return disableSpellCorrection_; } + set { + disableSpellCorrection_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -8302,6 +9042,7 @@ public bool Equals(QueryUnderstandingSpec other) { } if (!object.Equals(QueryClassificationSpec, other.QueryClassificationSpec)) return false; if (!object.Equals(QueryRephraserSpec, other.QueryRephraserSpec)) return false; + if (DisableSpellCorrection != other.DisableSpellCorrection) return false; return Equals(_unknownFields, other._unknownFields); } @@ -8311,6 +9052,7 @@ public override int GetHashCode() { int hash = 1; if (queryClassificationSpec_ != null) hash ^= QueryClassificationSpec.GetHashCode(); if (queryRephraserSpec_ != null) hash ^= QueryRephraserSpec.GetHashCode(); + if (DisableSpellCorrection != false) hash ^= DisableSpellCorrection.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8337,6 +9079,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(QueryRephraserSpec); } + if (DisableSpellCorrection != false) { + output.WriteRawTag(24); + output.WriteBool(DisableSpellCorrection); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -8355,6 +9101,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(QueryRephraserSpec); } + if (DisableSpellCorrection != false) { + output.WriteRawTag(24); + output.WriteBool(DisableSpellCorrection); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -8371,6 +9121,9 @@ public int CalculateSize() { if (queryRephraserSpec_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryRephraserSpec); } + if (DisableSpellCorrection != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8395,6 +9148,9 @@ public void MergeFrom(QueryUnderstandingSpec other) { } QueryRephraserSpec.MergeFrom(other.QueryRephraserSpec); } + if (other.DisableSpellCorrection != false) { + DisableSpellCorrection = other.DisableSpellCorrection; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -8428,6 +9184,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(QueryRephraserSpec); break; } + case 24: { + DisableSpellCorrection = input.ReadBool(); + break; + } } } #endif @@ -8461,6 +9221,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(QueryRephraserSpec); break; } + case 24: { + DisableSpellCorrection = input.ReadBool(); + break; + } } } } @@ -8693,6 +9457,10 @@ public enum Type { /// Non-answer-seeking query classification type, for no clear intent. /// [pbr::OriginalName("NON_ANSWER_SEEKING_QUERY_V2")] NonAnswerSeekingQueryV2 = 4, + /// + /// User defined query classification type. + /// + [pbr::OriginalName("USER_DEFINED_CLASSIFICATION_QUERY")] UserDefinedClassificationQuery = 5, } } @@ -8740,6 +9508,7 @@ public QueryRephraserSpec() { public QueryRephraserSpec(QueryRephraserSpec other) : this() { disable_ = other.disable_; maxRephraseSteps_ = other.maxRephraseSteps_; + modelSpec_ = other.modelSpec_ != null ? other.modelSpec_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -8781,6 +9550,21 @@ public int MaxRephraseSteps { } } + /// Field number for the "model_spec" field. + public const int ModelSpecFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec modelSpec_; + /// + /// Optional. Query Rephraser Model specification. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec ModelSpec { + get { return modelSpec_; } + set { + modelSpec_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -8798,6 +9582,7 @@ public bool Equals(QueryRephraserSpec other) { } if (Disable != other.Disable) return false; if (MaxRephraseSteps != other.MaxRephraseSteps) return false; + if (!object.Equals(ModelSpec, other.ModelSpec)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -8807,142 +9592,1337 @@ public override int GetHashCode() { int hash = 1; if (Disable != false) hash ^= Disable.GetHashCode(); if (MaxRephraseSteps != 0) hash ^= MaxRephraseSteps.GetHashCode(); + if (modelSpec_ != null) hash ^= ModelSpec.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Disable != false) { + output.WriteRawTag(8); + output.WriteBool(Disable); + } + if (MaxRephraseSteps != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxRephraseSteps); + } + if (modelSpec_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ModelSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Disable != false) { + output.WriteRawTag(8); + output.WriteBool(Disable); + } + if (MaxRephraseSteps != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxRephraseSteps); + } + if (modelSpec_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ModelSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Disable != false) { + size += 1 + 1; + } + if (MaxRephraseSteps != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxRephraseSteps); + } + if (modelSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModelSpec); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QueryRephraserSpec other) { + if (other == null) { + return; + } + if (other.Disable != false) { + Disable = other.Disable; + } + if (other.MaxRephraseSteps != 0) { + MaxRephraseSteps = other.MaxRephraseSteps; + } + if (other.modelSpec_ != null) { + if (modelSpec_ == null) { + ModelSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec(); + } + ModelSpec.MergeFrom(other.ModelSpec); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Disable = input.ReadBool(); + break; + } + case 16: { + MaxRephraseSteps = input.ReadInt32(); + break; + } + case 26: { + if (modelSpec_ == null) { + ModelSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec(); + } + input.ReadMessage(ModelSpec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Disable = input.ReadBool(); + break; + } + case 16: { + MaxRephraseSteps = input.ReadInt32(); + break; + } + case 26: { + if (modelSpec_ == null) { + ModelSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec(); + } + input.ReadMessage(ModelSpec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the QueryRephraserSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Query Rephraser Model specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ModelSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ModelSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelSpec(ModelSpec other) : this() { + modelType_ = other.modelType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelSpec Clone() { + return new ModelSpec(this); + } + + /// Field number for the "model_type" field. + public const int ModelTypeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType modelType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType.Unspecified; + /// + /// Optional. Enabled query rephraser model type. If not set, it will use + /// LARGE by default. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType ModelType { + get { return modelType_; } + set { + modelType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ModelSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ModelSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ModelType != other.ModelType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ModelType != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType.Unspecified) hash ^= ModelType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ModelType != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) ModelType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ModelType != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) ModelType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ModelType != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ModelType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ModelSpec other) { + if (other == null) { + return; + } + if (other.ModelType != global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType.Unspecified) { + ModelType = other.ModelType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ModelType = (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ModelType = (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.Types.ModelSpec.Types.ModelType) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ModelSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Query rephraser types. Currently only supports single-hop + /// (max_rephrase_steps = 1) model selections. For multi-hop + /// (max_rephrase_steps > 1), there is only one default model. + /// + public enum ModelType { + /// + /// Unspecified model type. + /// + [pbr::OriginalName("MODEL_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Small query rephraser model. Gemini 1.0 XS model. + /// + [pbr::OriginalName("SMALL")] Small = 1, + /// + /// Large query rephraser model. Gemini 1.0 Pro model. + /// + [pbr::OriginalName("LARGE")] Large = 2, + } + + } + #endregion + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// End user specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EndUserSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EndUserSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Descriptor.NestedTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndUserSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndUserSpec(EndUserSpec other) : this() { + endUserMetadata_ = other.endUserMetadata_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndUserSpec Clone() { + return new EndUserSpec(this); + } + + /// Field number for the "end_user_metadata" field. + public const int EndUserMetadataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_endUserMetadata_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Parser); + private readonly pbc::RepeatedField endUserMetadata_ = new pbc::RepeatedField(); + /// + /// Optional. End user metadata. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EndUserMetadata { + get { return endUserMetadata_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EndUserSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EndUserSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!endUserMetadata_.Equals(other.endUserMetadata_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= endUserMetadata_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + endUserMetadata_.WriteTo(output, _repeated_endUserMetadata_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + endUserMetadata_.WriteTo(ref output, _repeated_endUserMetadata_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += endUserMetadata_.CalculateSize(_repeated_endUserMetadata_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EndUserSpec other) { + if (other == null) { + return; + } + endUserMetadata_.Add(other.endUserMetadata_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + endUserMetadata_.AddEntriesFrom(input, _repeated_endUserMetadata_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + endUserMetadata_.AddEntriesFrom(ref input, _repeated_endUserMetadata_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the EndUserSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// End user metadata. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EndUserMetaData : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EndUserMetaData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndUserMetaData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndUserMetaData(EndUserMetaData other) : this() { + switch (other.ContentCase) { + case ContentOneofCase.ChunkInfo: + ChunkInfo = other.ChunkInfo.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndUserMetaData Clone() { + return new EndUserMetaData(this); + } + + /// Field number for the "chunk_info" field. + public const int ChunkInfoFieldNumber = 1; + /// + /// Chunk information. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo ChunkInfo { + get { return contentCase_ == ContentOneofCase.ChunkInfo ? (global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo) content_ : null; } + set { + content_ = value; + contentCase_ = value == null ? ContentOneofCase.None : ContentOneofCase.ChunkInfo; + } + } + + private object content_; + /// Enum of possible cases for the "content" oneof. + public enum ContentOneofCase { + None = 0, + ChunkInfo = 1, + } + private ContentOneofCase contentCase_ = ContentOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentOneofCase ContentCase { + get { return contentCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContent() { + contentCase_ = ContentOneofCase.None; + content_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EndUserMetaData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EndUserMetaData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ChunkInfo, other.ChunkInfo)) return false; + if (ContentCase != other.ContentCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (contentCase_ == ContentOneofCase.ChunkInfo) hash ^= ChunkInfo.GetHashCode(); + hash ^= (int) contentCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (contentCase_ == ContentOneofCase.ChunkInfo) { + output.WriteRawTag(10); + output.WriteMessage(ChunkInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (contentCase_ == ContentOneofCase.ChunkInfo) { + output.WriteRawTag(10); + output.WriteMessage(ChunkInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (contentCase_ == ContentOneofCase.ChunkInfo) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChunkInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EndUserMetaData other) { + if (other == null) { + return; + } + switch (other.ContentCase) { + case ContentOneofCase.ChunkInfo: + if (ChunkInfo == null) { + ChunkInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo(); + } + ChunkInfo.MergeFrom(other.ChunkInfo); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo(); + if (contentCase_ == ContentOneofCase.ChunkInfo) { + subBuilder.MergeFrom(ChunkInfo); + } + input.ReadMessage(subBuilder); + ChunkInfo = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo(); + if (contentCase_ == ContentOneofCase.ChunkInfo) { + subBuilder.MergeFrom(ChunkInfo); + } + input.ReadMessage(subBuilder); + ChunkInfo = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the EndUserMetaData message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Chunk information. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChunkInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkInfo(ChunkInfo other) : this() { + content_ = other.content_; + documentMetadata_ = other.documentMetadata_ != null ? other.documentMetadata_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkInfo Clone() { + return new ChunkInfo(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private string content_ = ""; + /// + /// Chunk textual content. It is limited to 8000 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "document_metadata" field. + public const int DocumentMetadataFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata documentMetadata_; + /// + /// Metadata of the document from the current chunk. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata DocumentMetadata { + get { return documentMetadata_; } + set { + documentMetadata_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChunkInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChunkInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (!object.Equals(DocumentMetadata, other.DocumentMetadata)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (documentMetadata_ != null) hash ^= DocumentMetadata.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (documentMetadata_ != null) { + output.WriteRawTag(18); + output.WriteMessage(DocumentMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (documentMetadata_ != null) { + output.WriteRawTag(18); + output.WriteMessage(DocumentMetadata); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (documentMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DocumentMetadata); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChunkInfo other) { + if (other == null) { + return; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.documentMetadata_ != null) { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata(); + } + DocumentMetadata.MergeFrom(other.DocumentMetadata); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata(); + } + input.ReadMessage(DocumentMetadata); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + if (documentMetadata_ == null) { + DocumentMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Types.DocumentMetadata(); + } + input.ReadMessage(DocumentMetadata); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ChunkInfo message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Document metadata contains the information of the document of + /// the current chunk. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DocumentMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DocumentMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest.Types.EndUserSpec.Types.EndUserMetaData.Types.ChunkInfo.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DocumentMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DocumentMetadata(DocumentMetadata other) : this() { + title_ = other.title_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DocumentMetadata Clone() { + return new DocumentMetadata(this); + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 1; + private string title_ = ""; + /// + /// Title of the document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DocumentMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DocumentMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Title != other.Title) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Disable != false) { - output.WriteRawTag(8); - output.WriteBool(Disable); - } - if (MaxRephraseSteps != 0) { - output.WriteRawTag(16); - output.WriteInt32(MaxRephraseSteps); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Disable != false) { - output.WriteRawTag(8); - output.WriteBool(Disable); - } - if (MaxRephraseSteps != 0) { - output.WriteRawTag(16); - output.WriteInt32(MaxRephraseSteps); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Disable != false) { - size += 1 + 1; - } - if (MaxRephraseSteps != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxRephraseSteps); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(QueryRephraserSpec other) { - if (other == null) { - return; - } - if (other.Disable != false) { - Disable = other.Disable; - } - if (other.MaxRephraseSteps != 0) { - MaxRephraseSteps = other.MaxRephraseSteps; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DocumentMetadata other) { + if (other == null) { + return; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Disable = input.ReadBool(); - break; - } - case 16: { - MaxRephraseSteps = input.ReadInt32(); - break; - } - } - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Title = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Title = input.ReadString(); + break; + } + } + } + } + #endif - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Disable = input.ReadBool(); - break; - } - case 16: { - MaxRephraseSteps = input.ReadInt32(); - break; } + } + #endregion + } + } - #endif + #endregion } @@ -9515,6 +11495,7 @@ public CreateSessionRequest() { public CreateSessionRequest(CreateSessionRequest other) : this() { parent_ = other.parent_; session_ = other.session_ != null ? other.session_.Clone() : null; + sessionId_ = other.sessionId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -9555,6 +11536,26 @@ public string Parent { } } + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 3; + private string sessionId_ = ""; + /// + /// Optional. The ID to use for the session, which will become the final + /// component of the session's resource name. + /// + /// This value should be 1-63 characters, and valid characters + /// are /[a-z0-9][a-z0-9-]{0,61}[a-z0-9]/. If not specified, a unique ID will + /// be generated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SessionId { + get { return sessionId_; } + set { + sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -9572,6 +11573,7 @@ public bool Equals(CreateSessionRequest other) { } if (Parent != other.Parent) return false; if (!object.Equals(Session, other.Session)) return false; + if (SessionId != other.SessionId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -9581,6 +11583,7 @@ public override int GetHashCode() { int hash = 1; if (Parent.Length != 0) hash ^= Parent.GetHashCode(); if (session_ != null) hash ^= Session.GetHashCode(); + if (SessionId.Length != 0) hash ^= SessionId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9607,6 +11610,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(Session); } + if (SessionId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(SessionId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -9625,6 +11632,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(Session); } + if (SessionId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(SessionId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -9641,6 +11652,9 @@ public int CalculateSize() { if (session_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Session); } + if (SessionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9662,6 +11676,9 @@ public void MergeFrom(CreateSessionRequest other) { } Session.MergeFrom(other.Session); } + if (other.SessionId.Length != 0) { + SessionId = other.SessionId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -9692,6 +11709,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(Session); break; } + case 26: { + SessionId = input.ReadString(); + break; + } } } #endif @@ -9722,6 +11743,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(Session); break; } + case 26: { + SessionId = input.ReadString(); + break; + } } } } @@ -10553,7 +12578,9 @@ public string PageToken { private string filter_ = ""; /// /// A comma-separated list of fields to filter by, in EBNF grammar. + /// /// The supported fields are: + /// /// * `user_pseudo_id` /// * `state` /// * `display_name` @@ -10562,13 +12589,18 @@ public string PageToken { /// * `labels` /// * `create_time` /// * `update_time` + /// * `collaborative_project` /// /// Examples: - /// "user_pseudo_id = some_id" - /// "display_name = \"some_name\"" - /// "starred = true" - /// "is_pinned=true AND (NOT labels:hidden)" - /// "create_time > \"1970-01-01T12:00:00Z\"" + /// + /// * `user_pseudo_id = some_id` + /// * `display_name = "some_name"` + /// * `starred = true` + /// * `is_pinned=true AND (NOT labels:hidden)` + /// * `create_time > "1970-01-01T12:00:00Z"` + /// * `collaborative_project = + /// "projects/123/locations/global/collections/default_collection/engines/" + /// "default_engine/collaborative_projects/cp1"` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -10585,18 +12617,20 @@ public string Filter { /// /// A comma-separated list of fields to order by, sorted in ascending order. /// Use "desc" after a field name for descending. + /// /// Supported fields: /// /// * `update_time` /// * `create_time` /// * `session_name` /// * `is_pinned` + /// * `display_name` /// /// Example: /// - /// * "update_time desc" - /// * "create_time" - /// * "is_pinned desc,update_time desc": list sessions by is_pinned first, then + /// * `update_time desc` + /// * `create_time` + /// * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then /// by update_time. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceClient.g.cs index c5ac87f43790..72328e5a66d6 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceClient.g.cs @@ -56,6 +56,7 @@ private ConversationalSearchServiceSettings(ConversationalSearchServiceSettings GetConversationSettings = existing.GetConversationSettings; ListConversationsSettings = existing.ListConversationsSettings; AnswerQuerySettings = existing.AnswerQuerySettings; + StreamAnswerQuerySettings = existing.StreamAnswerQuerySettings; GetAnswerSettings = existing.GetAnswerSettings; CreateSessionSettings = existing.CreateSessionSettings; DeleteSessionSettings = existing.DeleteSessionSettings; @@ -201,6 +202,14 @@ private ConversationalSearchServiceSettings(ConversationalSearchServiceSettings /// public gaxgrpc::CallSettings AnswerQuerySettings { get; set; } = gaxgrpc::CallSettingsExtensions.WithRetry(gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))), gaxgrpc::RetrySettings.FromExponentialBackoff(maxAttempts: 2147483647, initialBackoff: sys::TimeSpan.FromMilliseconds(1000), maxBackoff: sys::TimeSpan.FromMilliseconds(10000), backoffMultiplier: 1.3, retryFilter: gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Unavailable))); + /// + /// for synchronous and asynchronous calls to + /// ConversationalSearchServiceClient.StreamAnswerQuery and + /// ConversationalSearchServiceClient.StreamAnswerQueryAsync. + /// + /// Timeout: 30 seconds. + public gaxgrpc::CallSettings StreamAnswerQuerySettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(30000))); + /// /// for synchronous and asynchronous calls to /// ConversationalSearchServiceClient.GetAnswer and ConversationalSearchServiceClient.GetAnswerAsync @@ -394,11 +403,15 @@ public abstract partial class ConversationalSearchServiceClient /// The default ConversationalSearchService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. @@ -1345,6 +1358,28 @@ public virtual AnswerQueryResponse AnswerQuery(AnswerQueryRequest request, gaxgr public virtual stt::Task AnswerQueryAsync(AnswerQueryRequest request, st::CancellationToken cancellationToken) => AnswerQueryAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + /// + /// Server streaming methods for . + /// + public abstract partial class StreamAnswerQueryStream : gaxgrpc::ServerStreamingBase + { + } + + /// + /// Answer query method (streaming). + /// + /// It takes one + /// [AnswerQueryRequest][google.cloud.discoveryengine.v1beta.AnswerQueryRequest] + /// and returns multiple + /// [AnswerQueryResponse][google.cloud.discoveryengine.v1beta.AnswerQueryResponse] + /// messages in a stream. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The server stream. + public virtual StreamAnswerQueryStream StreamAnswerQuery(AnswerQueryRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + /// /// Gets a Answer. /// @@ -2165,6 +2200,8 @@ public sealed partial class ConversationalSearchServiceClientImpl : Conversation private readonly gaxgrpc::ApiCall _callAnswerQuery; + private readonly gaxgrpc::ApiServerStreamingCall _callStreamAnswerQuery; + private readonly gaxgrpc::ApiCall _callGetAnswer; private readonly gaxgrpc::ApiCall _callCreateSession; @@ -2217,6 +2254,9 @@ public ConversationalSearchServiceClientImpl(ConversationalSearchService.Convers _callAnswerQuery = clientHelper.BuildApiCall("AnswerQuery", grpcClient.AnswerQueryAsync, grpcClient.AnswerQuery, effectiveSettings.AnswerQuerySettings).WithGoogleRequestParam("serving_config", request => request.ServingConfig); Modify_ApiCall(ref _callAnswerQuery); Modify_AnswerQueryApiCall(ref _callAnswerQuery); + _callStreamAnswerQuery = clientHelper.BuildApiCall("StreamAnswerQuery", grpcClient.StreamAnswerQuery, effectiveSettings.StreamAnswerQuerySettings).WithGoogleRequestParam("serving_config", request => request.ServingConfig); + Modify_ApiCall(ref _callStreamAnswerQuery); + Modify_StreamAnswerQueryApiCall(ref _callStreamAnswerQuery); _callGetAnswer = clientHelper.BuildApiCall("GetAnswer", grpcClient.GetAnswerAsync, grpcClient.GetAnswer, effectiveSettings.GetAnswerSettings).WithGoogleRequestParam("name", request => request.Name); Modify_ApiCall(ref _callGetAnswer); Modify_GetAnswerApiCall(ref _callGetAnswer); @@ -2240,6 +2280,8 @@ public ConversationalSearchServiceClientImpl(ConversationalSearchService.Convers partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + partial void Modify_ApiCall(ref gaxgrpc::ApiServerStreamingCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + partial void Modify_ConverseConversationApiCall(ref gaxgrpc::ApiCall call); partial void Modify_CreateConversationApiCall(ref gaxgrpc::ApiCall call); @@ -2254,6 +2296,8 @@ public ConversationalSearchServiceClientImpl(ConversationalSearchService.Convers partial void Modify_AnswerQueryApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_StreamAnswerQueryApiCall(ref gaxgrpc::ApiServerStreamingCall call); + partial void Modify_GetAnswerApiCall(ref gaxgrpc::ApiCall call); partial void Modify_CreateSessionApiCall(ref gaxgrpc::ApiCall call); @@ -2492,6 +2536,33 @@ public override AnswerQueryResponse AnswerQuery(AnswerQueryRequest request, gaxg return _callAnswerQuery.Async(request, callSettings); } + internal sealed partial class StreamAnswerQueryStreamImpl : StreamAnswerQueryStream + { + /// Construct the server streaming method for StreamAnswerQuery. + /// The underlying gRPC server streaming call. + public StreamAnswerQueryStreamImpl(grpccore::AsyncServerStreamingCall call) => GrpcCall = call; + + public override grpccore::AsyncServerStreamingCall GrpcCall { get; } + } + + /// + /// Answer query method (streaming). + /// + /// It takes one + /// [AnswerQueryRequest][google.cloud.discoveryengine.v1beta.AnswerQueryRequest] + /// and returns multiple + /// [AnswerQueryResponse][google.cloud.discoveryengine.v1beta.AnswerQueryResponse] + /// messages in a stream. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The server stream. + public override ConversationalSearchServiceClient.StreamAnswerQueryStream StreamAnswerQuery(AnswerQueryRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_AnswerQueryRequest(ref request, ref callSettings); + return new StreamAnswerQueryStreamImpl(_callStreamAnswerQuery.Call(request, callSettings)); + } + /// /// Gets a Answer. /// diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceGrpc.g.cs index 6c9d36e82203..5bcd6e571e88 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ConversationalSearchServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/conversational_search_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -162,6 +162,14 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl __Marshaller_google_cloud_discoveryengine_v1beta_AnswerQueryRequest, __Marshaller_google_cloud_discoveryengine_v1beta_AnswerQueryResponse); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StreamAnswerQuery = new grpc::Method( + grpc::MethodType.ServerStreaming, + __ServiceName, + "StreamAnswerQuery", + __Marshaller_google_cloud_discoveryengine_v1beta_AnswerQueryRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_AnswerQueryResponse); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetAnswer = new grpc::Method( grpc::MethodType.Unary, @@ -316,6 +324,25 @@ public abstract partial class ConversationalSearchServiceBase throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } + /// + /// Answer query method (streaming). + /// + /// It takes one + /// [AnswerQueryRequest][google.cloud.discoveryengine.v1beta.AnswerQueryRequest] + /// and returns multiple + /// [AnswerQueryResponse][google.cloud.discoveryengine.v1beta.AnswerQueryResponse] + /// messages in a stream. + /// + /// The request received from the client. + /// Used for sending responses back to the client. + /// The context of the server-side call handler being invoked. + /// A task indicating completion of the handler. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StreamAnswerQuery(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + /// /// Gets a Answer. /// @@ -813,6 +840,42 @@ protected ConversationalSearchServiceClient(ClientBaseConfiguration configuratio return CallInvoker.AsyncUnaryCall(__Method_AnswerQuery, null, options, request); } /// + /// Answer query method (streaming). + /// + /// It takes one + /// [AnswerQueryRequest][google.cloud.discoveryengine.v1beta.AnswerQueryRequest] + /// and returns multiple + /// [AnswerQueryResponse][google.cloud.discoveryengine.v1beta.AnswerQueryResponse] + /// messages in a stream. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncServerStreamingCall StreamAnswerQuery(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StreamAnswerQuery(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Answer query method (streaming). + /// + /// It takes one + /// [AnswerQueryRequest][google.cloud.discoveryengine.v1beta.AnswerQueryRequest] + /// and returns multiple + /// [AnswerQueryResponse][google.cloud.discoveryengine.v1beta.AnswerQueryResponse] + /// messages in a stream. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncServerStreamingCall StreamAnswerQuery(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerQueryRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncServerStreamingCall(__Method_StreamAnswerQuery, null, options, request); + } + /// /// Gets a Answer. /// /// The request to send to the server. @@ -1165,6 +1228,7 @@ protected override ConversationalSearchServiceClient NewInstance(ClientBaseConfi .AddMethod(__Method_GetConversation, serviceImpl.GetConversation) .AddMethod(__Method_ListConversations, serviceImpl.ListConversations) .AddMethod(__Method_AnswerQuery, serviceImpl.AnswerQuery) + .AddMethod(__Method_StreamAnswerQuery, serviceImpl.StreamAnswerQuery) .AddMethod(__Method_GetAnswer, serviceImpl.GetAnswer) .AddMethod(__Method_CreateSession, serviceImpl.CreateSession) .AddMethod(__Method_DeleteSession, serviceImpl.DeleteSession) @@ -1187,6 +1251,7 @@ public static void BindService(grpc::ServiceBinderBase serviceBinder, Conversati serviceBinder.AddMethod(__Method_GetConversation, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetConversation)); serviceBinder.AddMethod(__Method_ListConversations, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListConversations)); serviceBinder.AddMethod(__Method_AnswerQuery, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.AnswerQuery)); + serviceBinder.AddMethod(__Method_StreamAnswerQuery, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.StreamAnswerQuery)); serviceBinder.AddMethod(__Method_GetAnswer, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetAnswer)); serviceBinder.AddMethod(__Method_CreateSession, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateSession)); serviceBinder.AddMethod(__Method_DeleteSession, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteSession)); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStore.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStore.g.cs index d69f88b4c22c..7b01e3ca21e4 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStore.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStore.g.cs @@ -27,77 +27,138 @@ static DataStoreReflection() { "CjRnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9kYXRhX3N0", "b3JlLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0", "YRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2Fw", - "aS9yZXNvdXJjZS5wcm90bxowZ29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2lu", - "ZS92MWJldGEvY29tbW9uLnByb3RvGkRnb29nbGUvY2xvdWQvZGlzY292ZXJ5", - "ZW5naW5lL3YxYmV0YS9kb2N1bWVudF9wcm9jZXNzaW5nX2NvbmZpZy5wcm90", - "bxowZ29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2luZS92MWJldGEvc2NoZW1h", - "LnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvIuANCglE", - "YXRhU3RvcmUSEQoEbmFtZRgBIAEoCUID4EEFEhkKDGRpc3BsYXlfbmFtZRgC", - "IAEoCUID4EECElUKEWluZHVzdHJ5X3ZlcnRpY2FsGAMgASgOMjUuZ29vZ2xl", - "LmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuSW5kdXN0cnlWZXJ0aWNh", - "bEID4EEFEkkKDnNvbHV0aW9uX3R5cGVzGAUgAygOMjEuZ29vZ2xlLmNsb3Vk", - "LmRpc2NvdmVyeWVuZ2luZS52MWJldGEuU29sdXRpb25UeXBlEh4KEWRlZmF1", - "bHRfc2NoZW1hX2lkGAcgASgJQgPgQQMSWQoOY29udGVudF9jb25maWcYBiAB", - "KA4yPC5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5EYXRh", - "U3RvcmUuQ29udGVudENvbmZpZ0ID4EEFEjQKC2NyZWF0ZV90aW1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QCEKVAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFi", + "ZXRhQg5EYXRhU3RvcmVQcm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rp", + "c2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlz", + "Y292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xv", + "dWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNj", + "b3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5", + "RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SchemaReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SchemaReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Parser, new[]{ "Name", "DisplayName", "IndustryVertical", "SolutionTypes", "DefaultSchemaId", "ContentConfig", "CreateTime", "LanguageInfo", "NaturalLanguageQueryUnderstandingConfig", "BillingEstimation", "WorkspaceConfig", "DocumentProcessingConfig", "StartingSchema", "ServingConfigDataStore" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ContentConfig) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation.Parser, new[]{ "StructuredDataSize", "UnstructuredDataSize", "WebsiteDataSize", "StructuredDataUpdateTime", "UnstructuredDataUpdateTime", "WebsiteDataUpdateTime" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore.Parser, new[]{ "DisabledForServing" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Parser, new[]{ "Name", "DisplayName", "IndustryVertical", "SolutionTypes", "DefaultSchemaId", "ContentConfig", "CreateTime", "AdvancedSiteSearchConfig", "LanguageInfo", "NaturalLanguageQueryUnderstandingConfig", "KmsKeyName", "CmekConfig", "BillingEstimation", "AclEnabled", "WorkspaceConfig", "DocumentProcessingConfig", "StartingSchema", "HealthcareFhirConfig", "ServingConfigDataStore", "IdentityMappingStore", "IsInfobotFaqDataStore", "FederatedSearchConfig", "ConfigurableBillingApproach", "ConfigurableBillingApproachUpdateTime" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ContentConfig), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation.Parser, new[]{ "StructuredDataSize", "UnstructuredDataSize", "WebsiteDataSize", "StructuredDataUpdateTime", "UnstructuredDataUpdateTime", "WebsiteDataUpdateTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore.Parser, new[]{ "DisabledForServing" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Parser, new[]{ "AlloyDbConfig", "ThirdPartyOauthConfig", "NotebooklmConfig" }, new[]{ "DataSourceConfig" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Parser, new[]{ "AlloydbConnectionConfig", "AlloydbAiNlConfig", "ReturnedFields" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Parser, new[]{ "Instance", "Database", "User", "Password", "AuthMode", "EnablePsvs" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig.Parser, new[]{ "NlConfigId" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig.Parser, new[]{ "AppName", "InstanceName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig.Parser, new[]{ "SearchConfig" }, null, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig.Parser, new[]{ "DisableInitialIndex", "DisableAutomaticRefresh" }, new[]{ "DisableInitialIndex", "DisableAutomaticRefresh" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.LanguageInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.LanguageInfo.Parser, new[]{ "LanguageCode", "NormalizedLanguageCode", "Language", "Region" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.NaturalLanguageQueryUnderstandingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.NaturalLanguageQueryUnderstandingConfig.Parser, new[]{ "Mode" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.NaturalLanguageQueryUnderstandingConfig.Types.Mode) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig.Parser, new[]{ "Type", "DasherCustomerId", "SuperAdminServiceAccount", "SuperAdminEmailAddress" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig.Types.Type) }, null, null) @@ -152,13 +213,23 @@ public DataStore(DataStore other) : this() { defaultSchemaId_ = other.defaultSchemaId_; contentConfig_ = other.contentConfig_; createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + advancedSiteSearchConfig_ = other.advancedSiteSearchConfig_ != null ? other.advancedSiteSearchConfig_.Clone() : null; languageInfo_ = other.languageInfo_ != null ? other.languageInfo_.Clone() : null; naturalLanguageQueryUnderstandingConfig_ = other.naturalLanguageQueryUnderstandingConfig_ != null ? other.naturalLanguageQueryUnderstandingConfig_.Clone() : null; + kmsKeyName_ = other.kmsKeyName_; + cmekConfig_ = other.cmekConfig_ != null ? other.cmekConfig_.Clone() : null; billingEstimation_ = other.billingEstimation_ != null ? other.billingEstimation_.Clone() : null; + aclEnabled_ = other.aclEnabled_; workspaceConfig_ = other.workspaceConfig_ != null ? other.workspaceConfig_.Clone() : null; documentProcessingConfig_ = other.documentProcessingConfig_ != null ? other.documentProcessingConfig_.Clone() : null; startingSchema_ = other.startingSchema_ != null ? other.startingSchema_.Clone() : null; + healthcareFhirConfig_ = other.healthcareFhirConfig_ != null ? other.healthcareFhirConfig_.Clone() : null; servingConfigDataStore_ = other.servingConfigDataStore_ != null ? other.servingConfigDataStore_.Clone() : null; + identityMappingStore_ = other.identityMappingStore_; + isInfobotFaqDataStore_ = other.isInfobotFaqDataStore_; + federatedSearchConfig_ = other.federatedSearchConfig_ != null ? other.federatedSearchConfig_.Clone() : null; + configurableBillingApproach_ = other.configurableBillingApproach_; + configurableBillingApproachUpdateTime_ = other.configurableBillingApproachUpdateTime_ != null ? other.configurableBillingApproachUpdateTime_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -172,7 +243,7 @@ public DataStore Clone() { public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Immutable. The full resource name of the data store. + /// Immutable. Identifier. The full resource name of the data store. /// Format: /// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. /// @@ -245,7 +316,7 @@ public string DisplayName { private string defaultSchemaId_ = ""; /// /// Output only. The id of the default - /// [Schema][google.cloud.discoveryengine.v1beta.Schema] asscociated to this + /// [Schema][google.cloud.discoveryengine.v1beta.Schema] associated to this /// data store. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -290,6 +361,21 @@ public string DefaultSchemaId { } } + /// Field number for the "advanced_site_search_config" field. + public const int AdvancedSiteSearchConfigFieldNumber = 12; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig advancedSiteSearchConfig_; + /// + /// Optional. Configuration for advanced site search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig AdvancedSiteSearchConfig { + get { return advancedSiteSearchConfig_; } + set { + advancedSiteSearchConfig_ = value; + } + } + /// Field number for the "language_info" field. public const int LanguageInfoFieldNumber = 14; private global::Google.Cloud.DiscoveryEngine.V1Beta.LanguageInfo languageInfo_; @@ -320,6 +406,43 @@ public string DefaultSchemaId { } } + /// Field number for the "kms_key_name" field. + public const int KmsKeyNameFieldNumber = 32; + private string kmsKeyName_ = ""; + /// + /// Input only. The KMS key to be used to protect this DataStore at creation + /// time. + /// + /// Must be set for requests that need to comply with CMEK Org Policy + /// protections. + /// + /// If this field is set and processed successfully, the DataStore will be + /// protected by the KMS key, as indicated in the cmek_config field. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKeyName { + get { return kmsKeyName_; } + set { + kmsKeyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "cmek_config" field. + public const int CmekConfigFieldNumber = 18; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig cmekConfig_; + /// + /// Output only. CMEK-related information for the DataStore. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig CmekConfig { + get { return cmekConfig_; } + set { + cmekConfig_ = value; + } + } + /// Field number for the "billing_estimation" field. public const int BillingEstimationFieldNumber = 23; private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation billingEstimation_; @@ -335,6 +458,37 @@ public string DefaultSchemaId { } } + /// Field number for the "acl_enabled" field. + public const int AclEnabledFieldNumber = 24; + private bool aclEnabled_; + /// + /// Immutable. Whether data in the + /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore] has ACL + /// information. If set to `true`, the source data must have ACL. ACL will be + /// ingested when data is ingested by + /// [DocumentService.ImportDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments] + /// methods. + /// + /// When ACL is enabled for the + /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore], + /// [Document][google.cloud.discoveryengine.v1beta.Document] can't be accessed + /// by calling + /// [DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument] + /// or + /// [DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments]. + /// + /// Currently ACL is only supported in `GENERIC` industry vertical with + /// non-`PUBLIC_WEBSITE` content config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AclEnabled { + get { return aclEnabled_; } + set { + aclEnabled_ = value; + } + } + /// Field number for the "workspace_config" field. public const int WorkspaceConfigFieldNumber = 25; private global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig workspaceConfig_; @@ -378,9 +532,12 @@ public string DefaultSchemaId { /// provisioning it. If unset, a default vertical specialized schema will be /// used. /// - /// This field is only used by [CreateDataStore][] API, and will be ignored if - /// used in other APIs. This field will be omitted from all API responses - /// including [CreateDataStore][] API. To retrieve a schema of a + /// This field is only used by + /// [CreateDataStore][google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore] + /// API, and will be ignored if used in other APIs. This field will be omitted + /// from all API responses including + /// [CreateDataStore][google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore] + /// API. To retrieve a schema of a /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore], use /// [SchemaService.GetSchema][google.cloud.discoveryengine.v1beta.SchemaService.GetSchema] /// API instead. @@ -398,6 +555,21 @@ public string DefaultSchemaId { } } + /// Field number for the "healthcare_fhir_config" field. + public const int HealthcareFhirConfigFieldNumber = 29; + private global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig healthcareFhirConfig_; + /// + /// Optional. Configuration for `HEALTHCARE_FHIR` vertical. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig HealthcareFhirConfig { + get { return healthcareFhirConfig_; } + set { + healthcareFhirConfig_ = value; + } + } + /// Field number for the "serving_config_data_store" field. public const int ServingConfigDataStoreFieldNumber = 30; private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore servingConfigDataStore_; @@ -413,6 +585,86 @@ public string DefaultSchemaId { } } + /// Field number for the "identity_mapping_store" field. + public const int IdentityMappingStoreFieldNumber = 31; + private string identityMappingStore_ = ""; + /// + /// Immutable. The fully qualified resource name of the associated + /// [IdentityMappingStore][google.cloud.discoveryengine.v1beta.IdentityMappingStore]. + /// This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or + /// `GSUITE` IdP. Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IdentityMappingStore { + get { return identityMappingStore_; } + set { + identityMappingStore_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "is_infobot_faq_data_store" field. + public const int IsInfobotFaqDataStoreFieldNumber = 37; + private bool isInfobotFaqDataStore_; + /// + /// Optional. If set, this DataStore is an Infobot FAQ DataStore. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsInfobotFaqDataStore { + get { return isInfobotFaqDataStore_; } + set { + isInfobotFaqDataStore_ = value; + } + } + + /// Field number for the "federated_search_config" field. + public const int FederatedSearchConfigFieldNumber = 38; + private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig federatedSearchConfig_; + /// + /// Optional. If set, this DataStore is a federated search DataStore. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig FederatedSearchConfig { + get { return federatedSearchConfig_; } + set { + federatedSearchConfig_ = value; + } + } + + /// Field number for the "configurable_billing_approach" field. + public const int ConfigurableBillingApproachFieldNumber = 45; + private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach configurableBillingApproach_ = global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach.Unspecified; + /// + /// Optional. Configuration for configurable billing approach. See + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach ConfigurableBillingApproach { + get { return configurableBillingApproach_; } + set { + configurableBillingApproach_ = value; + } + } + + /// Field number for the "configurable_billing_approach_update_time" field. + public const int ConfigurableBillingApproachUpdateTimeFieldNumber = 46; + private global::Google.Protobuf.WellKnownTypes.Timestamp configurableBillingApproachUpdateTime_; + /// + /// Output only. The timestamp when configurable_billing_approach was last + /// updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp ConfigurableBillingApproachUpdateTime { + get { return configurableBillingApproachUpdateTime_; } + set { + configurableBillingApproachUpdateTime_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -435,13 +687,23 @@ public bool Equals(DataStore other) { if (DefaultSchemaId != other.DefaultSchemaId) return false; if (ContentConfig != other.ContentConfig) return false; if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(AdvancedSiteSearchConfig, other.AdvancedSiteSearchConfig)) return false; if (!object.Equals(LanguageInfo, other.LanguageInfo)) return false; if (!object.Equals(NaturalLanguageQueryUnderstandingConfig, other.NaturalLanguageQueryUnderstandingConfig)) return false; + if (KmsKeyName != other.KmsKeyName) return false; + if (!object.Equals(CmekConfig, other.CmekConfig)) return false; if (!object.Equals(BillingEstimation, other.BillingEstimation)) return false; + if (AclEnabled != other.AclEnabled) return false; if (!object.Equals(WorkspaceConfig, other.WorkspaceConfig)) return false; if (!object.Equals(DocumentProcessingConfig, other.DocumentProcessingConfig)) return false; if (!object.Equals(StartingSchema, other.StartingSchema)) return false; + if (!object.Equals(HealthcareFhirConfig, other.HealthcareFhirConfig)) return false; if (!object.Equals(ServingConfigDataStore, other.ServingConfigDataStore)) return false; + if (IdentityMappingStore != other.IdentityMappingStore) return false; + if (IsInfobotFaqDataStore != other.IsInfobotFaqDataStore) return false; + if (!object.Equals(FederatedSearchConfig, other.FederatedSearchConfig)) return false; + if (ConfigurableBillingApproach != other.ConfigurableBillingApproach) return false; + if (!object.Equals(ConfigurableBillingApproachUpdateTime, other.ConfigurableBillingApproachUpdateTime)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -456,13 +718,23 @@ public override int GetHashCode() { if (DefaultSchemaId.Length != 0) hash ^= DefaultSchemaId.GetHashCode(); if (ContentConfig != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ContentConfig.Unspecified) hash ^= ContentConfig.GetHashCode(); if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (advancedSiteSearchConfig_ != null) hash ^= AdvancedSiteSearchConfig.GetHashCode(); if (languageInfo_ != null) hash ^= LanguageInfo.GetHashCode(); if (naturalLanguageQueryUnderstandingConfig_ != null) hash ^= NaturalLanguageQueryUnderstandingConfig.GetHashCode(); + if (KmsKeyName.Length != 0) hash ^= KmsKeyName.GetHashCode(); + if (cmekConfig_ != null) hash ^= CmekConfig.GetHashCode(); if (billingEstimation_ != null) hash ^= BillingEstimation.GetHashCode(); + if (AclEnabled != false) hash ^= AclEnabled.GetHashCode(); if (workspaceConfig_ != null) hash ^= WorkspaceConfig.GetHashCode(); if (documentProcessingConfig_ != null) hash ^= DocumentProcessingConfig.GetHashCode(); if (startingSchema_ != null) hash ^= StartingSchema.GetHashCode(); + if (healthcareFhirConfig_ != null) hash ^= HealthcareFhirConfig.GetHashCode(); if (servingConfigDataStore_ != null) hash ^= ServingConfigDataStore.GetHashCode(); + if (IdentityMappingStore.Length != 0) hash ^= IdentityMappingStore.GetHashCode(); + if (IsInfobotFaqDataStore != false) hash ^= IsInfobotFaqDataStore.GetHashCode(); + if (federatedSearchConfig_ != null) hash ^= FederatedSearchConfig.GetHashCode(); + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach.Unspecified) hash ^= ConfigurableBillingApproach.GetHashCode(); + if (configurableBillingApproachUpdateTime_ != null) hash ^= ConfigurableBillingApproachUpdateTime.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -506,14 +778,26 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(58); output.WriteString(DefaultSchemaId); } + if (advancedSiteSearchConfig_ != null) { + output.WriteRawTag(98); + output.WriteMessage(AdvancedSiteSearchConfig); + } if (languageInfo_ != null) { output.WriteRawTag(114); output.WriteMessage(LanguageInfo); } + if (cmekConfig_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(CmekConfig); + } if (billingEstimation_ != null) { output.WriteRawTag(186, 1); output.WriteMessage(BillingEstimation); } + if (AclEnabled != false) { + output.WriteRawTag(192, 1); + output.WriteBool(AclEnabled); + } if (workspaceConfig_ != null) { output.WriteRawTag(202, 1); output.WriteMessage(WorkspaceConfig); @@ -526,14 +810,42 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(226, 1); output.WriteMessage(StartingSchema); } + if (healthcareFhirConfig_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(HealthcareFhirConfig); + } if (servingConfigDataStore_ != null) { output.WriteRawTag(242, 1); output.WriteMessage(ServingConfigDataStore); } + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(IdentityMappingStore); + } + if (KmsKeyName.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(KmsKeyName); + } if (naturalLanguageQueryUnderstandingConfig_ != null) { output.WriteRawTag(146, 2); output.WriteMessage(NaturalLanguageQueryUnderstandingConfig); } + if (IsInfobotFaqDataStore != false) { + output.WriteRawTag(168, 2); + output.WriteBool(IsInfobotFaqDataStore); + } + if (federatedSearchConfig_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(FederatedSearchConfig); + } + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach.Unspecified) { + output.WriteRawTag(232, 2); + output.WriteEnum((int) ConfigurableBillingApproach); + } + if (configurableBillingApproachUpdateTime_ != null) { + output.WriteRawTag(242, 2); + output.WriteMessage(ConfigurableBillingApproachUpdateTime); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -569,14 +881,26 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(58); output.WriteString(DefaultSchemaId); } + if (advancedSiteSearchConfig_ != null) { + output.WriteRawTag(98); + output.WriteMessage(AdvancedSiteSearchConfig); + } if (languageInfo_ != null) { output.WriteRawTag(114); output.WriteMessage(LanguageInfo); } + if (cmekConfig_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(CmekConfig); + } if (billingEstimation_ != null) { output.WriteRawTag(186, 1); output.WriteMessage(BillingEstimation); } + if (AclEnabled != false) { + output.WriteRawTag(192, 1); + output.WriteBool(AclEnabled); + } if (workspaceConfig_ != null) { output.WriteRawTag(202, 1); output.WriteMessage(WorkspaceConfig); @@ -589,14 +913,42 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(226, 1); output.WriteMessage(StartingSchema); } + if (healthcareFhirConfig_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(HealthcareFhirConfig); + } if (servingConfigDataStore_ != null) { output.WriteRawTag(242, 1); output.WriteMessage(ServingConfigDataStore); } + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(IdentityMappingStore); + } + if (KmsKeyName.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(KmsKeyName); + } if (naturalLanguageQueryUnderstandingConfig_ != null) { output.WriteRawTag(146, 2); output.WriteMessage(NaturalLanguageQueryUnderstandingConfig); } + if (IsInfobotFaqDataStore != false) { + output.WriteRawTag(168, 2); + output.WriteBool(IsInfobotFaqDataStore); + } + if (federatedSearchConfig_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(FederatedSearchConfig); + } + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach.Unspecified) { + output.WriteRawTag(232, 2); + output.WriteEnum((int) ConfigurableBillingApproach); + } + if (configurableBillingApproachUpdateTime_ != null) { + output.WriteRawTag(242, 2); + output.WriteMessage(ConfigurableBillingApproachUpdateTime); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -626,15 +978,27 @@ public int CalculateSize() { if (createTime_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); } + if (advancedSiteSearchConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AdvancedSiteSearchConfig); + } if (languageInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(LanguageInfo); } if (naturalLanguageQueryUnderstandingConfig_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(NaturalLanguageQueryUnderstandingConfig); } + if (KmsKeyName.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(KmsKeyName); + } + if (cmekConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CmekConfig); + } if (billingEstimation_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(BillingEstimation); } + if (AclEnabled != false) { + size += 2 + 1; + } if (workspaceConfig_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(WorkspaceConfig); } @@ -644,9 +1008,27 @@ public int CalculateSize() { if (startingSchema_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(StartingSchema); } + if (healthcareFhirConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(HealthcareFhirConfig); + } if (servingConfigDataStore_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(ServingConfigDataStore); } + if (IdentityMappingStore.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(IdentityMappingStore); + } + if (IsInfobotFaqDataStore != false) { + size += 2 + 1; + } + if (federatedSearchConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(FederatedSearchConfig); + } + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach.Unspecified) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ConfigurableBillingApproach); + } + if (configurableBillingApproachUpdateTime_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConfigurableBillingApproachUpdateTime); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -681,6 +1063,12 @@ public void MergeFrom(DataStore other) { } CreateTime.MergeFrom(other.CreateTime); } + if (other.advancedSiteSearchConfig_ != null) { + if (advancedSiteSearchConfig_ == null) { + AdvancedSiteSearchConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig(); + } + AdvancedSiteSearchConfig.MergeFrom(other.AdvancedSiteSearchConfig); + } if (other.languageInfo_ != null) { if (languageInfo_ == null) { LanguageInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.LanguageInfo(); @@ -693,12 +1081,24 @@ public void MergeFrom(DataStore other) { } NaturalLanguageQueryUnderstandingConfig.MergeFrom(other.NaturalLanguageQueryUnderstandingConfig); } + if (other.KmsKeyName.Length != 0) { + KmsKeyName = other.KmsKeyName; + } + if (other.cmekConfig_ != null) { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + CmekConfig.MergeFrom(other.CmekConfig); + } if (other.billingEstimation_ != null) { if (billingEstimation_ == null) { BillingEstimation = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation(); } BillingEstimation.MergeFrom(other.BillingEstimation); } + if (other.AclEnabled != false) { + AclEnabled = other.AclEnabled; + } if (other.workspaceConfig_ != null) { if (workspaceConfig_ == null) { WorkspaceConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig(); @@ -717,12 +1117,39 @@ public void MergeFrom(DataStore other) { } StartingSchema.MergeFrom(other.StartingSchema); } + if (other.healthcareFhirConfig_ != null) { + if (healthcareFhirConfig_ == null) { + HealthcareFhirConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig(); + } + HealthcareFhirConfig.MergeFrom(other.HealthcareFhirConfig); + } if (other.servingConfigDataStore_ != null) { if (servingConfigDataStore_ == null) { ServingConfigDataStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore(); } ServingConfigDataStore.MergeFrom(other.ServingConfigDataStore); } + if (other.IdentityMappingStore.Length != 0) { + IdentityMappingStore = other.IdentityMappingStore; + } + if (other.IsInfobotFaqDataStore != false) { + IsInfobotFaqDataStore = other.IsInfobotFaqDataStore; + } + if (other.federatedSearchConfig_ != null) { + if (federatedSearchConfig_ == null) { + FederatedSearchConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig(); + } + FederatedSearchConfig.MergeFrom(other.FederatedSearchConfig); + } + if (other.ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach.Unspecified) { + ConfigurableBillingApproach = other.ConfigurableBillingApproach; + } + if (other.configurableBillingApproachUpdateTime_ != null) { + if (configurableBillingApproachUpdateTime_ == null) { + ConfigurableBillingApproachUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + ConfigurableBillingApproachUpdateTime.MergeFrom(other.ConfigurableBillingApproachUpdateTime); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -774,6 +1201,13 @@ public void MergeFrom(pb::CodedInputStream input) { DefaultSchemaId = input.ReadString(); break; } + case 98: { + if (advancedSiteSearchConfig_ == null) { + AdvancedSiteSearchConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig(); + } + input.ReadMessage(AdvancedSiteSearchConfig); + break; + } case 114: { if (languageInfo_ == null) { LanguageInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.LanguageInfo(); @@ -781,6 +1215,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(LanguageInfo); break; } + case 146: { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(CmekConfig); + break; + } case 186: { if (billingEstimation_ == null) { BillingEstimation = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation(); @@ -788,6 +1229,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(BillingEstimation); break; } + case 192: { + AclEnabled = input.ReadBool(); + break; + } case 202: { if (workspaceConfig_ == null) { WorkspaceConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig(); @@ -809,6 +1254,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(StartingSchema); break; } + case 234: { + if (healthcareFhirConfig_ == null) { + HealthcareFhirConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig(); + } + input.ReadMessage(HealthcareFhirConfig); + break; + } case 242: { if (servingConfigDataStore_ == null) { ServingConfigDataStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore(); @@ -816,6 +1268,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ServingConfigDataStore); break; } + case 250: { + IdentityMappingStore = input.ReadString(); + break; + } + case 258: { + KmsKeyName = input.ReadString(); + break; + } case 274: { if (naturalLanguageQueryUnderstandingConfig_ == null) { NaturalLanguageQueryUnderstandingConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.NaturalLanguageQueryUnderstandingConfig(); @@ -823,6 +1283,28 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(NaturalLanguageQueryUnderstandingConfig); break; } + case 296: { + IsInfobotFaqDataStore = input.ReadBool(); + break; + } + case 306: { + if (federatedSearchConfig_ == null) { + FederatedSearchConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig(); + } + input.ReadMessage(FederatedSearchConfig); + break; + } + case 360: { + ConfigurableBillingApproach = (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach) input.ReadEnum(); + break; + } + case 370: { + if (configurableBillingApproachUpdateTime_ == null) { + ConfigurableBillingApproachUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(ConfigurableBillingApproachUpdateTime); + break; + } } } #endif @@ -874,6 +1356,13 @@ public void MergeFrom(pb::CodedInputStream input) { DefaultSchemaId = input.ReadString(); break; } + case 98: { + if (advancedSiteSearchConfig_ == null) { + AdvancedSiteSearchConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.AdvancedSiteSearchConfig(); + } + input.ReadMessage(AdvancedSiteSearchConfig); + break; + } case 114: { if (languageInfo_ == null) { LanguageInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.LanguageInfo(); @@ -881,6 +1370,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(LanguageInfo); break; } + case 146: { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(CmekConfig); + break; + } case 186: { if (billingEstimation_ == null) { BillingEstimation = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation(); @@ -888,6 +1384,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(BillingEstimation); break; } + case 192: { + AclEnabled = input.ReadBool(); + break; + } case 202: { if (workspaceConfig_ == null) { WorkspaceConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.WorkspaceConfig(); @@ -909,6 +1409,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(StartingSchema); break; } + case 234: { + if (healthcareFhirConfig_ == null) { + HealthcareFhirConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.HealthcareFhirConfig(); + } + input.ReadMessage(HealthcareFhirConfig); + break; + } case 242: { if (servingConfigDataStore_ == null) { ServingConfigDataStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore(); @@ -916,6 +1423,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(ServingConfigDataStore); break; } + case 250: { + IdentityMappingStore = input.ReadString(); + break; + } + case 258: { + KmsKeyName = input.ReadString(); + break; + } case 274: { if (naturalLanguageQueryUnderstandingConfig_ == null) { NaturalLanguageQueryUnderstandingConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.NaturalLanguageQueryUnderstandingConfig(); @@ -923,6 +1438,28 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(NaturalLanguageQueryUnderstandingConfig); break; } + case 296: { + IsInfobotFaqDataStore = input.ReadBool(); + break; + } + case 306: { + if (federatedSearchConfig_ == null) { + FederatedSearchConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig(); + } + input.ReadMessage(FederatedSearchConfig); + break; + } + case 360: { + ConfigurableBillingApproach = (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ConfigurableBillingApproach) input.ReadEnum(); + break; + } + case 370: { + if (configurableBillingApproachUpdateTime_ == null) { + ConfigurableBillingApproachUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(ConfigurableBillingApproachUpdateTime); + break; + } } } } @@ -963,6 +1500,25 @@ public enum ContentConfig { [pbr::OriginalName("GOOGLE_WORKSPACE")] GoogleWorkspace = 4, } + /// + /// Configuration for configurable billing approach. + /// + public enum ConfigurableBillingApproach { + /// + /// Default value. For Spark and non-Spark non-configurable billing approach. + /// + [pbr::OriginalName("CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED")] Unspecified = 0, + /// + /// Use the subscription base + overage billing for indexing core for non + /// embedding storage. + /// + [pbr::OriginalName("CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE")] ConfigurableSubscriptionIndexingCore = 1, + /// + /// Use the consumption pay-as-you-go billing for embedding storage add-on. + /// + [pbr::OriginalName("CONFIGURABLE_CONSUMPTION_EMBEDDING")] ConfigurableConsumptionEmbedding = 2, + } + /// /// Estimation of data size per data store. /// @@ -1446,8 +2002,8 @@ public ServingConfigDataStore Clone() { public const int DisabledForServingFieldNumber = 1; private bool disabledForServing_; /// - /// If set true, the DataStore will not be available for serving search - /// requests. + /// Optional. If set true, the DataStore will not be available for serving + /// search requests. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1599,51 +2155,2089 @@ public void MergeFrom(pb::CodedInputStream input) { } - } - #endregion + /// + /// Stores information for federated search. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FederatedSearchConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FederatedSearchConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Descriptor.NestedTypes[2]; } + } - /// - /// Language info for DataStore. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class LanguageInfo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LanguageInfo()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[1]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FederatedSearchConfig() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LanguageInfo() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FederatedSearchConfig(FederatedSearchConfig other) : this() { + switch (other.DataSourceConfigCase) { + case DataSourceConfigOneofCase.AlloyDbConfig: + AlloyDbConfig = other.AlloyDbConfig.Clone(); + break; + case DataSourceConfigOneofCase.ThirdPartyOauthConfig: + ThirdPartyOauthConfig = other.ThirdPartyOauthConfig.Clone(); + break; + case DataSourceConfigOneofCase.NotebooklmConfig: + NotebooklmConfig = other.NotebooklmConfig.Clone(); + break; + } - partial void OnConstruction(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LanguageInfo(LanguageInfo other) : this() { - languageCode_ = other.languageCode_; - normalizedLanguageCode_ = other.normalizedLanguageCode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FederatedSearchConfig Clone() { + return new FederatedSearchConfig(this); + } + + /// Field number for the "alloy_db_config" field. + public const int AlloyDbConfigFieldNumber = 1; + /// + /// AlloyDB config. If set, this DataStore is connected to AlloyDB. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig AlloyDbConfig { + get { return dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig ? (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig) dataSourceConfig_ : null; } + set { + dataSourceConfig_ = value; + dataSourceConfigCase_ = value == null ? DataSourceConfigOneofCase.None : DataSourceConfigOneofCase.AlloyDbConfig; + } + } + + /// Field number for the "third_party_oauth_config" field. + public const int ThirdPartyOauthConfigFieldNumber = 2; + /// + /// Third Party OAuth config. If set, this DataStore is connected to a + /// third party application. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig ThirdPartyOauthConfig { + get { return dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig ? (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig) dataSourceConfig_ : null; } + set { + dataSourceConfig_ = value; + dataSourceConfigCase_ = value == null ? DataSourceConfigOneofCase.None : DataSourceConfigOneofCase.ThirdPartyOauthConfig; + } + } + + /// Field number for the "notebooklm_config" field. + public const int NotebooklmConfigFieldNumber = 3; + /// + /// NotebookLM config. If set, this DataStore is connected to + /// NotebookLM Enterprise. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig NotebooklmConfig { + get { return dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig ? (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig) dataSourceConfig_ : null; } + set { + dataSourceConfig_ = value; + dataSourceConfigCase_ = value == null ? DataSourceConfigOneofCase.None : DataSourceConfigOneofCase.NotebooklmConfig; + } + } + + private object dataSourceConfig_; + /// Enum of possible cases for the "data_source_config" oneof. + public enum DataSourceConfigOneofCase { + None = 0, + AlloyDbConfig = 1, + ThirdPartyOauthConfig = 2, + NotebooklmConfig = 3, + } + private DataSourceConfigOneofCase dataSourceConfigCase_ = DataSourceConfigOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataSourceConfigOneofCase DataSourceConfigCase { + get { return dataSourceConfigCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDataSourceConfig() { + dataSourceConfigCase_ = DataSourceConfigOneofCase.None; + dataSourceConfig_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FederatedSearchConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FederatedSearchConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AlloyDbConfig, other.AlloyDbConfig)) return false; + if (!object.Equals(ThirdPartyOauthConfig, other.ThirdPartyOauthConfig)) return false; + if (!object.Equals(NotebooklmConfig, other.NotebooklmConfig)) return false; + if (DataSourceConfigCase != other.DataSourceConfigCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig) hash ^= AlloyDbConfig.GetHashCode(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig) hash ^= ThirdPartyOauthConfig.GetHashCode(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig) hash ^= NotebooklmConfig.GetHashCode(); + hash ^= (int) dataSourceConfigCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig) { + output.WriteRawTag(10); + output.WriteMessage(AlloyDbConfig); + } + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig) { + output.WriteRawTag(18); + output.WriteMessage(ThirdPartyOauthConfig); + } + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig) { + output.WriteRawTag(26); + output.WriteMessage(NotebooklmConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig) { + output.WriteRawTag(10); + output.WriteMessage(AlloyDbConfig); + } + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig) { + output.WriteRawTag(18); + output.WriteMessage(ThirdPartyOauthConfig); + } + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig) { + output.WriteRawTag(26); + output.WriteMessage(NotebooklmConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlloyDbConfig); + } + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ThirdPartyOauthConfig); + } + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotebooklmConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FederatedSearchConfig other) { + if (other == null) { + return; + } + switch (other.DataSourceConfigCase) { + case DataSourceConfigOneofCase.AlloyDbConfig: + if (AlloyDbConfig == null) { + AlloyDbConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig(); + } + AlloyDbConfig.MergeFrom(other.AlloyDbConfig); + break; + case DataSourceConfigOneofCase.ThirdPartyOauthConfig: + if (ThirdPartyOauthConfig == null) { + ThirdPartyOauthConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig(); + } + ThirdPartyOauthConfig.MergeFrom(other.ThirdPartyOauthConfig); + break; + case DataSourceConfigOneofCase.NotebooklmConfig: + if (NotebooklmConfig == null) { + NotebooklmConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig(); + } + NotebooklmConfig.MergeFrom(other.NotebooklmConfig); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig) { + subBuilder.MergeFrom(AlloyDbConfig); + } + input.ReadMessage(subBuilder); + AlloyDbConfig = subBuilder; + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig) { + subBuilder.MergeFrom(ThirdPartyOauthConfig); + } + input.ReadMessage(subBuilder); + ThirdPartyOauthConfig = subBuilder; + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig) { + subBuilder.MergeFrom(NotebooklmConfig); + } + input.ReadMessage(subBuilder); + NotebooklmConfig = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.AlloyDbConfig) { + subBuilder.MergeFrom(AlloyDbConfig); + } + input.ReadMessage(subBuilder); + AlloyDbConfig = subBuilder; + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.ThirdPartyOauthConfig(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.ThirdPartyOauthConfig) { + subBuilder.MergeFrom(ThirdPartyOauthConfig); + } + input.ReadMessage(subBuilder); + ThirdPartyOauthConfig = subBuilder; + break; + } + case 26: { + global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.NotebooklmConfig(); + if (dataSourceConfigCase_ == DataSourceConfigOneofCase.NotebooklmConfig) { + subBuilder.MergeFrom(NotebooklmConfig); + } + input.ReadMessage(subBuilder); + NotebooklmConfig = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the FederatedSearchConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Stores information for connecting to AlloyDB. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AlloyDbConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AlloyDbConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbConfig(AlloyDbConfig other) : this() { + alloydbConnectionConfig_ = other.alloydbConnectionConfig_ != null ? other.alloydbConnectionConfig_.Clone() : null; + alloydbAiNlConfig_ = other.alloydbAiNlConfig_ != null ? other.alloydbAiNlConfig_.Clone() : null; + returnedFields_ = other.returnedFields_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbConfig Clone() { + return new AlloyDbConfig(this); + } + + /// Field number for the "alloydb_connection_config" field. + public const int AlloydbConnectionConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig alloydbConnectionConfig_; + /// + /// Required. Configuration for connecting to AlloyDB. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig AlloydbConnectionConfig { + get { return alloydbConnectionConfig_; } + set { + alloydbConnectionConfig_ = value; + } + } + + /// Field number for the "alloydb_ai_nl_config" field. + public const int AlloydbAiNlConfigFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig alloydbAiNlConfig_; + /// + /// Optional. Configuration for Magic. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig AlloydbAiNlConfig { + get { return alloydbAiNlConfig_; } + set { + alloydbAiNlConfig_ = value; + } + } + + /// Field number for the "returned_fields" field. + public const int ReturnedFieldsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_returnedFields_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField returnedFields_ = new pbc::RepeatedField(); + /// + /// Optional. Fields to be returned in the search results. If empty, all + /// fields will be returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ReturnedFields { + get { return returnedFields_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AlloyDbConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AlloyDbConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AlloydbConnectionConfig, other.AlloydbConnectionConfig)) return false; + if (!object.Equals(AlloydbAiNlConfig, other.AlloydbAiNlConfig)) return false; + if(!returnedFields_.Equals(other.returnedFields_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (alloydbConnectionConfig_ != null) hash ^= AlloydbConnectionConfig.GetHashCode(); + if (alloydbAiNlConfig_ != null) hash ^= AlloydbAiNlConfig.GetHashCode(); + hash ^= returnedFields_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (alloydbConnectionConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AlloydbConnectionConfig); + } + if (alloydbAiNlConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AlloydbAiNlConfig); + } + returnedFields_.WriteTo(output, _repeated_returnedFields_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (alloydbConnectionConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AlloydbConnectionConfig); + } + if (alloydbAiNlConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(AlloydbAiNlConfig); + } + returnedFields_.WriteTo(ref output, _repeated_returnedFields_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (alloydbConnectionConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlloydbConnectionConfig); + } + if (alloydbAiNlConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlloydbAiNlConfig); + } + size += returnedFields_.CalculateSize(_repeated_returnedFields_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AlloyDbConfig other) { + if (other == null) { + return; + } + if (other.alloydbConnectionConfig_ != null) { + if (alloydbConnectionConfig_ == null) { + AlloydbConnectionConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig(); + } + AlloydbConnectionConfig.MergeFrom(other.AlloydbConnectionConfig); + } + if (other.alloydbAiNlConfig_ != null) { + if (alloydbAiNlConfig_ == null) { + AlloydbAiNlConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig(); + } + AlloydbAiNlConfig.MergeFrom(other.AlloydbAiNlConfig); + } + returnedFields_.Add(other.returnedFields_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (alloydbConnectionConfig_ == null) { + AlloydbConnectionConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig(); + } + input.ReadMessage(AlloydbConnectionConfig); + break; + } + case 18: { + if (alloydbAiNlConfig_ == null) { + AlloydbAiNlConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig(); + } + input.ReadMessage(AlloydbAiNlConfig); + break; + } + case 26: { + returnedFields_.AddEntriesFrom(input, _repeated_returnedFields_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (alloydbConnectionConfig_ == null) { + AlloydbConnectionConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig(); + } + input.ReadMessage(AlloydbConnectionConfig); + break; + } + case 18: { + if (alloydbAiNlConfig_ == null) { + AlloydbAiNlConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbAiNaturalLanguageConfig(); + } + input.ReadMessage(AlloydbAiNlConfig); + break; + } + case 26: { + returnedFields_.AddEntriesFrom(ref input, _repeated_returnedFields_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AlloyDbConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Configuration for connecting to AlloyDB. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AlloyDbConnectionConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AlloyDbConnectionConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbConnectionConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbConnectionConfig(AlloyDbConnectionConfig other) : this() { + instance_ = other.instance_; + database_ = other.database_; + user_ = other.user_; + password_ = other.password_; + authMode_ = other.authMode_; + enablePsvs_ = other.enablePsvs_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbConnectionConfig Clone() { + return new AlloyDbConnectionConfig(this); + } + + /// Field number for the "instance" field. + public const int InstanceFieldNumber = 1; + private string instance_ = ""; + /// + /// Required. The AlloyDB instance to connect to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Instance { + get { return instance_; } + set { + instance_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "database" field. + public const int DatabaseFieldNumber = 2; + private string database_ = ""; + /// + /// Required. The AlloyDB database to connect to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Database { + get { return database_; } + set { + database_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "user" field. + public const int UserFieldNumber = 3; + private string user_ = ""; + /// + /// Required. Database user. + /// + /// If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, + /// the user will be inferred on the AlloyDB side, based on the + /// authenticated user. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string User { + get { return user_; } + set { + user_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "password" field. + public const int PasswordFieldNumber = 4; + private string password_ = ""; + /// + /// Required. Database password. + /// + /// If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, + /// the password will be inferred on the AlloyDB side, based on the + /// authenticated user. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Password { + get { return password_; } + set { + password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "auth_mode" field. + public const int AuthModeFieldNumber = 5; + private global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode authMode_ = global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode.Unspecified; + /// + /// Optional. Auth mode. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode AuthMode { + get { return authMode_; } + set { + authMode_ = value; + } + } + + /// Field number for the "enable_psvs" field. + public const int EnablePsvsFieldNumber = 6; + private bool enablePsvs_; + /// + /// Optional. If true, enable PSVS for AlloyDB. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnablePsvs { + get { return enablePsvs_; } + set { + enablePsvs_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AlloyDbConnectionConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AlloyDbConnectionConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Instance != other.Instance) return false; + if (Database != other.Database) return false; + if (User != other.User) return false; + if (Password != other.Password) return false; + if (AuthMode != other.AuthMode) return false; + if (EnablePsvs != other.EnablePsvs) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Instance.Length != 0) hash ^= Instance.GetHashCode(); + if (Database.Length != 0) hash ^= Database.GetHashCode(); + if (User.Length != 0) hash ^= User.GetHashCode(); + if (Password.Length != 0) hash ^= Password.GetHashCode(); + if (AuthMode != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode.Unspecified) hash ^= AuthMode.GetHashCode(); + if (EnablePsvs != false) hash ^= EnablePsvs.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Instance.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Instance); + } + if (Database.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Database); + } + if (User.Length != 0) { + output.WriteRawTag(26); + output.WriteString(User); + } + if (Password.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Password); + } + if (AuthMode != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) AuthMode); + } + if (EnablePsvs != false) { + output.WriteRawTag(48); + output.WriteBool(EnablePsvs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Instance.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Instance); + } + if (Database.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Database); + } + if (User.Length != 0) { + output.WriteRawTag(26); + output.WriteString(User); + } + if (Password.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Password); + } + if (AuthMode != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode.Unspecified) { + output.WriteRawTag(40); + output.WriteEnum((int) AuthMode); + } + if (EnablePsvs != false) { + output.WriteRawTag(48); + output.WriteBool(EnablePsvs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Instance.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Instance); + } + if (Database.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Database); + } + if (User.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(User); + } + if (Password.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); + } + if (AuthMode != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AuthMode); + } + if (EnablePsvs != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AlloyDbConnectionConfig other) { + if (other == null) { + return; + } + if (other.Instance.Length != 0) { + Instance = other.Instance; + } + if (other.Database.Length != 0) { + Database = other.Database; + } + if (other.User.Length != 0) { + User = other.User; + } + if (other.Password.Length != 0) { + Password = other.Password; + } + if (other.AuthMode != global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode.Unspecified) { + AuthMode = other.AuthMode; + } + if (other.EnablePsvs != false) { + EnablePsvs = other.EnablePsvs; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Instance = input.ReadString(); + break; + } + case 18: { + Database = input.ReadString(); + break; + } + case 26: { + User = input.ReadString(); + break; + } + case 34: { + Password = input.ReadString(); + break; + } + case 40: { + AuthMode = (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode) input.ReadEnum(); + break; + } + case 48: { + EnablePsvs = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Instance = input.ReadString(); + break; + } + case 18: { + Database = input.ReadString(); + break; + } + case 26: { + User = input.ReadString(); + break; + } + case 34: { + Password = input.ReadString(); + break; + } + case 40: { + AuthMode = (global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Types.AlloyDbConnectionConfig.Types.AuthMode) input.ReadEnum(); + break; + } + case 48: { + EnablePsvs = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AlloyDbConnectionConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Auth mode. + /// + public enum AuthMode { + [pbr::OriginalName("AUTH_MODE_UNSPECIFIED")] Unspecified = 0, + /// + /// Uses P4SA when VAIS talks to AlloyDB. + /// + [pbr::OriginalName("AUTH_MODE_SERVICE_ACCOUNT")] ServiceAccount = 1, + /// + /// Uses EUC when VAIS talks to AlloyDB. + /// + [pbr::OriginalName("AUTH_MODE_END_USER_ACCOUNT")] EndUserAccount = 2, + } + + } + #endregion + + } + + /// + /// Configuration for AlloyDB AI Natural Language. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AlloyDbAiNaturalLanguageConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AlloyDbAiNaturalLanguageConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Types.AlloyDbConfig.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbAiNaturalLanguageConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbAiNaturalLanguageConfig(AlloyDbAiNaturalLanguageConfig other) : this() { + nlConfigId_ = other.nlConfigId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AlloyDbAiNaturalLanguageConfig Clone() { + return new AlloyDbAiNaturalLanguageConfig(this); + } + + /// Field number for the "nl_config_id" field. + public const int NlConfigIdFieldNumber = 1; + private string nlConfigId_ = ""; + /// + /// Optional. AlloyDb AI NL config id, i.e. the value that was used for + /// calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be + /// empty. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NlConfigId { + get { return nlConfigId_; } + set { + nlConfigId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AlloyDbAiNaturalLanguageConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AlloyDbAiNaturalLanguageConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NlConfigId != other.NlConfigId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NlConfigId.Length != 0) hash ^= NlConfigId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NlConfigId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(NlConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NlConfigId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(NlConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NlConfigId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NlConfigId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AlloyDbAiNaturalLanguageConfig other) { + if (other == null) { + return; + } + if (other.NlConfigId.Length != 0) { + NlConfigId = other.NlConfigId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + NlConfigId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NlConfigId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Stores information for third party applicationOAuth. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ThirdPartyOauthConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ThirdPartyOauthConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ThirdPartyOauthConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ThirdPartyOauthConfig(ThirdPartyOauthConfig other) : this() { + appName_ = other.appName_; + instanceName_ = other.instanceName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ThirdPartyOauthConfig Clone() { + return new ThirdPartyOauthConfig(this); + } + + /// Field number for the "app_name" field. + public const int AppNameFieldNumber = 1; + private string appName_ = ""; + /// + /// Optional. The type of the application. E.g., "jira", "box", etc. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AppName { + get { return appName_; } + set { + appName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "instance_name" field. + public const int InstanceNameFieldNumber = 2; + private string instanceName_ = ""; + /// + /// Optional. The instance name identifying the 3P app, e.g., + /// "vaissptbots-my". This is different from the instance_uri which is the + /// full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string InstanceName { + get { return instanceName_; } + set { + instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ThirdPartyOauthConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ThirdPartyOauthConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AppName != other.AppName) return false; + if (InstanceName != other.InstanceName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AppName.Length != 0) hash ^= AppName.GetHashCode(); + if (InstanceName.Length != 0) hash ^= InstanceName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AppName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AppName); + } + if (InstanceName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(InstanceName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AppName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(AppName); + } + if (InstanceName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(InstanceName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AppName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AppName); + } + if (InstanceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ThirdPartyOauthConfig other) { + if (other == null) { + return; + } + if (other.AppName.Length != 0) { + AppName = other.AppName; + } + if (other.InstanceName.Length != 0) { + InstanceName = other.InstanceName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + AppName = input.ReadString(); + break; + } + case 18: { + InstanceName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + AppName = input.ReadString(); + break; + } + case 18: { + InstanceName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Config for connecting to NotebookLM Enterprise. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotebooklmConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotebooklmConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.FederatedSearchConfig.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotebooklmConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotebooklmConfig(NotebooklmConfig other) : this() { + searchConfig_ = other.searchConfig_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotebooklmConfig Clone() { + return new NotebooklmConfig(this); + } + + /// Field number for the "search_config" field. + public const int SearchConfigFieldNumber = 1; + private string searchConfig_ = ""; + /// + /// Required. Search config name. + /// + /// Format: projects/*/locations/global/notebookLmSearchConfigs/* + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SearchConfig { + get { return searchConfig_; } + set { + searchConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotebooklmConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotebooklmConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SearchConfig != other.SearchConfig) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SearchConfig.Length != 0) hash ^= SearchConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SearchConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SearchConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SearchConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SearchConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SearchConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SearchConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotebooklmConfig other) { + if (other == null) { + return; + } + if (other.SearchConfig.Length != 0) { + SearchConfig = other.SearchConfig; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + SearchConfig = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + SearchConfig = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// Configuration data for advance site search. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AdvancedSiteSearchConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdvancedSiteSearchConfig()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvancedSiteSearchConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvancedSiteSearchConfig(AdvancedSiteSearchConfig other) : this() { + _hasBits0 = other._hasBits0; + disableInitialIndex_ = other.disableInitialIndex_; + disableAutomaticRefresh_ = other.disableAutomaticRefresh_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AdvancedSiteSearchConfig Clone() { + return new AdvancedSiteSearchConfig(this); + } + + /// Field number for the "disable_initial_index" field. + public const int DisableInitialIndexFieldNumber = 3; + private readonly static bool DisableInitialIndexDefaultValue = false; + + private bool disableInitialIndex_; + /// + /// If set true, initial indexing is disabled for the DataStore. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableInitialIndex { + get { if ((_hasBits0 & 1) != 0) { return disableInitialIndex_; } else { return DisableInitialIndexDefaultValue; } } + set { + _hasBits0 |= 1; + disableInitialIndex_ = value; + } + } + /// Gets whether the "disable_initial_index" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDisableInitialIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "disable_initial_index" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDisableInitialIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "disable_automatic_refresh" field. + public const int DisableAutomaticRefreshFieldNumber = 4; + private readonly static bool DisableAutomaticRefreshDefaultValue = false; + + private bool disableAutomaticRefresh_; + /// + /// If set true, automatic refresh is disabled for the DataStore. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableAutomaticRefresh { + get { if ((_hasBits0 & 2) != 0) { return disableAutomaticRefresh_; } else { return DisableAutomaticRefreshDefaultValue; } } + set { + _hasBits0 |= 2; + disableAutomaticRefresh_ = value; + } + } + /// Gets whether the "disable_automatic_refresh" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDisableAutomaticRefresh { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "disable_automatic_refresh" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDisableAutomaticRefresh() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AdvancedSiteSearchConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AdvancedSiteSearchConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DisableInitialIndex != other.DisableInitialIndex) return false; + if (DisableAutomaticRefresh != other.DisableAutomaticRefresh) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasDisableInitialIndex) hash ^= DisableInitialIndex.GetHashCode(); + if (HasDisableAutomaticRefresh) hash ^= DisableAutomaticRefresh.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasDisableInitialIndex) { + output.WriteRawTag(24); + output.WriteBool(DisableInitialIndex); + } + if (HasDisableAutomaticRefresh) { + output.WriteRawTag(32); + output.WriteBool(DisableAutomaticRefresh); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasDisableInitialIndex) { + output.WriteRawTag(24); + output.WriteBool(DisableInitialIndex); + } + if (HasDisableAutomaticRefresh) { + output.WriteRawTag(32); + output.WriteBool(DisableAutomaticRefresh); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasDisableInitialIndex) { + size += 1 + 1; + } + if (HasDisableAutomaticRefresh) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AdvancedSiteSearchConfig other) { + if (other == null) { + return; + } + if (other.HasDisableInitialIndex) { + DisableInitialIndex = other.DisableInitialIndex; + } + if (other.HasDisableAutomaticRefresh) { + DisableAutomaticRefresh = other.DisableAutomaticRefresh; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + DisableInitialIndex = input.ReadBool(); + break; + } + case 32: { + DisableAutomaticRefresh = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + DisableInitialIndex = input.ReadBool(); + break; + } + case 32: { + DisableAutomaticRefresh = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Language info for DataStore. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LanguageInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LanguageInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LanguageInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LanguageInfo(LanguageInfo other) : this() { + languageCode_ = other.languageCode_; + normalizedLanguageCode_ = other.normalizedLanguageCode_; language_ = other.language_; region_ = other.region_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); @@ -1950,7 +4544,7 @@ public sealed partial class NaturalLanguageQueryUnderstandingConfig : pb::IMessa [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[2]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2186,7 +4780,7 @@ public sealed partial class WorkspaceConfig : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[3]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2238,7 +4832,9 @@ public WorkspaceConfig Clone() { public const int DasherCustomerIdFieldNumber = 2; private string dasherCustomerId_ = ""; /// - /// Obfuscated Dasher customer ID. + /// Output only. Obfuscated Dasher customer ID. Derived by the server from + /// the project's GCP organization at data store creation time; any value + /// supplied in the request payload is ignored. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2535,6 +5131,10 @@ public enum Type { /// Workspace Data Store contains Keep data /// [pbr::OriginalName("GOOGLE_KEEP")] GoogleKeep = 7, + /// + /// Workspace Data Store contains People data + /// + [pbr::OriginalName("GOOGLE_PEOPLE")] GooglePeople = 8, } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreResourceNames.g.cs index a52ddf3dbdbf..e1afbe008a62 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreResourceNames.g.cs @@ -349,5 +349,15 @@ public partial class DataStore get => string.IsNullOrEmpty(Name) ? null : gcdv::DataStoreName.Parse(Name, allowUnparsed: true); set => Name = value?.ToString() ?? ""; } + + /// + /// -typed view over the resource name + /// property. + /// + public IdentityMappingStoreName IdentityMappingStoreAsIdentityMappingStoreName + { + get => string.IsNullOrEmpty(IdentityMappingStore) ? null : IdentityMappingStoreName.Parse(IdentityMappingStore, allowUnparsed: true); + set => IdentityMappingStore = value?.ToString() ?? ""; + } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreService.g.cs index 1c25051a7881..6c84d1e968d5 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreService.g.cs @@ -32,81 +32,86 @@ static DataStoreServiceReflection() { "b3VkL2Rpc2NvdmVyeWVuZ2luZS92MWJldGEvZGF0YV9zdG9yZS5wcm90bxoj", "Z29vZ2xlL2xvbmdydW5uaW5nL29wZXJhdGlvbnMucHJvdG8aG2dvb2dsZS9w", "cm90b2J1Zi9lbXB0eS5wcm90bxogZ29vZ2xlL3Byb3RvYnVmL2ZpZWxkX21h", - "c2sucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8iiwIK", - "FkNyZWF0ZURhdGFTdG9yZVJlcXVlc3QSQQoGcGFyZW50GAEgASgJQjHgQQL6", - "QSsKKWRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNvbS9Db2xsZWN0aW9u", - "EkcKCmRhdGFfc3RvcmUYAiABKAsyLi5nb29nbGUuY2xvdWQuZGlzY292ZXJ5", - "ZW5naW5lLnYxYmV0YS5EYXRhU3RvcmVCA+BBAhIaCg1k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u", + "Y29tL2F1dGgvZGlzY292ZXJ5ZW5naW5lLnJlYWR3cml0ZSxodHRwczovL3d3", + "dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5zZXJ2aW5n", + "LnJlYWR3cml0ZUKcAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3Zlcnllbmdp", + "bmUudjFiZXRhQhVEYXRhU3RvcmVTZXJ2aWNlUHJvdG9QAVpRY2xvdWQuZ29v", + "Z2xlLmNvbS9nby9kaXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rpc2NvdmVy", + "eWVuZ2luZXBiO2Rpc2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZRU5HSU5F", + "qgIjR29vZ2xlLkNsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHKAiNHb29n", + "bGVcQ2xvdWRcRGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xv", + "dWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DataStoreReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest.Parser, new[]{ "Parent", "DataStore", "DataStoreId", "CreateAdvancedSiteSearch", "SkipDefaultSchemaCreation" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest.Parser, new[]{ "CmekConfigName", "DisableCmek", "Parent", "DataStore", "DataStoreId", "CreateAdvancedSiteSearch", "SkipDefaultSchemaCreation" }, new[]{ "CmekOptions" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetDataStoreRequest.Parser, new[]{ "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreMetadata.Parser, new[]{ "CreateTime", "UpdateTime" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListDataStoresRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListDataStoresRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter" }, null, null, null, null), @@ -165,6 +170,15 @@ public CreateDataStoreRequest(CreateDataStoreRequest other) : this() { dataStoreId_ = other.dataStoreId_; createAdvancedSiteSearch_ = other.createAdvancedSiteSearch_; skipDefaultSchemaCreation_ = other.skipDefaultSchemaCreation_; + switch (other.CmekOptionsCase) { + case CmekOptionsOneofCase.CmekConfigName: + CmekConfigName = other.CmekConfigName; + break; + case CmekOptionsOneofCase.DisableCmek: + DisableCmek = other.DisableCmek; + break; + } + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -174,6 +188,66 @@ public CreateDataStoreRequest Clone() { return new CreateDataStoreRequest(this); } + /// Field number for the "cmek_config_name" field. + public const int CmekConfigNameFieldNumber = 5; + /// + /// Resource name of the CmekConfig to use for protecting this DataStore. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CmekConfigName { + get { return HasCmekConfigName ? (string) cmekOptions_ : ""; } + set { + cmekOptions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + cmekOptionsCase_ = CmekOptionsOneofCase.CmekConfigName; + } + } + /// Gets whether the "cmek_config_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCmekConfigName { + get { return cmekOptionsCase_ == CmekOptionsOneofCase.CmekConfigName; } + } + /// Clears the value of the oneof if it's currently set to "cmek_config_name" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCmekConfigName() { + if (HasCmekConfigName) { + ClearCmekOptions(); + } + } + + /// Field number for the "disable_cmek" field. + public const int DisableCmekFieldNumber = 6; + /// + /// DataStore without CMEK protections. If a default CmekConfig is set for + /// the project, setting this field will override the default CmekConfig as + /// well. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableCmek { + get { return HasDisableCmek ? (bool) cmekOptions_ : false; } + set { + cmekOptions_ = value; + cmekOptionsCase_ = CmekOptionsOneofCase.DisableCmek; + } + } + /// Gets whether the "disable_cmek" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDisableCmek { + get { return cmekOptionsCase_ == CmekOptionsOneofCase.DisableCmek; } + } + /// Clears the value of the oneof if it's currently set to "disable_cmek" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDisableCmek() { + if (HasDisableCmek) { + ClearCmekOptions(); + } + } + /// Field number for the "parent" field. public const int ParentFieldNumber = 1; private string parent_ = ""; @@ -269,6 +343,27 @@ public bool SkipDefaultSchemaCreation { } } + private object cmekOptions_; + /// Enum of possible cases for the "cmek_options" oneof. + public enum CmekOptionsOneofCase { + None = 0, + CmekConfigName = 5, + DisableCmek = 6, + } + private CmekOptionsOneofCase cmekOptionsCase_ = CmekOptionsOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CmekOptionsOneofCase CmekOptionsCase { + get { return cmekOptionsCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCmekOptions() { + cmekOptionsCase_ = CmekOptionsOneofCase.None; + cmekOptions_ = null; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -284,11 +379,14 @@ public bool Equals(CreateDataStoreRequest other) { if (ReferenceEquals(other, this)) { return true; } + if (CmekConfigName != other.CmekConfigName) return false; + if (DisableCmek != other.DisableCmek) return false; if (Parent != other.Parent) return false; if (!object.Equals(DataStore, other.DataStore)) return false; if (DataStoreId != other.DataStoreId) return false; if (CreateAdvancedSiteSearch != other.CreateAdvancedSiteSearch) return false; if (SkipDefaultSchemaCreation != other.SkipDefaultSchemaCreation) return false; + if (CmekOptionsCase != other.CmekOptionsCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -296,11 +394,14 @@ public bool Equals(CreateDataStoreRequest other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (HasCmekConfigName) hash ^= CmekConfigName.GetHashCode(); + if (HasDisableCmek) hash ^= DisableCmek.GetHashCode(); if (Parent.Length != 0) hash ^= Parent.GetHashCode(); if (dataStore_ != null) hash ^= DataStore.GetHashCode(); if (DataStoreId.Length != 0) hash ^= DataStoreId.GetHashCode(); if (CreateAdvancedSiteSearch != false) hash ^= CreateAdvancedSiteSearch.GetHashCode(); if (SkipDefaultSchemaCreation != false) hash ^= SkipDefaultSchemaCreation.GetHashCode(); + hash ^= (int) cmekOptionsCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -335,6 +436,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteBool(CreateAdvancedSiteSearch); } + if (HasCmekConfigName) { + output.WriteRawTag(42); + output.WriteString(CmekConfigName); + } + if (HasDisableCmek) { + output.WriteRawTag(48); + output.WriteBool(DisableCmek); + } if (SkipDefaultSchemaCreation != false) { output.WriteRawTag(56); output.WriteBool(SkipDefaultSchemaCreation); @@ -365,6 +474,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteBool(CreateAdvancedSiteSearch); } + if (HasCmekConfigName) { + output.WriteRawTag(42); + output.WriteString(CmekConfigName); + } + if (HasDisableCmek) { + output.WriteRawTag(48); + output.WriteBool(DisableCmek); + } if (SkipDefaultSchemaCreation != false) { output.WriteRawTag(56); output.WriteBool(SkipDefaultSchemaCreation); @@ -379,6 +496,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (HasCmekConfigName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CmekConfigName); + } + if (HasDisableCmek) { + size += 1 + 1; + } if (Parent.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); } @@ -424,6 +547,15 @@ public void MergeFrom(CreateDataStoreRequest other) { if (other.SkipDefaultSchemaCreation != false) { SkipDefaultSchemaCreation = other.SkipDefaultSchemaCreation; } + switch (other.CmekOptionsCase) { + case CmekOptionsOneofCase.CmekConfigName: + CmekConfigName = other.CmekConfigName; + break; + case CmekOptionsOneofCase.DisableCmek: + DisableCmek = other.DisableCmek; + break; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -462,6 +594,14 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAdvancedSiteSearch = input.ReadBool(); break; } + case 42: { + CmekConfigName = input.ReadString(); + break; + } + case 48: { + DisableCmek = input.ReadBool(); + break; + } case 56: { SkipDefaultSchemaCreation = input.ReadBool(); break; @@ -504,6 +644,14 @@ public void MergeFrom(pb::CodedInputStream input) { CreateAdvancedSiteSearch = input.ReadBool(); break; } + case 42: { + CmekConfigName = input.ReadString(); + break; + } + case 48: { + DisableCmek = input.ReadBool(); + break; + } case 56: { SkipDefaultSchemaCreation = input.ReadBool(); break; diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceClient.g.cs index 2ba1d773c41c..92e8ccd2019f 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceClient.g.cs @@ -237,11 +237,15 @@ public abstract partial class DataStoreServiceClient /// The default DataStoreService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceGrpc.g.cs index a5c949efd1e5..2b044519ffae 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/data_store_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceResourceNames.g.cs index 9e415213301a..cd151f36df49 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DataStoreServiceResourceNames.g.cs @@ -29,6 +29,15 @@ public CollectionName ParentAsCollectionName get => string.IsNullOrEmpty(Parent) ? null : CollectionName.Parse(Parent, allowUnparsed: true); set => Parent = value?.ToString() ?? ""; } + + /// + /// -typed view over the resource name property. + /// + public gcdv::CmekConfigName CmekConfigNameAsCmekConfigName + { + get => string.IsNullOrEmpty(CmekConfigName) ? null : gcdv::CmekConfigName.Parse(CmekConfigName, allowUnparsed: true); + set => CmekConfigName = value?.ToString() ?? ""; + } } public partial class GetDataStoreRequest diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Document.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Document.g.cs index 709174ac7fc6..0188496b773e 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Document.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Document.g.cs @@ -27,40 +27,49 @@ static DocumentReflection() { "CjJnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9kb2N1bWVu", "dC5wcm90bxIjZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEa", "H2dvb2dsZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aGWdvb2dsZS9hcGkv", - "cmVzb3VyY2UucHJvdG8aHGdvb2dsZS9wcm90b2J1Zi9zdHJ1Y3QucHJvdG8a", - "H2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8aF2dvb2dsZS9ycGMv", - "c3RhdHVzLnByb3RvIogHCghEb2N1bWVudBIuCgtzdHJ1Y3RfZGF0YRgEIAEo", - "CzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABITCglqc29uX2RhdGEYBSAB", - "KAlIABIRCgRuYW1lGAEgASgJQgPgQQUSDwoCaWQYAiABKAlCA+BBBRIRCglz", - "Y2hlbWFfaWQYAyABKAkSRgoHY29udGVudBgKIAEoCzI1Lmdvb2dsZS5jbG91", - "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkRvY3VtZW50LkNvbnRlbnQSGgoS", - "cGFyZW50X2RvY3VtZW50X2lkGAcgASgJEjkKE2Rlcml2ZWRfc3RydWN0X2Rh", - "dGEYBiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0QgPgQQMSMwoKaW5k", - "ZXhfdGltZRgNIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCA+BB", - "AxJUCgxpbmRleF9zdGF0dXMYDyABKAsyOS5nb29nbGUuY2xvdWQuZGlzY292", - "ZXJ5ZW5naW5lLnYxYmV0YS5Eb2N1bWVudC5JbmRleFN0YXR1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9kaXNj", + "b3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVO", + "R0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIj", + "R29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6", + "OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Parser, new[]{ "StructData", "JsonData", "Name", "Id", "SchemaId", "Content", "ParentDocumentId", "DerivedStructData", "IndexTime", "IndexStatus" }, new[]{ "Data" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.Content), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.Content.Parser, new[]{ "RawBytes", "Uri", "MimeType" }, new[]{ "Content" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.IndexStatus), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.IndexStatus.Parser, new[]{ "IndexTime", "ErrorSamples" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Parser, new[]{ "StructData", "JsonData", "Name", "Id", "SchemaId", "Content", "ParentDocumentId", "DerivedStructData", "AclInfo", "IndexTime", "IndexStatus" }, new[]{ "Data" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.Content), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.Content.Parser, new[]{ "RawBytes", "Uri", "MimeType" }, new[]{ "Content" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo.Parser, new[]{ "Readers" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo.Types.AccessRestriction), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo.Types.AccessRestriction.Parser, new[]{ "Principals", "IdpWide" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.IndexStatus), global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.IndexStatus.Parser, new[]{ "IndexTime", "ErrorSamples", "PendingMessage" }, null, null, null, null)}) })); } #endregion @@ -112,6 +121,7 @@ public Document(Document other) : this() { content_ = other.content_ != null ? other.content_.Clone() : null; parentDocumentId_ = other.parentDocumentId_; derivedStructData_ = other.derivedStructData_ != null ? other.derivedStructData_.Clone() : null; + aclInfo_ = other.aclInfo_ != null ? other.aclInfo_.Clone() : null; indexTime_ = other.indexTime_ != null ? other.indexTime_.Clone() : null; indexStatus_ = other.indexStatus_ != null ? other.indexStatus_.Clone() : null; switch (other.DataCase) { @@ -207,7 +217,7 @@ public string Name { /// Immutable. The identifier of the document. /// /// Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. + /// standard with a length limit of 128 characters. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -237,9 +247,8 @@ public string SchemaId { public const int ContentFieldNumber = 10; private global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.Content content_; /// - /// The unstructured data linked to this document. Content must be set if this - /// document is under a - /// `CONTENT_REQUIRED` data store. + /// The unstructured data linked to this document. Content can only be set + /// and must be set if this document is under a `CONTENT_REQUIRED` data store. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -285,15 +294,33 @@ public string ParentDocumentId { } } + /// Field number for the "acl_info" field. + public const int AclInfoFieldNumber = 11; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo aclInfo_; + /// + /// Access control information for the document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo AclInfo { + get { return aclInfo_; } + set { + aclInfo_ = value; + } + } + /// Field number for the "index_time" field. public const int IndexTimeFieldNumber = 13; private global::Google.Protobuf.WellKnownTypes.Timestamp indexTime_; /// - /// Output only. The last time the document was indexed. If this field is set, - /// the document could be returned in search results. + /// Output only. The time when the document was last indexed. /// - /// This field is OUTPUT_ONLY. If this field is not populated, it means the - /// document has never been indexed. + /// If this field is populated, it means the document has been indexed. + /// While documents typically become searchable within seconds of indexing, + /// it can sometimes take up to a few hours. + /// + /// If this field is not populated, it means the document has never been + /// indexed. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -313,7 +340,8 @@ public string ParentDocumentId { /// * If document is indexed successfully, the index_time field is populated. /// * Otherwise, if document is not indexed due to errors, the error_samples /// field is populated. - /// * Otherwise, index_status is unset. + /// * Otherwise, if document's index is in progress, the pending_message field + /// is populated. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -368,6 +396,7 @@ public bool Equals(Document other) { if (!object.Equals(Content, other.Content)) return false; if (ParentDocumentId != other.ParentDocumentId) return false; if (!object.Equals(DerivedStructData, other.DerivedStructData)) return false; + if (!object.Equals(AclInfo, other.AclInfo)) return false; if (!object.Equals(IndexTime, other.IndexTime)) return false; if (!object.Equals(IndexStatus, other.IndexStatus)) return false; if (DataCase != other.DataCase) return false; @@ -386,6 +415,7 @@ public override int GetHashCode() { if (content_ != null) hash ^= Content.GetHashCode(); if (ParentDocumentId.Length != 0) hash ^= ParentDocumentId.GetHashCode(); if (derivedStructData_ != null) hash ^= DerivedStructData.GetHashCode(); + if (aclInfo_ != null) hash ^= AclInfo.GetHashCode(); if (indexTime_ != null) hash ^= IndexTime.GetHashCode(); if (indexStatus_ != null) hash ^= IndexStatus.GetHashCode(); hash ^= (int) dataCase_; @@ -439,6 +469,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(Content); } + if (aclInfo_ != null) { + output.WriteRawTag(90); + output.WriteMessage(AclInfo); + } if (indexTime_ != null) { output.WriteRawTag(106); output.WriteMessage(IndexTime); @@ -489,6 +523,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteMessage(Content); } + if (aclInfo_ != null) { + output.WriteRawTag(90); + output.WriteMessage(AclInfo); + } if (indexTime_ != null) { output.WriteRawTag(106); output.WriteMessage(IndexTime); @@ -531,6 +569,9 @@ public int CalculateSize() { if (derivedStructData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DerivedStructData); } + if (aclInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AclInfo); + } if (indexTime_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexTime); } @@ -573,6 +614,12 @@ public void MergeFrom(Document other) { } DerivedStructData.MergeFrom(other.DerivedStructData); } + if (other.aclInfo_ != null) { + if (aclInfo_ == null) { + AclInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo(); + } + AclInfo.MergeFrom(other.AclInfo); + } if (other.indexTime_ != null) { if (indexTime_ == null) { IndexTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); @@ -659,6 +706,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(Content); break; } + case 90: { + if (aclInfo_ == null) { + AclInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo(); + } + input.ReadMessage(AclInfo); + break; + } case 106: { if (indexTime_ == null) { IndexTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); @@ -735,6 +789,13 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(Content); break; } + case 90: { + if (aclInfo_ == null) { + AclInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo(); + } + input.ReadMessage(AclInfo); + break; + } case 106: { if (indexTime_ == null) { IndexTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); @@ -891,9 +952,23 @@ public void ClearUri() { /// /// * `application/pdf` (PDF, only native PDFs are supported for now) /// * `text/html` (HTML) + /// * `text/plain` (TXT) + /// * `application/xml` or `text/xml` (XML) + /// * `application/json` (JSON) /// * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) /// * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) - /// * `text/plain` (TXT) + /// * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` + /// (XLSX) + /// * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) + /// + /// The following types are supported only if layout parser is enabled in the + /// data store: + /// + /// * `image/bmp` (BMP) + /// * `image/gif` (GIF) + /// * `image/jpeg` (JPEG) + /// * `image/png` (PNG) + /// * `image/tiff` (TIFF) /// /// See https://www.iana.org/assignments/media-types/media-types.xhtml. /// @@ -1121,6 +1196,498 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// ACL Information of the Document. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AclInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AclInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AclInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AclInfo(AclInfo other) : this() { + readers_ = other.readers_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AclInfo Clone() { + return new AclInfo(this); + } + + /// Field number for the "readers" field. + public const int ReadersFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_readers_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo.Types.AccessRestriction.Parser); + private readonly pbc::RepeatedField readers_ = new pbc::RepeatedField(); + /// + /// Readers of the document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Readers { + get { return readers_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AclInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AclInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!readers_.Equals(other.readers_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= readers_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + readers_.WriteTo(output, _repeated_readers_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + readers_.WriteTo(ref output, _repeated_readers_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += readers_.CalculateSize(_repeated_readers_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AclInfo other) { + if (other == null) { + return; + } + readers_.Add(other.readers_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + readers_.AddEntriesFrom(input, _repeated_readers_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + readers_.AddEntriesFrom(ref input, _repeated_readers_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AclInfo message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// AclRestriction to model complex inheritance restrictions. + /// + /// Example: Modeling a "Both Permit" inheritance, where to access a + /// child document, user needs to have access to parent document. + /// + /// Document Hierarchy - Space_S --> Page_P. + /// + /// Readers: + /// Space_S: group_1, user_1 + /// Page_P: group_2, group_3, user_2 + /// + /// Space_S ACL Restriction - + /// { + /// "acl_info": { + /// "readers": [ + /// { + /// "principals": [ + /// { + /// "group_id": "group_1" + /// }, + /// { + /// "user_id": "user_1" + /// } + /// ] + /// } + /// ] + /// } + /// } + /// + /// Page_P ACL Restriction. + /// { + /// "acl_info": { + /// "readers": [ + /// { + /// "principals": [ + /// { + /// "group_id": "group_2" + /// }, + /// { + /// "group_id": "group_3" + /// }, + /// { + /// "user_id": "user_2" + /// } + /// ], + /// }, + /// { + /// "principals": [ + /// { + /// "group_id": "group_1" + /// }, + /// { + /// "user_id": "user_1" + /// } + /// ], + /// } + /// ] + /// } + /// } + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccessRestriction : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccessRestriction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Types.AclInfo.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccessRestriction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccessRestriction(AccessRestriction other) : this() { + principals_ = other.principals_.Clone(); + idpWide_ = other.idpWide_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccessRestriction Clone() { + return new AccessRestriction(this); + } + + /// Field number for the "principals" field. + public const int PrincipalsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_principals_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.Principal.Parser); + private readonly pbc::RepeatedField principals_ = new pbc::RepeatedField(); + /// + /// List of principals. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Principals { + get { return principals_; } + } + + /// Field number for the "idp_wide" field. + public const int IdpWideFieldNumber = 2; + private bool idpWide_; + /// + /// All users within the Identity Provider. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IdpWide { + get { return idpWide_; } + set { + idpWide_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AccessRestriction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccessRestriction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!principals_.Equals(other.principals_)) return false; + if (IdpWide != other.IdpWide) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= principals_.GetHashCode(); + if (IdpWide != false) hash ^= IdpWide.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + principals_.WriteTo(output, _repeated_principals_codec); + if (IdpWide != false) { + output.WriteRawTag(16); + output.WriteBool(IdpWide); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + principals_.WriteTo(ref output, _repeated_principals_codec); + if (IdpWide != false) { + output.WriteRawTag(16); + output.WriteBool(IdpWide); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += principals_.CalculateSize(_repeated_principals_codec); + if (IdpWide != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccessRestriction other) { + if (other == null) { + return; + } + principals_.Add(other.principals_); + if (other.IdpWide != false) { + IdpWide = other.IdpWide; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + principals_.AddEntriesFrom(input, _repeated_principals_codec); + break; + } + case 16: { + IdpWide = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + principals_.AddEntriesFrom(ref input, _repeated_principals_codec); + break; + } + case 16: { + IdpWide = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + /// /// Index status of the document. /// @@ -1139,7 +1706,7 @@ public sealed partial class IndexStatus : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Descriptor.NestedTypes[1]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Document.Descriptor.NestedTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1161,6 +1728,7 @@ public IndexStatus() { public IndexStatus(IndexStatus other) : this() { indexTime_ = other.indexTime_ != null ? other.indexTime_.Clone() : null; errorSamples_ = other.errorSamples_.Clone(); + pendingMessage_ = other.pendingMessage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -1176,6 +1744,8 @@ public IndexStatus Clone() { /// /// The time when the document was indexed. /// If this field is populated, it means the document has been indexed. + /// While documents typically become searchable within seconds of indexing, + /// it can sometimes take up to a few hours. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1201,6 +1771,22 @@ public IndexStatus Clone() { get { return errorSamples_; } } + /// Field number for the "pending_message" field. + public const int PendingMessageFieldNumber = 3; + private string pendingMessage_ = ""; + /// + /// Immutable. The message indicates the document index is in progress. + /// If this field is populated, the document index is pending. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PendingMessage { + get { return pendingMessage_; } + set { + pendingMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1218,6 +1804,7 @@ public bool Equals(IndexStatus other) { } if (!object.Equals(IndexTime, other.IndexTime)) return false; if(!errorSamples_.Equals(other.errorSamples_)) return false; + if (PendingMessage != other.PendingMessage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1227,6 +1814,7 @@ public override int GetHashCode() { int hash = 1; if (indexTime_ != null) hash ^= IndexTime.GetHashCode(); hash ^= errorSamples_.GetHashCode(); + if (PendingMessage.Length != 0) hash ^= PendingMessage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1250,6 +1838,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(IndexTime); } errorSamples_.WriteTo(output, _repeated_errorSamples_codec); + if (PendingMessage.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PendingMessage); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1265,6 +1857,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(IndexTime); } errorSamples_.WriteTo(ref output, _repeated_errorSamples_codec); + if (PendingMessage.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PendingMessage); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1279,6 +1875,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexTime); } size += errorSamples_.CalculateSize(_repeated_errorSamples_codec); + if (PendingMessage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PendingMessage); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1298,6 +1897,9 @@ public void MergeFrom(IndexStatus other) { IndexTime.MergeFrom(other.IndexTime); } errorSamples_.Add(other.errorSamples_); + if (other.PendingMessage.Length != 0) { + PendingMessage = other.PendingMessage; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1328,6 +1930,10 @@ public void MergeFrom(pb::CodedInputStream input) { errorSamples_.AddEntriesFrom(input, _repeated_errorSamples_codec); break; } + case 26: { + PendingMessage = input.ReadString(); + break; + } } } #endif @@ -1358,6 +1964,10 @@ public void MergeFrom(pb::CodedInputStream input) { errorSamples_.AddEntriesFrom(ref input, _repeated_errorSamples_codec); break; } + case 26: { + PendingMessage = input.ReadString(); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentProcessingConfig.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentProcessingConfig.g.cs index e0766b7c71a2..9c802e25f55a 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentProcessingConfig.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentProcessingConfig.g.cs @@ -27,7 +27,7 @@ static DocumentProcessingConfigReflection() { "CkRnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9kb2N1bWVu", "dF9wcm9jZXNzaW5nX2NvbmZpZy5wcm90bxIjZ29vZ2xlLmNsb3VkLmRpc2Nv", "dmVyeWVuZ2luZS52MWJldGEaH2dvb2dsZS9hcGkvZmllbGRfYmVoYXZpb3Iu", - "cHJvdG8aGWdvb2dsZS9hcGkvcmVzb3VyY2UucHJvdG8izAwKGERvY3VtZW50", + "cHJvdG8aGWdvb2dsZS9hcGkvcmVzb3VyY2UucHJvdG8i+g4KGERvY3VtZW50", "UHJvY2Vzc2luZ0NvbmZpZxIMCgRuYW1lGAEgASgJEmUKD2NodW5raW5nX2Nv", "bmZpZxgDIAEoCzJMLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFi", "ZXRhLkRvY3VtZW50UHJvY2Vzc2luZ0NvbmZpZy5DaHVua2luZ0NvbmZpZxJr", @@ -42,7 +42,7 @@ static DocumentProcessingConfigReflection() { "bmdDb25maWcuTGF5b3V0QmFzZWRDaHVua2luZ0NvbmZpZ0gAGlIKGUxheW91", "dEJhc2VkQ2h1bmtpbmdDb25maWcSEgoKY2h1bmtfc2l6ZRgBIAEoBRIhChlp", "bmNsdWRlX2FuY2VzdG9yX2hlYWRpbmdzGAIgASgIQgwKCmNodW5rX21vZGUa", - "sAQKDVBhcnNpbmdDb25maWcSggEKFmRpZ2l0YWxfcGFyc2luZ19jb25maWcY", + "3gYKDVBhcnNpbmdDb25maWcSggEKFmRpZ2l0YWxfcGFyc2luZ19jb25maWcY", "ASABKAsyYC5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5E", "b2N1bWVudFByb2Nlc3NpbmdDb25maWcuUGFyc2luZ0NvbmZpZy5EaWdpdGFs", "UGFyc2luZ0NvbmZpZ0gAEnoKEm9jcl9wYXJzaW5nX2NvbmZpZxgCIAEoCzJc", @@ -53,31 +53,38 @@ static DocumentProcessingConfigReflection() { "aW5nQ29uZmlnLlBhcnNpbmdDb25maWcuTGF5b3V0UGFyc2luZ0NvbmZpZ0gA", "GhYKFERpZ2l0YWxQYXJzaW5nQ29uZmlnGlMKEE9jclBhcnNpbmdDb25maWcS", "JgoaZW5oYW5jZWRfZG9jdW1lbnRfZWxlbWVudHMYASADKAlCAhgBEhcKD3Vz", - "ZV9uYXRpdmVfdGV4dBgCIAEoCBoVChNMYXlvdXRQYXJzaW5nQ29uZmlnQhcK", - "FXR5cGVfZGVkaWNhdGVkX2NvbmZpZxqKAQobUGFyc2luZ0NvbmZpZ092ZXJy", - "aWRlc0VudHJ5EgsKA2tleRgBIAEoCRJaCgV2YWx1ZRgCIAEoCzJLLmdvb2ds", - "ZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkRvY3VtZW50UHJvY2Vz", - "c2luZ0NvbmZpZy5QYXJzaW5nQ29uZmlnOgI4ATqKAupBhgIKN2Rpc2NvdmVy", - "eWVuZ2luZS5nb29nbGVhcGlzLmNvbS9Eb2N1bWVudFByb2Nlc3NpbmdDb25m", - "aWcSWHByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9k", - "YXRhU3RvcmVzL3tkYXRhX3N0b3JlfS9kb2N1bWVudFByb2Nlc3NpbmdDb25m", - "aWcScXByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F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riptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Parser, new[]{ "Name", "ChunkingConfig", "DefaultParsingConfig", "ParsingConfigOverrides" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ChunkingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ChunkingConfig.Parser, new[]{ "LayoutBasedChunkingConfig" }, new[]{ "ChunkMode" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ChunkingConfig.Types.LayoutBasedChunkingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ChunkingConfig.Types.LayoutBasedChunkingConfig.Parser, new[]{ "ChunkSize", "IncludeAncestorHeadings" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Parser, new[]{ "DigitalParsingConfig", "OcrParsingConfig", "LayoutParsingConfig" }, new[]{ "TypeDedicatedConfig" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.DigitalParsingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.DigitalParsingConfig.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig.Parser, new[]{ "EnhancedDocumentElements", "UseNativeText" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.LayoutParsingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.LayoutParsingConfig.Parser, null, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.LayoutParsingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig.Types.LayoutParsingConfig.Parser, new[]{ "EnableTableAnnotation", "EnableImageAnnotation", "EnableLlmLayoutParsing", "StructuredContentTypes", "ExcludeHtmlElements", "ExcludeHtmlClasses", "ExcludeHtmlIds", "EnableGetProcessedDocument" }, null, null, null, null)}), null, }) })); } @@ -1749,6 +1756,14 @@ public LayoutParsingConfig() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LayoutParsingConfig(LayoutParsingConfig other) : this() { + enableTableAnnotation_ = other.enableTableAnnotation_; + enableImageAnnotation_ = other.enableImageAnnotation_; + enableLlmLayoutParsing_ = other.enableLlmLayoutParsing_; + structuredContentTypes_ = other.structuredContentTypes_.Clone(); + excludeHtmlElements_ = other.excludeHtmlElements_.Clone(); + excludeHtmlClasses_ = other.excludeHtmlClasses_.Clone(); + excludeHtmlIds_ = other.excludeHtmlIds_.Clone(); + enableGetProcessedDocument_ = other.enableGetProcessedDocument_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -1758,6 +1773,128 @@ public LayoutParsingConfig Clone() { return new LayoutParsingConfig(this); } + /// Field number for the "enable_table_annotation" field. + public const int EnableTableAnnotationFieldNumber = 1; + private bool enableTableAnnotation_; + /// + /// Optional. If true, the LLM based annotation is added to the table + /// during parsing. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableTableAnnotation { + get { return enableTableAnnotation_; } + set { + enableTableAnnotation_ = value; + } + } + + /// Field number for the "enable_image_annotation" field. + public const int EnableImageAnnotationFieldNumber = 2; + private bool enableImageAnnotation_; + /// + /// Optional. If true, the LLM based annotation is added to the image + /// during parsing. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableImageAnnotation { + get { return enableImageAnnotation_; } + set { + enableImageAnnotation_ = value; + } + } + + /// Field number for the "enable_llm_layout_parsing" field. + public const int EnableLlmLayoutParsingFieldNumber = 5; + private bool enableLlmLayoutParsing_; + /// + /// Optional. If true, the pdf layout will be refined using an LLM. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableLlmLayoutParsing { + get { return enableLlmLayoutParsing_; } + set { + enableLlmLayoutParsing_ = value; + } + } + + /// Field number for the "structured_content_types" field. + public const int StructuredContentTypesFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_structuredContentTypes_codec + = pb::FieldCodec.ForString(74); + private readonly pbc::RepeatedField structuredContentTypes_ = new pbc::RepeatedField(); + /// + /// Optional. Contains the required structure types to extract from the + /// document. Supported values: + /// + /// * `shareholder-structure` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StructuredContentTypes { + get { return structuredContentTypes_; } + } + + /// Field number for the "exclude_html_elements" field. + public const int ExcludeHtmlElementsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_excludeHtmlElements_codec + = pb::FieldCodec.ForString(82); + private readonly pbc::RepeatedField excludeHtmlElements_ = new pbc::RepeatedField(); + /// + /// Optional. List of HTML elements to exclude from the parsed content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExcludeHtmlElements { + get { return excludeHtmlElements_; } + } + + /// Field number for the "exclude_html_classes" field. + public const int ExcludeHtmlClassesFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_excludeHtmlClasses_codec + = pb::FieldCodec.ForString(90); + private readonly pbc::RepeatedField excludeHtmlClasses_ = new pbc::RepeatedField(); + /// + /// Optional. List of HTML classes to exclude from the parsed content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExcludeHtmlClasses { + get { return excludeHtmlClasses_; } + } + + /// Field number for the "exclude_html_ids" field. + public const int ExcludeHtmlIdsFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_excludeHtmlIds_codec + = pb::FieldCodec.ForString(98); + private readonly pbc::RepeatedField excludeHtmlIds_ = new pbc::RepeatedField(); + /// + /// Optional. List of HTML ids to exclude from the parsed content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExcludeHtmlIds { + get { return excludeHtmlIds_; } + } + + /// Field number for the "enable_get_processed_document" field. + public const int EnableGetProcessedDocumentFieldNumber = 14; + private bool enableGetProcessedDocument_; + /// + /// Optional. If true, the processed document will be made available for + /// the GetProcessedDocument API. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableGetProcessedDocument { + get { return enableGetProcessedDocument_; } + set { + enableGetProcessedDocument_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1773,6 +1910,14 @@ public bool Equals(LayoutParsingConfig other) { if (ReferenceEquals(other, this)) { return true; } + if (EnableTableAnnotation != other.EnableTableAnnotation) return false; + if (EnableImageAnnotation != other.EnableImageAnnotation) return false; + if (EnableLlmLayoutParsing != other.EnableLlmLayoutParsing) return false; + if(!structuredContentTypes_.Equals(other.structuredContentTypes_)) return false; + if(!excludeHtmlElements_.Equals(other.excludeHtmlElements_)) return false; + if(!excludeHtmlClasses_.Equals(other.excludeHtmlClasses_)) return false; + if(!excludeHtmlIds_.Equals(other.excludeHtmlIds_)) return false; + if (EnableGetProcessedDocument != other.EnableGetProcessedDocument) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1780,6 +1925,14 @@ public bool Equals(LayoutParsingConfig other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; + if (EnableTableAnnotation != false) hash ^= EnableTableAnnotation.GetHashCode(); + if (EnableImageAnnotation != false) hash ^= EnableImageAnnotation.GetHashCode(); + if (EnableLlmLayoutParsing != false) hash ^= EnableLlmLayoutParsing.GetHashCode(); + hash ^= structuredContentTypes_.GetHashCode(); + hash ^= excludeHtmlElements_.GetHashCode(); + hash ^= excludeHtmlClasses_.GetHashCode(); + hash ^= excludeHtmlIds_.GetHashCode(); + if (EnableGetProcessedDocument != false) hash ^= EnableGetProcessedDocument.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1798,6 +1951,26 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else + if (EnableTableAnnotation != false) { + output.WriteRawTag(8); + output.WriteBool(EnableTableAnnotation); + } + if (EnableImageAnnotation != false) { + output.WriteRawTag(16); + output.WriteBool(EnableImageAnnotation); + } + if (EnableLlmLayoutParsing != false) { + output.WriteRawTag(40); + output.WriteBool(EnableLlmLayoutParsing); + } + structuredContentTypes_.WriteTo(output, _repeated_structuredContentTypes_codec); + excludeHtmlElements_.WriteTo(output, _repeated_excludeHtmlElements_codec); + excludeHtmlClasses_.WriteTo(output, _repeated_excludeHtmlClasses_codec); + excludeHtmlIds_.WriteTo(output, _repeated_excludeHtmlIds_codec); + if (EnableGetProcessedDocument != false) { + output.WriteRawTag(112); + output.WriteBool(EnableGetProcessedDocument); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1808,6 +1981,26 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EnableTableAnnotation != false) { + output.WriteRawTag(8); + output.WriteBool(EnableTableAnnotation); + } + if (EnableImageAnnotation != false) { + output.WriteRawTag(16); + output.WriteBool(EnableImageAnnotation); + } + if (EnableLlmLayoutParsing != false) { + output.WriteRawTag(40); + output.WriteBool(EnableLlmLayoutParsing); + } + structuredContentTypes_.WriteTo(ref output, _repeated_structuredContentTypes_codec); + excludeHtmlElements_.WriteTo(ref output, _repeated_excludeHtmlElements_codec); + excludeHtmlClasses_.WriteTo(ref output, _repeated_excludeHtmlClasses_codec); + excludeHtmlIds_.WriteTo(ref output, _repeated_excludeHtmlIds_codec); + if (EnableGetProcessedDocument != false) { + output.WriteRawTag(112); + output.WriteBool(EnableGetProcessedDocument); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1818,6 +2011,22 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; + if (EnableTableAnnotation != false) { + size += 1 + 1; + } + if (EnableImageAnnotation != false) { + size += 1 + 1; + } + if (EnableLlmLayoutParsing != false) { + size += 1 + 1; + } + size += structuredContentTypes_.CalculateSize(_repeated_structuredContentTypes_codec); + size += excludeHtmlElements_.CalculateSize(_repeated_excludeHtmlElements_codec); + size += excludeHtmlClasses_.CalculateSize(_repeated_excludeHtmlClasses_codec); + size += excludeHtmlIds_.CalculateSize(_repeated_excludeHtmlIds_codec); + if (EnableGetProcessedDocument != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1830,6 +2039,22 @@ public void MergeFrom(LayoutParsingConfig other) { if (other == null) { return; } + if (other.EnableTableAnnotation != false) { + EnableTableAnnotation = other.EnableTableAnnotation; + } + if (other.EnableImageAnnotation != false) { + EnableImageAnnotation = other.EnableImageAnnotation; + } + if (other.EnableLlmLayoutParsing != false) { + EnableLlmLayoutParsing = other.EnableLlmLayoutParsing; + } + structuredContentTypes_.Add(other.structuredContentTypes_); + excludeHtmlElements_.Add(other.excludeHtmlElements_); + excludeHtmlClasses_.Add(other.excludeHtmlClasses_); + excludeHtmlIds_.Add(other.excludeHtmlIds_); + if (other.EnableGetProcessedDocument != false) { + EnableGetProcessedDocument = other.EnableGetProcessedDocument; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1849,6 +2074,38 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 8: { + EnableTableAnnotation = input.ReadBool(); + break; + } + case 16: { + EnableImageAnnotation = input.ReadBool(); + break; + } + case 40: { + EnableLlmLayoutParsing = input.ReadBool(); + break; + } + case 74: { + structuredContentTypes_.AddEntriesFrom(input, _repeated_structuredContentTypes_codec); + break; + } + case 82: { + excludeHtmlElements_.AddEntriesFrom(input, _repeated_excludeHtmlElements_codec); + break; + } + case 90: { + excludeHtmlClasses_.AddEntriesFrom(input, _repeated_excludeHtmlClasses_codec); + break; + } + case 98: { + excludeHtmlIds_.AddEntriesFrom(input, _repeated_excludeHtmlIds_codec); + break; + } + case 112: { + EnableGetProcessedDocument = input.ReadBool(); + break; + } } } #endif @@ -1868,6 +2125,38 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 8: { + EnableTableAnnotation = input.ReadBool(); + break; + } + case 16: { + EnableImageAnnotation = input.ReadBool(); + break; + } + case 40: { + EnableLlmLayoutParsing = input.ReadBool(); + break; + } + case 74: { + structuredContentTypes_.AddEntriesFrom(ref input, _repeated_structuredContentTypes_codec); + break; + } + case 82: { + excludeHtmlElements_.AddEntriesFrom(ref input, _repeated_excludeHtmlElements_codec); + break; + } + case 90: { + excludeHtmlClasses_.AddEntriesFrom(ref input, _repeated_excludeHtmlClasses_codec); + break; + } + case 98: { + excludeHtmlIds_.AddEntriesFrom(ref input, _repeated_excludeHtmlIds_codec); + break; + } + case 112: { + EnableGetProcessedDocument = input.ReadBool(); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentService.g.cs index df5218d11841..b57bbbca9bfc 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentService.g.cs @@ -80,7 +80,7 @@ static DocumentServiceReflection() { "Lmdvb2dsZWFwaXMuY29tL0ZoaXJSZXNvdXJjZUgAQg8KDW1hdGNoZXJfdmFs", "dWUiVQoFU3RhdGUSFQoRU1RBVEVfVU5TUEVDSUZJRUQQABILCgdJTkRFWEVE", "EAESFgoSTk9UX0lOX1RBUkdFVF9TSVRFEAISEAoMTk9UX0lOX0lOREVYEAMy", - "oRcKD0RvY3VtZW50U2VydmljZRKsAgoLR2V0RG9jdW1lbnQSNy5nb29nbGUu", + "nx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5ZW5naW5lLmdvb2dsZWFw", + "aXMuY29t0kGqAWh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xv", + "dWQtcGxhdGZvcm0saHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9k", + "aXNjb3ZlcnllbmdpbmUucmVhZHdyaXRlLGh0dHBzOi8vd3d3Lmdvb2dsZWFw", + "aXMuY29tL2F1dGgvZGlzY292ZXJ5ZW5naW5lLnNlcnZpbmcucmVhZHdyaXRl", + "QpsCCidjb20uZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGFC", + "FERvY3VtZW50U2VydmljZVByb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28v", + "ZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtk", + "aXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5D", + "bG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERp", + "c2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3Zl", + "cnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeConfigReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -1035,7 +1038,7 @@ public string Parent { /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceClient.g.cs index bd538d06cfdb..151385f1c892 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceClient.g.cs @@ -326,11 +326,15 @@ public abstract partial class DocumentServiceClient /// The default DocumentService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. @@ -791,7 +795,7 @@ public virtual Document CreateDocument(CreateDocumentRequest request, gaxgrpc::C /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// /// If not null, applies overrides to this RPC call. @@ -831,7 +835,7 @@ public virtual Document CreateDocument(string parent, Document document, string /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// /// If not null, applies overrides to this RPC call. @@ -871,7 +875,7 @@ public virtual Document CreateDocument(string parent, Document document, string /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// /// A to use for this RPC. @@ -906,7 +910,7 @@ public virtual Document CreateDocument(string parent, Document document, string /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// /// If not null, applies overrides to this RPC call. @@ -946,7 +950,7 @@ public virtual Document CreateDocument(BranchName parent, Document document, str /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// /// If not null, applies overrides to this RPC call. @@ -986,7 +990,7 @@ public virtual Document CreateDocument(BranchName parent, Document document, str /// Otherwise, an `ALREADY_EXISTS` error is returned. /// /// This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) - /// standard with a length limit of 63 characters. Otherwise, an + /// standard with a length limit of 128 characters. Otherwise, an /// `INVALID_ARGUMENT` error is returned. /// /// A to use for this RPC. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceGrpc.g.cs index 4af657644e21..2d2cdbeaac8c 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/DocumentServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/document_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Engine.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Engine.g.cs index e33a5dc45eff..9a958e4954f0 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Engine.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Engine.g.cs @@ -27,54 +27,146 @@ static EngineReflection() { "CjBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9lbmdpbmUu", "cHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhGh9n", "b29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jl", - "c291cmNlLnByb3RvGjBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3Yx", - "YmV0YS9jb21tb24ucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAu", - "cHJvdG8ipwsKBkVuZ2luZRJaChJjaGF0X2V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V9jb25maWdCEQoPZW5naW5lX21ldGFkYXRhQpIC", + "Cidjb20uZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGFCC0Vu", + "Z2luZVByb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5n", + "aW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3Zlcnllbmdp", + "bmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3Zl", + "cnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2lu", + "ZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYx", + "YmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySettingReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.LoggingReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Parser, new[]{ "ChatEngineConfig", "SearchEngineConfig", "ChatEngineMetadata", "Name", "DisplayName", "CreateTime", "UpdateTime", "DataStoreIds", "SolutionType", "IndustryVertical", "CommonConfig", "DisableAnalytics" }, new[]{ "EngineConfig", "EngineMetadata" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.SearchEngineConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.SearchEngineConfig.Parser, new[]{ "SearchTier", "SearchAddOns" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Parser, new[]{ "AgentCreationConfig", "DialogflowAgentToLink" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig.Parser, new[]{ "Business", "DefaultLanguageCode", "TimeZone", "Location" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Parser, new[]{ "ChatEngineConfig", "SearchEngineConfig", "MediaRecommendationEngineConfig", "ChatEngineMetadata", "Name", "DisplayName", "CreateTime", "UpdateTime", "DataStoreIds", "SolutionType", "IndustryVertical", "CommonConfig", "KnowledgeGraphConfig", "AppType", "DisableAnalytics", "Features", "CmekConfig", "ConfigurableBillingApproach", "ModelConfigs", "ObservabilityConfig", "ConnectorTenantInfo", "AgentGatewaySetting", "MarketplaceAgentVisibility", "ProcurementContactEmails" }, new[]{ "EngineConfig", "EngineMetadata" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.FeatureState), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ModelState), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.SearchEngineConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.SearchEngineConfig.Parser, new[]{ "SearchTier", "RequiredSubscriptionTier", "SearchAddOns" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Parser, new[]{ "Type", "OptimizationObjective", "OptimizationObjectiveConfig", "TrainingState", "EngineFeaturesConfig" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig.Parser, new[]{ "TargetField", "TargetFieldValueFloat" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig.Parser, new[]{ "RecommendedForYouConfig", "MostPopularConfig" }, new[]{ "TypeDedicatedConfig" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig.Parser, new[]{ "ContextEventType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig.Parser, new[]{ "TimeWindowDays" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Parser, new[]{ "AgentCreationConfig", "DialogflowAgentToLink", "AllowCrossRegion" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig.Parser, new[]{ "Business", "DefaultLanguageCode", "TimeZone", "Location" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.CommonConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.CommonConfig.Parser, new[]{ "CompanyName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineMetadata.Parser, new[]{ "DialogflowAgent" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Parser, new[]{ "EnableCloudKnowledgeGraph", "CloudKnowledgeGraphTypes", "EnablePrivateKnowledgeGraph", "PrivateKnowledgeGraphTypes", "FeatureConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig.Parser, new[]{ "DisablePrivateKgQueryUnderstanding", "DisablePrivateKgEnrichment", "DisablePrivateKgAutoComplete", "DisablePrivateKgQueryUiChips" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineMetadata.Parser, new[]{ "DialogflowAgent" }, null, null, null, null), + null, null, null, }) })); } #endregion @@ -128,7 +220,18 @@ public Engine(Engine other) : this() { solutionType_ = other.solutionType_; industryVertical_ = other.industryVertical_; commonConfig_ = other.commonConfig_ != null ? other.commonConfig_.Clone() : null; + knowledgeGraphConfig_ = other.knowledgeGraphConfig_ != null ? other.knowledgeGraphConfig_.Clone() : null; + appType_ = other.appType_; disableAnalytics_ = other.disableAnalytics_; + features_ = other.features_.Clone(); + cmekConfig_ = other.cmekConfig_ != null ? other.cmekConfig_.Clone() : null; + configurableBillingApproach_ = other.configurableBillingApproach_; + modelConfigs_ = other.modelConfigs_.Clone(); + observabilityConfig_ = other.observabilityConfig_ != null ? other.observabilityConfig_.Clone() : null; + connectorTenantInfo_ = other.connectorTenantInfo_.Clone(); + agentGatewaySetting_ = other.agentGatewaySetting_ != null ? other.agentGatewaySetting_.Clone() : null; + marketplaceAgentVisibility_ = other.marketplaceAgentVisibility_; + procurementContactEmails_ = other.procurementContactEmails_.Clone(); switch (other.EngineConfigCase) { case EngineConfigOneofCase.ChatEngineConfig: ChatEngineConfig = other.ChatEngineConfig.Clone(); @@ -136,6 +239,9 @@ public Engine(Engine other) : this() { case EngineConfigOneofCase.SearchEngineConfig: SearchEngineConfig = other.SearchEngineConfig.Clone(); break; + case EngineConfigOneofCase.MediaRecommendationEngineConfig: + MediaRecommendationEngineConfig = other.MediaRecommendationEngineConfig.Clone(); + break; } switch (other.EngineMetadataCase) { @@ -189,6 +295,27 @@ public Engine Clone() { } } + /// Field number for the "media_recommendation_engine_config" field. + public const int MediaRecommendationEngineConfigFieldNumber = 14; + /// + /// Configurations for the Media Engine. Only applicable on the data + /// stores with + /// [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] + /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] + /// and + /// [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1beta.IndustryVertical.MEDIA] + /// vertical. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig MediaRecommendationEngineConfig { + get { return engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig) engineConfig_ : null; } + set { + engineConfig_ = value; + engineConfigCase_ = value == null ? EngineConfigOneofCase.None : EngineConfigOneofCase.MediaRecommendationEngineConfig; + } + } + /// Field number for the "chat_engine_metadata" field. public const int ChatEngineMetadataFieldNumber = 12; /// @@ -212,7 +339,7 @@ public Engine Clone() { public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Immutable. The fully qualified resource name of the engine. + /// Immutable. Identifier. The fully qualified resource name of the engine. /// /// This field must be a UTF-8 encoded string with a length limit of 1024 /// characters. @@ -283,7 +410,7 @@ public string DisplayName { = pb::FieldCodec.ForString(42); private readonly pbc::RepeatedField dataStoreIds_ = new pbc::RepeatedField(); /// - /// The data stores associated with this engine. + /// Optional. The data stores associated with this engine. /// /// For /// [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] @@ -329,11 +456,10 @@ public string DisplayName { public const int IndustryVerticalFieldNumber = 16; private global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical industryVertical_ = global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical.Unspecified; /// - /// The industry vertical that the engine registers. + /// Optional. The industry vertical that the engine registers. /// The restriction of the Engine industry vertical is based on - /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: If unspecified, - /// default to `GENERIC`. Vertical on Engine has to match vertical of the - /// DataStore linked to the engine. + /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore]: Vertical on + /// Engine has to match vertical of the DataStore linked to the engine. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -359,6 +485,41 @@ public string DisplayName { } } + /// Field number for the "knowledge_graph_config" field. + public const int KnowledgeGraphConfigFieldNumber = 23; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig knowledgeGraphConfig_; + /// + /// Optional. Configurations for the Knowledge Graph. Only applicable if + /// [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] + /// is + /// [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig KnowledgeGraphConfig { + get { return knowledgeGraphConfig_; } + set { + knowledgeGraphConfig_ = value; + } + } + + /// Field number for the "app_type" field. + public const int AppTypeFieldNumber = 24; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType appType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType.Unspecified; + /// + /// Optional. Immutable. This the application type which this engine resource + /// represents. NOTE: this is a new concept independ of existing industry + /// vertical or solution type. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType AppType { + get { return appType_; } + set { + appType_ = value; + } + } + /// Field number for the "disable_analytics" field. public const int DisableAnalyticsFieldNumber = 26; private bool disableAnalytics_; @@ -375,12 +536,184 @@ public bool DisableAnalytics { } } + /// Field number for the "features" field. + public const int FeaturesFieldNumber = 30; + private static readonly pbc::MapField.Codec _map_features_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.FeatureState) x, global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.FeatureState.Unspecified), 242); + private readonly pbc::MapField features_ = new pbc::MapField(); + /// + /// Optional. Feature config for the engine to opt in or opt out of features. + /// Supported keys: + /// + /// * `*`: all features, if it's present, all other feature state settings are + /// ignored. + /// * `agent-gallery` + /// * `no-code-agent-builder` + /// * `prompt-gallery` + /// * `model-selector` + /// * `notebook-lm` + /// * `people-search` + /// * `people-search-org-chart` + /// * `bi-directional-audio` + /// * `feedback` + /// * `session-sharing` + /// * `personalization-memory` + /// * `personalization-suggested-highlights` + /// * `mobile-app-access` + /// * `disable-agent-sharing` + /// * `disable-image-generation` + /// * `disable-video-generation` + /// * `disable-onedrive-upload` + /// * `disable-talk-to-content` + /// * `disable-google-drive-upload` + /// * `disable-welcome-emails` + /// * `disable-canvas` + /// * `disable-canvas-workspace` + /// * `disable-skills` + /// * `enable-end-user-sharing-with-groups` + /// * `single-agent-orchestration` + /// * `multi-agent-orchestration` + /// * `cross-product-intelligence` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField Features { + get { return features_; } + } + + /// Field number for the "cmek_config" field. + public const int CmekConfigFieldNumber = 32; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig cmekConfig_; + /// + /// Output only. CMEK-related information for the Engine. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig CmekConfig { + get { return cmekConfig_; } + set { + cmekConfig_ = value; + } + } + + /// Field number for the "configurable_billing_approach" field. + public const int ConfigurableBillingApproachFieldNumber = 36; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach configurableBillingApproach_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach.Unspecified; + /// + /// Optional. Configuration for configurable billing approach. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach ConfigurableBillingApproach { + get { return configurableBillingApproach_; } + set { + configurableBillingApproach_ = value; + } + } + + /// Field number for the "model_configs" field. + public const int ModelConfigsFieldNumber = 37; + private static readonly pbc::MapField.Codec _map_modelConfigs_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ModelState) x, global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ModelState.Unspecified), 298); + private readonly pbc::MapField modelConfigs_ = new pbc::MapField(); + /// + /// Optional. Maps a model name to its specific configuration for this engine. + /// This allows admin users to turn on/off individual models. This only stores + /// models whose states are overridden by the admin. + /// + /// When the state is unspecified, or model_configs is empty for this + /// model, the system will decide if this model should be available or not + /// based on the default configuration. For example, a preview model + /// should be disabled by default if the admin has not chosen to enable it. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField ModelConfigs { + get { return modelConfigs_; } + } + + /// Field number for the "observability_config" field. + public const int ObservabilityConfigFieldNumber = 39; + private global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig observabilityConfig_; + /// + /// Optional. Observability config for the engine. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig ObservabilityConfig { + get { return observabilityConfig_; } + set { + observabilityConfig_ = value; + } + } + + /// Field number for the "connector_tenant_info" field. + public const int ConnectorTenantInfoFieldNumber = 42; + private static readonly pbc::MapField.Codec _map_connectorTenantInfo_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 338); + private readonly pbc::MapField connectorTenantInfo_ = new pbc::MapField(); + /// + /// Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to + /// tenant-specific information required for that connector. The structure of + /// the tenant information string is connector-dependent. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField ConnectorTenantInfo { + get { return connectorTenantInfo_; } + } + + /// Field number for the "agent_gateway_setting" field. + public const int AgentGatewaySettingFieldNumber = 43; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting agentGatewaySetting_; + /// + /// Optional. The agent gateway setting for the engine. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting AgentGatewaySetting { + get { return agentGatewaySetting_; } + set { + agentGatewaySetting_ = value; + } + } + + /// Field number for the "marketplace_agent_visibility" field. + public const int MarketplaceAgentVisibilityFieldNumber = 44; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility marketplaceAgentVisibility_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility.Unspecified; + /// + /// Optional. The visibility of marketplace agents in the agent gallery. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility MarketplaceAgentVisibility { + get { return marketplaceAgentVisibility_; } + set { + marketplaceAgentVisibility_ = value; + } + } + + /// Field number for the "procurement_contact_emails" field. + public const int ProcurementContactEmailsFieldNumber = 45; + private static readonly pb::FieldCodec _repeated_procurementContactEmails_codec + = pb::FieldCodec.ForString(362); + private readonly pbc::RepeatedField procurementContactEmails_ = new pbc::RepeatedField(); + /// + /// Optional. The emails of the procurement contacts. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ProcurementContactEmails { + get { return procurementContactEmails_; } + } + private object engineConfig_; /// Enum of possible cases for the "engine_config" oneof. public enum EngineConfigOneofCase { None = 0, ChatEngineConfig = 11, SearchEngineConfig = 13, + MediaRecommendationEngineConfig = 14, } private EngineConfigOneofCase engineConfigCase_ = EngineConfigOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -433,6 +766,7 @@ public bool Equals(Engine other) { } if (!object.Equals(ChatEngineConfig, other.ChatEngineConfig)) return false; if (!object.Equals(SearchEngineConfig, other.SearchEngineConfig)) return false; + if (!object.Equals(MediaRecommendationEngineConfig, other.MediaRecommendationEngineConfig)) return false; if (!object.Equals(ChatEngineMetadata, other.ChatEngineMetadata)) return false; if (Name != other.Name) return false; if (DisplayName != other.DisplayName) return false; @@ -442,7 +776,18 @@ public bool Equals(Engine other) { if (SolutionType != other.SolutionType) return false; if (IndustryVertical != other.IndustryVertical) return false; if (!object.Equals(CommonConfig, other.CommonConfig)) return false; + if (!object.Equals(KnowledgeGraphConfig, other.KnowledgeGraphConfig)) return false; + if (AppType != other.AppType) return false; if (DisableAnalytics != other.DisableAnalytics) return false; + if (!Features.Equals(other.Features)) return false; + if (!object.Equals(CmekConfig, other.CmekConfig)) return false; + if (ConfigurableBillingApproach != other.ConfigurableBillingApproach) return false; + if (!ModelConfigs.Equals(other.ModelConfigs)) return false; + if (!object.Equals(ObservabilityConfig, other.ObservabilityConfig)) return false; + if (!ConnectorTenantInfo.Equals(other.ConnectorTenantInfo)) return false; + if (!object.Equals(AgentGatewaySetting, other.AgentGatewaySetting)) return false; + if (MarketplaceAgentVisibility != other.MarketplaceAgentVisibility) return false; + if(!procurementContactEmails_.Equals(other.procurementContactEmails_)) return false; if (EngineConfigCase != other.EngineConfigCase) return false; if (EngineMetadataCase != other.EngineMetadataCase) return false; return Equals(_unknownFields, other._unknownFields); @@ -454,6 +799,7 @@ public override int GetHashCode() { int hash = 1; if (engineConfigCase_ == EngineConfigOneofCase.ChatEngineConfig) hash ^= ChatEngineConfig.GetHashCode(); if (engineConfigCase_ == EngineConfigOneofCase.SearchEngineConfig) hash ^= SearchEngineConfig.GetHashCode(); + if (engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig) hash ^= MediaRecommendationEngineConfig.GetHashCode(); if (engineMetadataCase_ == EngineMetadataOneofCase.ChatEngineMetadata) hash ^= ChatEngineMetadata.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); @@ -463,7 +809,18 @@ public override int GetHashCode() { if (SolutionType != global::Google.Cloud.DiscoveryEngine.V1Beta.SolutionType.Unspecified) hash ^= SolutionType.GetHashCode(); if (IndustryVertical != global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical.Unspecified) hash ^= IndustryVertical.GetHashCode(); if (commonConfig_ != null) hash ^= CommonConfig.GetHashCode(); + if (knowledgeGraphConfig_ != null) hash ^= KnowledgeGraphConfig.GetHashCode(); + if (AppType != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType.Unspecified) hash ^= AppType.GetHashCode(); if (DisableAnalytics != false) hash ^= DisableAnalytics.GetHashCode(); + hash ^= Features.GetHashCode(); + if (cmekConfig_ != null) hash ^= CmekConfig.GetHashCode(); + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach.Unspecified) hash ^= ConfigurableBillingApproach.GetHashCode(); + hash ^= ModelConfigs.GetHashCode(); + if (observabilityConfig_ != null) hash ^= ObservabilityConfig.GetHashCode(); + hash ^= ConnectorTenantInfo.GetHashCode(); + if (agentGatewaySetting_ != null) hash ^= AgentGatewaySetting.GetHashCode(); + if (MarketplaceAgentVisibility != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility.Unspecified) hash ^= MarketplaceAgentVisibility.GetHashCode(); + hash ^= procurementContactEmails_.GetHashCode(); hash ^= (int) engineConfigCase_; hash ^= (int) engineMetadataCase_; if (_unknownFields != null) { @@ -517,6 +874,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(106); output.WriteMessage(SearchEngineConfig); } + if (engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig) { + output.WriteRawTag(114); + output.WriteMessage(MediaRecommendationEngineConfig); + } if (commonConfig_ != null) { output.WriteRawTag(122); output.WriteMessage(CommonConfig); @@ -525,10 +886,42 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(128, 1); output.WriteEnum((int) IndustryVertical); } + if (knowledgeGraphConfig_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(KnowledgeGraphConfig); + } + if (AppType != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType.Unspecified) { + output.WriteRawTag(192, 1); + output.WriteEnum((int) AppType); + } if (DisableAnalytics != false) { output.WriteRawTag(208, 1); output.WriteBool(DisableAnalytics); } + features_.WriteTo(output, _map_features_codec); + if (cmekConfig_ != null) { + output.WriteRawTag(130, 2); + output.WriteMessage(CmekConfig); + } + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach.Unspecified) { + output.WriteRawTag(160, 2); + output.WriteEnum((int) ConfigurableBillingApproach); + } + modelConfigs_.WriteTo(output, _map_modelConfigs_codec); + if (observabilityConfig_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(ObservabilityConfig); + } + connectorTenantInfo_.WriteTo(output, _map_connectorTenantInfo_codec); + if (agentGatewaySetting_ != null) { + output.WriteRawTag(218, 2); + output.WriteMessage(AgentGatewaySetting); + } + if (MarketplaceAgentVisibility != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility.Unspecified) { + output.WriteRawTag(224, 2); + output.WriteEnum((int) MarketplaceAgentVisibility); + } + procurementContactEmails_.WriteTo(output, _repeated_procurementContactEmails_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -572,6 +965,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(106); output.WriteMessage(SearchEngineConfig); } + if (engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig) { + output.WriteRawTag(114); + output.WriteMessage(MediaRecommendationEngineConfig); + } if (commonConfig_ != null) { output.WriteRawTag(122); output.WriteMessage(CommonConfig); @@ -580,10 +977,42 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(128, 1); output.WriteEnum((int) IndustryVertical); } + if (knowledgeGraphConfig_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(KnowledgeGraphConfig); + } + if (AppType != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType.Unspecified) { + output.WriteRawTag(192, 1); + output.WriteEnum((int) AppType); + } if (DisableAnalytics != false) { output.WriteRawTag(208, 1); output.WriteBool(DisableAnalytics); } + features_.WriteTo(ref output, _map_features_codec); + if (cmekConfig_ != null) { + output.WriteRawTag(130, 2); + output.WriteMessage(CmekConfig); + } + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach.Unspecified) { + output.WriteRawTag(160, 2); + output.WriteEnum((int) ConfigurableBillingApproach); + } + modelConfigs_.WriteTo(ref output, _map_modelConfigs_codec); + if (observabilityConfig_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(ObservabilityConfig); + } + connectorTenantInfo_.WriteTo(ref output, _map_connectorTenantInfo_codec); + if (agentGatewaySetting_ != null) { + output.WriteRawTag(218, 2); + output.WriteMessage(AgentGatewaySetting); + } + if (MarketplaceAgentVisibility != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility.Unspecified) { + output.WriteRawTag(224, 2); + output.WriteEnum((int) MarketplaceAgentVisibility); + } + procurementContactEmails_.WriteTo(ref output, _repeated_procurementContactEmails_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -600,6 +1029,9 @@ public int CalculateSize() { if (engineConfigCase_ == EngineConfigOneofCase.SearchEngineConfig) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SearchEngineConfig); } + if (engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MediaRecommendationEngineConfig); + } if (engineMetadataCase_ == EngineMetadataOneofCase.ChatEngineMetadata) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChatEngineMetadata); } @@ -625,9 +1057,34 @@ public int CalculateSize() { if (commonConfig_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CommonConfig); } + if (knowledgeGraphConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(KnowledgeGraphConfig); + } + if (AppType != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType.Unspecified) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) AppType); + } if (DisableAnalytics != false) { size += 2 + 1; } + size += features_.CalculateSize(_map_features_codec); + if (cmekConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CmekConfig); + } + if (ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach.Unspecified) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) ConfigurableBillingApproach); + } + size += modelConfigs_.CalculateSize(_map_modelConfigs_codec); + if (observabilityConfig_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ObservabilityConfig); + } + size += connectorTenantInfo_.CalculateSize(_map_connectorTenantInfo_codec); + if (agentGatewaySetting_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AgentGatewaySetting); + } + if (MarketplaceAgentVisibility != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility.Unspecified) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarketplaceAgentVisibility); + } + size += procurementContactEmails_.CalculateSize(_repeated_procurementContactEmails_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -671,9 +1128,46 @@ public void MergeFrom(Engine other) { } CommonConfig.MergeFrom(other.CommonConfig); } + if (other.knowledgeGraphConfig_ != null) { + if (knowledgeGraphConfig_ == null) { + KnowledgeGraphConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig(); + } + KnowledgeGraphConfig.MergeFrom(other.KnowledgeGraphConfig); + } + if (other.AppType != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType.Unspecified) { + AppType = other.AppType; + } if (other.DisableAnalytics != false) { DisableAnalytics = other.DisableAnalytics; } + features_.MergeFrom(other.features_); + if (other.cmekConfig_ != null) { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + CmekConfig.MergeFrom(other.CmekConfig); + } + if (other.ConfigurableBillingApproach != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach.Unspecified) { + ConfigurableBillingApproach = other.ConfigurableBillingApproach; + } + modelConfigs_.MergeFrom(other.modelConfigs_); + if (other.observabilityConfig_ != null) { + if (observabilityConfig_ == null) { + ObservabilityConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig(); + } + ObservabilityConfig.MergeFrom(other.ObservabilityConfig); + } + connectorTenantInfo_.MergeFrom(other.connectorTenantInfo_); + if (other.agentGatewaySetting_ != null) { + if (agentGatewaySetting_ == null) { + AgentGatewaySetting = new global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting(); + } + AgentGatewaySetting.MergeFrom(other.AgentGatewaySetting); + } + if (other.MarketplaceAgentVisibility != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility.Unspecified) { + MarketplaceAgentVisibility = other.MarketplaceAgentVisibility; + } + procurementContactEmails_.Add(other.procurementContactEmails_); switch (other.EngineConfigCase) { case EngineConfigOneofCase.ChatEngineConfig: if (ChatEngineConfig == null) { @@ -687,6 +1181,12 @@ public void MergeFrom(Engine other) { } SearchEngineConfig.MergeFrom(other.SearchEngineConfig); break; + case EngineConfigOneofCase.MediaRecommendationEngineConfig: + if (MediaRecommendationEngineConfig == null) { + MediaRecommendationEngineConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig(); + } + MediaRecommendationEngineConfig.MergeFrom(other.MediaRecommendationEngineConfig); + break; } switch (other.EngineMetadataCase) { @@ -774,6 +1274,15 @@ public void MergeFrom(pb::CodedInputStream input) { SearchEngineConfig = subBuilder; break; } + case 114: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig(); + if (engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig) { + subBuilder.MergeFrom(MediaRecommendationEngineConfig); + } + input.ReadMessage(subBuilder); + MediaRecommendationEngineConfig = subBuilder; + break; + } case 122: { if (commonConfig_ == null) { CommonConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.CommonConfig(); @@ -785,10 +1294,66 @@ public void MergeFrom(pb::CodedInputStream input) { IndustryVertical = (global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical) input.ReadEnum(); break; } + case 186: { + if (knowledgeGraphConfig_ == null) { + KnowledgeGraphConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig(); + } + input.ReadMessage(KnowledgeGraphConfig); + break; + } + case 192: { + AppType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType) input.ReadEnum(); + break; + } case 208: { DisableAnalytics = input.ReadBool(); break; } + case 242: { + features_.AddEntriesFrom(input, _map_features_codec); + break; + } + case 258: { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(CmekConfig); + break; + } + case 288: { + ConfigurableBillingApproach = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach) input.ReadEnum(); + break; + } + case 298: { + modelConfigs_.AddEntriesFrom(input, _map_modelConfigs_codec); + break; + } + case 314: { + if (observabilityConfig_ == null) { + ObservabilityConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig(); + } + input.ReadMessage(ObservabilityConfig); + break; + } + case 338: { + connectorTenantInfo_.AddEntriesFrom(input, _map_connectorTenantInfo_codec); + break; + } + case 346: { + if (agentGatewaySetting_ == null) { + AgentGatewaySetting = new global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting(); + } + input.ReadMessage(AgentGatewaySetting); + break; + } + case 352: { + MarketplaceAgentVisibility = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility) input.ReadEnum(); + break; + } + case 362: { + procurementContactEmails_.AddEntriesFrom(input, _repeated_procurementContactEmails_codec); + break; + } } } #endif @@ -865,6 +1430,15 @@ public void MergeFrom(pb::CodedInputStream input) { SearchEngineConfig = subBuilder; break; } + case 114: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig(); + if (engineConfigCase_ == EngineConfigOneofCase.MediaRecommendationEngineConfig) { + subBuilder.MergeFrom(MediaRecommendationEngineConfig); + } + input.ReadMessage(subBuilder); + MediaRecommendationEngineConfig = subBuilder; + break; + } case 122: { if (commonConfig_ == null) { CommonConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.CommonConfig(); @@ -876,10 +1450,66 @@ public void MergeFrom(pb::CodedInputStream input) { IndustryVertical = (global::Google.Cloud.DiscoveryEngine.V1Beta.IndustryVertical) input.ReadEnum(); break; } + case 186: { + if (knowledgeGraphConfig_ == null) { + KnowledgeGraphConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig(); + } + input.ReadMessage(KnowledgeGraphConfig); + break; + } + case 192: { + AppType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.AppType) input.ReadEnum(); + break; + } case 208: { DisableAnalytics = input.ReadBool(); break; } + case 242: { + features_.AddEntriesFrom(ref input, _map_features_codec); + break; + } + case 258: { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(CmekConfig); + break; + } + case 288: { + ConfigurableBillingApproach = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ConfigurableBillingApproach) input.ReadEnum(); + break; + } + case 298: { + modelConfigs_.AddEntriesFrom(ref input, _map_modelConfigs_codec); + break; + } + case 314: { + if (observabilityConfig_ == null) { + ObservabilityConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig(); + } + input.ReadMessage(ObservabilityConfig); + break; + } + case 338: { + connectorTenantInfo_.AddEntriesFrom(ref input, _map_connectorTenantInfo_codec); + break; + } + case 346: { + if (agentGatewaySetting_ == null) { + AgentGatewaySetting = new global::Google.Cloud.DiscoveryEngine.V1Beta.AgentGatewaySetting(); + } + input.ReadMessage(AgentGatewaySetting); + break; + } + case 352: { + MarketplaceAgentVisibility = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MarketplaceAgentVisibility) input.ReadEnum(); + break; + } + case 362: { + procurementContactEmails_.AddEntriesFrom(ref input, _repeated_procurementContactEmails_codec); + break; + } } } } @@ -890,6 +1520,104 @@ public void MergeFrom(pb::CodedInputStream input) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { + /// + /// The app of the engine. + /// + public enum AppType { + /// + /// All non specified apps. + /// + [pbr::OriginalName("APP_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// App type for intranet search and Agentspace. + /// + [pbr::OriginalName("APP_TYPE_INTRANET")] Intranet = 1, + } + + /// + /// The state of the feature for the engine. + /// + public enum FeatureState { + /// + /// The feature state is unspecified. + /// + [pbr::OriginalName("FEATURE_STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The feature is turned on to be accessible. + /// + [pbr::OriginalName("FEATURE_STATE_ON")] On = 1, + /// + /// The feature is turned off to be inaccessible. + /// + [pbr::OriginalName("FEATURE_STATE_OFF")] Off = 2, + } + + /// + /// Configuration for configurable billing approach. + /// + public enum ConfigurableBillingApproach { + /// + /// Default value. For Spark and non-Spark non-configurable billing approach. + /// General pricing model. + /// + [pbr::OriginalName("CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED")] Unspecified = 0, + /// + /// The billing approach follows configurations specified by customer. + /// + [pbr::OriginalName("CONFIGURABLE_BILLING_APPROACH_ENABLED")] Enabled = 1, + } + + /// + /// The status of the model for the engine. + /// + public enum ModelState { + /// + /// The model state is unspecified. + /// + [pbr::OriginalName("MODEL_STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The model is enabled by admin. + /// + [pbr::OriginalName("MODEL_ENABLED")] ModelEnabled = 1, + /// + /// The model is disabled by admin. + /// + [pbr::OriginalName("MODEL_DISABLED")] ModelDisabled = 2, + } + + /// + /// Represents which marketplace agents are visible to any users in agent + /// gallery. + /// + public enum MarketplaceAgentVisibility { + /// + /// Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`. + /// + [pbr::OriginalName("MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED")] Unspecified = 0, + /// + /// Only agents that are currently available for use by the user are visible. + /// + [pbr::OriginalName("SHOW_AVAILABLE_AGENTS_ONLY")] ShowAvailableAgentsOnly = 1, + /// + /// Show marketplace agents that the user does not yet have access to but + /// are integrated into the engine. This level also includes all agents + /// visible with `SHOW_AVAILABLE_AGENTS_ONLY`. + /// + [pbr::OriginalName("SHOW_AGENTS_ALREADY_INTEGRATED")] ShowAgentsAlreadyIntegrated = 2, + /// + /// Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus + /// agents that have already been purchased by the project/organization, even + /// if they are not currently integrated into the engine. + /// + [pbr::OriginalName("SHOW_AGENTS_ALREADY_PURCHASED")] ShowAgentsAlreadyPurchased = 3, + /// + /// All agents in the marketplace are visible, regardless of access or + /// purchase status. This level encompasses all agents shown in the previous + /// levels. + /// + [pbr::OriginalName("SHOW_ALL_AGENTS")] ShowAllAgents = 4, + } + /// /// Configurations for a Search Engine. /// @@ -929,6 +1657,7 @@ public SearchEngineConfig() { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SearchEngineConfig(SearchEngineConfig other) : this() { searchTier_ = other.searchTier_; + requiredSubscriptionTier_ = other.requiredSubscriptionTier_; searchAddOns_ = other.searchAddOns_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -961,6 +1690,25 @@ public SearchEngineConfig Clone() { } } + /// Field number for the "required_subscription_tier" field. + public const int RequiredSubscriptionTierFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier requiredSubscriptionTier_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified; + /// + /// Optional. The required subscription tier of this engine. + /// + /// They cannot be modified after engine creation. If the required + /// subscription tier is search, user with higher license tier like assist + /// can still access the standalone app associated with this engine. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier RequiredSubscriptionTier { + get { return requiredSubscriptionTier_; } + set { + requiredSubscriptionTier_ = value; + } + } + /// Field number for the "search_add_ons" field. public const int SearchAddOnsFieldNumber = 2; private static readonly pb::FieldCodec _repeated_searchAddOns_codec @@ -991,6 +1739,7 @@ public bool Equals(SearchEngineConfig other) { return true; } if (SearchTier != other.SearchTier) return false; + if (RequiredSubscriptionTier != other.RequiredSubscriptionTier) return false; if(!searchAddOns_.Equals(other.searchAddOns_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1000,6 +1749,7 @@ public bool Equals(SearchEngineConfig other) { public override int GetHashCode() { int hash = 1; if (SearchTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchTier.Unspecified) hash ^= SearchTier.GetHashCode(); + if (RequiredSubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) hash ^= RequiredSubscriptionTier.GetHashCode(); hash ^= searchAddOns_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -1024,6 +1774,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteEnum((int) SearchTier); } searchAddOns_.WriteTo(output, _repeated_searchAddOns_codec); + if (RequiredSubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) RequiredSubscriptionTier); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1039,6 +1793,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteEnum((int) SearchTier); } searchAddOns_.WriteTo(ref output, _repeated_searchAddOns_codec); + if (RequiredSubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) RequiredSubscriptionTier); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1052,6 +1810,9 @@ public int CalculateSize() { if (SearchTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchTier.Unspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SearchTier); } + if (RequiredSubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequiredSubscriptionTier); + } size += searchAddOns_.CalculateSize(_repeated_searchAddOns_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -1068,6 +1829,9 @@ public void MergeFrom(SearchEngineConfig other) { if (other.SearchTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchTier.Unspecified) { SearchTier = other.SearchTier; } + if (other.RequiredSubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + RequiredSubscriptionTier = other.RequiredSubscriptionTier; + } searchAddOns_.Add(other.searchAddOns_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1097,6 +1861,10 @@ public void MergeFrom(pb::CodedInputStream input) { searchAddOns_.AddEntriesFrom(input, _repeated_searchAddOns_codec); break; } + case 24: { + RequiredSubscriptionTier = (global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier) input.ReadEnum(); + break; + } } } #endif @@ -1125,6 +1893,10 @@ public void MergeFrom(pb::CodedInputStream input) { searchAddOns_.AddEntriesFrom(ref input, _repeated_searchAddOns_codec); break; } + case 24: { + RequiredSubscriptionTier = (global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier) input.ReadEnum(); + break; + } } } } @@ -1133,19 +1905,19 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Configurations for a Chat Engine. + /// Additional config specs for a Media Recommendation engine. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ChatEngineConfig : pb::IMessage + public sealed partial class MediaRecommendationEngineConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChatEngineConfig()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MediaRecommendationEngineConfig()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1161,7 +1933,7 @@ public sealed partial class ChatEngineConfig : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChatEngineConfig() { + public MediaRecommendationEngineConfig() { OnConstruction(); } @@ -1169,87 +1941,150 @@ public ChatEngineConfig() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChatEngineConfig(ChatEngineConfig other) : this() { - agentCreationConfig_ = other.agentCreationConfig_ != null ? other.agentCreationConfig_.Clone() : null; - dialogflowAgentToLink_ = other.dialogflowAgentToLink_; + public MediaRecommendationEngineConfig(MediaRecommendationEngineConfig other) : this() { + type_ = other.type_; + optimizationObjective_ = other.optimizationObjective_; + optimizationObjectiveConfig_ = other.optimizationObjectiveConfig_ != null ? other.optimizationObjectiveConfig_.Clone() : null; + trainingState_ = other.trainingState_; + engineFeaturesConfig_ = other.engineFeaturesConfig_ != null ? other.engineFeaturesConfig_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChatEngineConfig Clone() { - return new ChatEngineConfig(this); + public MediaRecommendationEngineConfig Clone() { + return new MediaRecommendationEngineConfig(this); } - /// Field number for the "agent_creation_config" field. - public const int AgentCreationConfigFieldNumber = 1; - private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig agentCreationConfig_; + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private string type_ = ""; /// - /// The configurationt generate the Dialogflow agent that is associated to - /// this Engine. + /// Required. The type of engine. e.g., `recommended-for-you`. /// - /// Note that these configurations are one-time consumed by - /// and passed to Dialogflow service. It means they cannot be retrieved using - /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] - /// or - /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] - /// API after engine creation. + /// This field together with + /// [optimization_objective][google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.optimization_objective] + /// describe engine metadata to use to control engine training and serving. + /// + /// Currently supported values: `recommended-for-you`, `others-you-may-like`, + /// `more-like-this`, `most-popular-items`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig AgentCreationConfig { - get { return agentCreationConfig_; } + public string Type { + get { return type_; } set { - agentCreationConfig_ = value; + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "dialogflow_agent_to_link" field. - public const int DialogflowAgentToLinkFieldNumber = 2; - private string dialogflowAgentToLink_ = ""; + /// Field number for the "optimization_objective" field. + public const int OptimizationObjectiveFieldNumber = 2; + private string optimizationObjective_ = ""; /// - /// The resource name of an exist Dialogflow agent to link to this Chat - /// Engine. Customers can either provide `agent_creation_config` to create - /// agent or provide an agent name that links the agent with the Chat engine. + /// The optimization objective. e.g., `cvr`. /// - /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent - /// ID>`. + /// This field together with + /// [optimization_objective][google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.type] + /// describe engine metadata to use to control engine training and serving. /// - /// Note that the `dialogflow_agent_to_link` are one-time consumed by and - /// passed to Dialogflow service. It means they cannot be retrieved using - /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] - /// or - /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] - /// API after engine creation. Use - /// [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] - /// for actual agent association after Engine is created. + /// Currently supported + /// values: `ctr`, `cvr`. + /// + /// If not specified, we choose default based on engine type. + /// Default depends on type of recommendation: + /// + /// `recommended-for-you` => `ctr` + /// + /// `others-you-may-like` => `ctr` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DialogflowAgentToLink { - get { return dialogflowAgentToLink_; } + public string OptimizationObjective { + get { return optimizationObjective_; } set { - dialogflowAgentToLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + optimizationObjective_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "optimization_objective_config" field. + public const int OptimizationObjectiveConfigFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig optimizationObjectiveConfig_; + /// + /// Name and value of the custom threshold for cvr optimization_objective. + /// For target_field `watch-time`, target_field_value must be an integer + /// value indicating the media progress time in seconds between (0, 86400] + /// (excludes 0, includes 86400) (e.g., 90). + /// For target_field `watch-percentage`, the target_field_value must be a + /// valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., + /// 0.5). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig OptimizationObjectiveConfig { + get { return optimizationObjectiveConfig_; } + set { + optimizationObjectiveConfig_ = value; + } + } + + /// Field number for the "training_state" field. + public const int TrainingStateFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState trainingState_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState.Unspecified; + /// + /// The training state that the engine is in (e.g. + /// `TRAINING` or `PAUSED`). + /// + /// Since part of the cost of running the service + /// is frequency of training - this can be used to determine when to train + /// engine in order to control cost. If not specified: the default value for + /// `CreateEngine` method is `TRAINING`. The default value for + /// `UpdateEngine` method is to keep the state the same as before. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState TrainingState { + get { return trainingState_; } + set { + trainingState_ = value; + } + } + + /// Field number for the "engine_features_config" field. + public const int EngineFeaturesConfigFieldNumber = 5; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig engineFeaturesConfig_; + /// + /// Optional. Additional engine features config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig EngineFeaturesConfig { + get { return engineFeaturesConfig_; } + set { + engineFeaturesConfig_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ChatEngineConfig); + return Equals(other as MediaRecommendationEngineConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ChatEngineConfig other) { + public bool Equals(MediaRecommendationEngineConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(AgentCreationConfig, other.AgentCreationConfig)) return false; - if (DialogflowAgentToLink != other.DialogflowAgentToLink) return false; + if (Type != other.Type) return false; + if (OptimizationObjective != other.OptimizationObjective) return false; + if (!object.Equals(OptimizationObjectiveConfig, other.OptimizationObjectiveConfig)) return false; + if (TrainingState != other.TrainingState) return false; + if (!object.Equals(EngineFeaturesConfig, other.EngineFeaturesConfig)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1257,8 +2092,11 @@ public bool Equals(ChatEngineConfig other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (agentCreationConfig_ != null) hash ^= AgentCreationConfig.GetHashCode(); - if (DialogflowAgentToLink.Length != 0) hash ^= DialogflowAgentToLink.GetHashCode(); + if (Type.Length != 0) hash ^= Type.GetHashCode(); + if (OptimizationObjective.Length != 0) hash ^= OptimizationObjective.GetHashCode(); + if (optimizationObjectiveConfig_ != null) hash ^= OptimizationObjectiveConfig.GetHashCode(); + if (TrainingState != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState.Unspecified) hash ^= TrainingState.GetHashCode(); + if (engineFeaturesConfig_ != null) hash ^= EngineFeaturesConfig.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1277,13 +2115,25 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (agentCreationConfig_ != null) { + if (Type.Length != 0) { output.WriteRawTag(10); - output.WriteMessage(AgentCreationConfig); + output.WriteString(Type); } - if (DialogflowAgentToLink.Length != 0) { + if (OptimizationObjective.Length != 0) { output.WriteRawTag(18); - output.WriteString(DialogflowAgentToLink); + output.WriteString(OptimizationObjective); + } + if (optimizationObjectiveConfig_ != null) { + output.WriteRawTag(26); + output.WriteMessage(OptimizationObjectiveConfig); + } + if (TrainingState != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) TrainingState); + } + if (engineFeaturesConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(EngineFeaturesConfig); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -1295,13 +2145,25 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (agentCreationConfig_ != null) { + if (Type.Length != 0) { output.WriteRawTag(10); - output.WriteMessage(AgentCreationConfig); + output.WriteString(Type); } - if (DialogflowAgentToLink.Length != 0) { + if (OptimizationObjective.Length != 0) { output.WriteRawTag(18); - output.WriteString(DialogflowAgentToLink); + output.WriteString(OptimizationObjective); + } + if (optimizationObjectiveConfig_ != null) { + output.WriteRawTag(26); + output.WriteMessage(OptimizationObjectiveConfig); + } + if (TrainingState != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) TrainingState); + } + if (engineFeaturesConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(EngineFeaturesConfig); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -1313,11 +2175,20 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (agentCreationConfig_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentCreationConfig); + if (Type.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); } - if (DialogflowAgentToLink.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DialogflowAgentToLink); + if (OptimizationObjective.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OptimizationObjective); + } + if (optimizationObjectiveConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(OptimizationObjectiveConfig); + } + if (TrainingState != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TrainingState); + } + if (engineFeaturesConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EngineFeaturesConfig); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -1327,18 +2198,30 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ChatEngineConfig other) { + public void MergeFrom(MediaRecommendationEngineConfig other) { if (other == null) { return; } - if (other.agentCreationConfig_ != null) { - if (agentCreationConfig_ == null) { - AgentCreationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig(); + if (other.Type.Length != 0) { + Type = other.Type; + } + if (other.OptimizationObjective.Length != 0) { + OptimizationObjective = other.OptimizationObjective; + } + if (other.optimizationObjectiveConfig_ != null) { + if (optimizationObjectiveConfig_ == null) { + OptimizationObjectiveConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig(); } - AgentCreationConfig.MergeFrom(other.AgentCreationConfig); + OptimizationObjectiveConfig.MergeFrom(other.OptimizationObjectiveConfig); } - if (other.DialogflowAgentToLink.Length != 0) { - DialogflowAgentToLink = other.DialogflowAgentToLink; + if (other.TrainingState != global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState.Unspecified) { + TrainingState = other.TrainingState; + } + if (other.engineFeaturesConfig_ != null) { + if (engineFeaturesConfig_ == null) { + EngineFeaturesConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig(); + } + EngineFeaturesConfig.MergeFrom(other.EngineFeaturesConfig); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1360,14 +2243,29 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - if (agentCreationConfig_ == null) { - AgentCreationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig(); - } - input.ReadMessage(AgentCreationConfig); + Type = input.ReadString(); break; } case 18: { - DialogflowAgentToLink = input.ReadString(); + OptimizationObjective = input.ReadString(); + break; + } + case 26: { + if (optimizationObjectiveConfig_ == null) { + OptimizationObjectiveConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig(); + } + input.ReadMessage(OptimizationObjectiveConfig); + break; + } + case 32: { + TrainingState = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState) input.ReadEnum(); + break; + } + case 42: { + if (engineFeaturesConfig_ == null) { + EngineFeaturesConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig(); + } + input.ReadMessage(EngineFeaturesConfig); break; } } @@ -1390,14 +2288,29 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - if (agentCreationConfig_ == null) { - AgentCreationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig(); - } - input.ReadMessage(AgentCreationConfig); + Type = input.ReadString(); break; } case 18: { - DialogflowAgentToLink = input.ReadString(); + OptimizationObjective = input.ReadString(); + break; + } + case 26: { + if (optimizationObjectiveConfig_ == null) { + OptimizationObjectiveConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.OptimizationObjectiveConfig(); + } + input.ReadMessage(OptimizationObjectiveConfig); + break; + } + case 32: { + TrainingState = (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.TrainingState) input.ReadEnum(); + break; + } + case 42: { + if (engineFeaturesConfig_ == null) { + EngineFeaturesConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.EngineFeaturesConfig(); + } + input.ReadMessage(EngineFeaturesConfig); break; } } @@ -1406,36 +2319,47 @@ public void MergeFrom(pb::CodedInputStream input) { #endif #region Nested types - /// Container for nested types declared in the ChatEngineConfig message type. + /// Container for nested types declared in the MediaRecommendationEngineConfig message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// Configurations for generating a Dialogflow agent. - /// - /// Note that these configurations are one-time consumed by - /// and passed to Dialogflow service. It means they cannot be retrieved using - /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] - /// or - /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] - /// API after engine creation. + /// The training state of the engine. + /// + public enum TrainingState { + /// + /// Unspecified training state. + /// + [pbr::OriginalName("TRAINING_STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The engine training is paused. + /// + [pbr::OriginalName("PAUSED")] Paused = 1, + /// + /// The engine is training. + /// + [pbr::OriginalName("TRAINING")] Training = 2, + } + + /// + /// Custom threshold for `cvr` optimization_objective. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AgentCreationConfig : pb::IMessage + public sealed partial class OptimizationObjectiveConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentCreationConfig()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OptimizationObjectiveConfig()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1446,7 +2370,7 @@ public sealed partial class AgentCreationConfig : pb::IMessageField number for the "business" field. - public const int BusinessFieldNumber = 1; - private string business_ = ""; - /// - /// Name of the company, organization or other entity that the agent - /// represents. Used for knowledge connector LLM prompt and for knowledge - /// search. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Business { - get { return business_; } - set { - business_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "default_language_code" field. - public const int DefaultLanguageCodeFieldNumber = 2; - private string defaultLanguageCode_ = ""; - /// - /// Required. The default language of the agent as a language tag. - /// See [Language - /// Support](https://cloud.google.com/dialogflow/docs/reference/language) - /// for a list of the currently supported language codes. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DefaultLanguageCode { - get { return defaultLanguageCode_; } - set { - defaultLanguageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public OptimizationObjectiveConfig Clone() { + return new OptimizationObjectiveConfig(this); } - /// Field number for the "time_zone" field. - public const int TimeZoneFieldNumber = 3; - private string timeZone_ = ""; + /// Field number for the "target_field" field. + public const int TargetFieldFieldNumber = 1; + private string targetField_ = ""; /// - /// Required. The time zone of the agent from the [time zone - /// database](https://www.iana.org/time-zones), e.g., America/New_York, - /// Europe/Paris. + /// Required. The name of the field to target. Currently supported + /// values: `watch-percentage`, `watch-time`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TimeZone { - get { return timeZone_; } + public string TargetField { + get { return targetField_; } set { - timeZone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + targetField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "location" field. - public const int LocationFieldNumber = 4; - private string location_ = ""; + /// Field number for the "target_field_value_float" field. + public const int TargetFieldValueFloatFieldNumber = 2; + private float targetFieldValueFloat_; /// - /// Agent location for Agent creation, supported values: global/us/eu. - /// If not provided, us Engine will create Agent using us-central-1 by - /// default; eu Engine will create Agent using eu-west-1 by default. + /// Required. The threshold to be applied to the target (e.g., 0.5). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Location { - get { return location_; } + public float TargetFieldValueFloat { + get { return targetFieldValueFloat_; } set { - location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + targetFieldValueFloat_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as AgentCreationConfig); + return Equals(other as OptimizationObjectiveConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AgentCreationConfig other) { + public bool Equals(OptimizationObjectiveConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Business != other.Business) return false; - if (DefaultLanguageCode != other.DefaultLanguageCode) return false; - if (TimeZone != other.TimeZone) return false; - if (Location != other.Location) return false; + if (TargetField != other.TargetField) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TargetFieldValueFloat, other.TargetFieldValueFloat)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1563,10 +2445,8 @@ public bool Equals(AgentCreationConfig other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Business.Length != 0) hash ^= Business.GetHashCode(); - if (DefaultLanguageCode.Length != 0) hash ^= DefaultLanguageCode.GetHashCode(); - if (TimeZone.Length != 0) hash ^= TimeZone.GetHashCode(); - if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (TargetField.Length != 0) hash ^= TargetField.GetHashCode(); + if (TargetFieldValueFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TargetFieldValueFloat); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1585,21 +2465,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Business.Length != 0) { + if (TargetField.Length != 0) { output.WriteRawTag(10); - output.WriteString(Business); - } - if (DefaultLanguageCode.Length != 0) { - output.WriteRawTag(18); - output.WriteString(DefaultLanguageCode); - } - if (TimeZone.Length != 0) { - output.WriteRawTag(26); - output.WriteString(TimeZone); + output.WriteString(TargetField); } - if (Location.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Location); + if (TargetFieldValueFloat != 0F) { + output.WriteRawTag(21); + output.WriteFloat(TargetFieldValueFloat); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -1611,21 +2483,2281 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Business.Length != 0) { + if (TargetField.Length != 0) { output.WriteRawTag(10); - output.WriteString(Business); + output.WriteString(TargetField); } - if (DefaultLanguageCode.Length != 0) { - output.WriteRawTag(18); - output.WriteString(DefaultLanguageCode); + if (TargetFieldValueFloat != 0F) { + output.WriteRawTag(21); + output.WriteFloat(TargetFieldValueFloat); } - if (TimeZone.Length != 0) { - output.WriteRawTag(26); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (TargetField.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetField); + } + if (TargetFieldValueFloat != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OptimizationObjectiveConfig other) { + if (other == null) { + return; + } + if (other.TargetField.Length != 0) { + TargetField = other.TargetField; + } + if (other.TargetFieldValueFloat != 0F) { + TargetFieldValueFloat = other.TargetFieldValueFloat; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + TargetField = input.ReadString(); + break; + } + case 21: { + TargetFieldValueFloat = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + TargetField = input.ReadString(); + break; + } + case 21: { + TargetFieldValueFloat = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + /// + /// More feature configs of the selected engine type. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EngineFeaturesConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EngineFeaturesConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EngineFeaturesConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EngineFeaturesConfig(EngineFeaturesConfig other) : this() { + switch (other.TypeDedicatedConfigCase) { + case TypeDedicatedConfigOneofCase.RecommendedForYouConfig: + RecommendedForYouConfig = other.RecommendedForYouConfig.Clone(); + break; + case TypeDedicatedConfigOneofCase.MostPopularConfig: + MostPopularConfig = other.MostPopularConfig.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EngineFeaturesConfig Clone() { + return new EngineFeaturesConfig(this); + } + + /// Field number for the "recommended_for_you_config" field. + public const int RecommendedForYouConfigFieldNumber = 1; + /// + /// Recommended for you engine feature config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig RecommendedForYouConfig { + get { return typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig) typeDedicatedConfig_ : null; } + set { + typeDedicatedConfig_ = value; + typeDedicatedConfigCase_ = value == null ? TypeDedicatedConfigOneofCase.None : TypeDedicatedConfigOneofCase.RecommendedForYouConfig; + } + } + + /// Field number for the "most_popular_config" field. + public const int MostPopularConfigFieldNumber = 2; + /// + /// Most popular engine feature config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig MostPopularConfig { + get { return typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig) typeDedicatedConfig_ : null; } + set { + typeDedicatedConfig_ = value; + typeDedicatedConfigCase_ = value == null ? TypeDedicatedConfigOneofCase.None : TypeDedicatedConfigOneofCase.MostPopularConfig; + } + } + + private object typeDedicatedConfig_; + /// Enum of possible cases for the "type_dedicated_config" oneof. + public enum TypeDedicatedConfigOneofCase { + None = 0, + RecommendedForYouConfig = 1, + MostPopularConfig = 2, + } + private TypeDedicatedConfigOneofCase typeDedicatedConfigCase_ = TypeDedicatedConfigOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeDedicatedConfigOneofCase TypeDedicatedConfigCase { + get { return typeDedicatedConfigCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTypeDedicatedConfig() { + typeDedicatedConfigCase_ = TypeDedicatedConfigOneofCase.None; + typeDedicatedConfig_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EngineFeaturesConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EngineFeaturesConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(RecommendedForYouConfig, other.RecommendedForYouConfig)) return false; + if (!object.Equals(MostPopularConfig, other.MostPopularConfig)) return false; + if (TypeDedicatedConfigCase != other.TypeDedicatedConfigCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig) hash ^= RecommendedForYouConfig.GetHashCode(); + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig) hash ^= MostPopularConfig.GetHashCode(); + hash ^= (int) typeDedicatedConfigCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig) { + output.WriteRawTag(10); + output.WriteMessage(RecommendedForYouConfig); + } + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig) { + output.WriteRawTag(18); + output.WriteMessage(MostPopularConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig) { + output.WriteRawTag(10); + output.WriteMessage(RecommendedForYouConfig); + } + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig) { + output.WriteRawTag(18); + output.WriteMessage(MostPopularConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecommendedForYouConfig); + } + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MostPopularConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EngineFeaturesConfig other) { + if (other == null) { + return; + } + switch (other.TypeDedicatedConfigCase) { + case TypeDedicatedConfigOneofCase.RecommendedForYouConfig: + if (RecommendedForYouConfig == null) { + RecommendedForYouConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig(); + } + RecommendedForYouConfig.MergeFrom(other.RecommendedForYouConfig); + break; + case TypeDedicatedConfigOneofCase.MostPopularConfig: + if (MostPopularConfig == null) { + MostPopularConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig(); + } + MostPopularConfig.MergeFrom(other.MostPopularConfig); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig(); + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig) { + subBuilder.MergeFrom(RecommendedForYouConfig); + } + input.ReadMessage(subBuilder); + RecommendedForYouConfig = subBuilder; + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig(); + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig) { + subBuilder.MergeFrom(MostPopularConfig); + } + input.ReadMessage(subBuilder); + MostPopularConfig = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.RecommendedForYouFeatureConfig(); + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.RecommendedForYouConfig) { + subBuilder.MergeFrom(RecommendedForYouConfig); + } + input.ReadMessage(subBuilder); + RecommendedForYouConfig = subBuilder; + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Types.MostPopularFeatureConfig(); + if (typeDedicatedConfigCase_ == TypeDedicatedConfigOneofCase.MostPopularConfig) { + subBuilder.MergeFrom(MostPopularConfig); + } + input.ReadMessage(subBuilder); + MostPopularConfig = subBuilder; + break; + } + } + } + } + #endif + + } + + /// + /// Additional feature configurations for creating a `recommended-for-you` + /// engine. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RecommendedForYouFeatureConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RecommendedForYouFeatureConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecommendedForYouFeatureConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecommendedForYouFeatureConfig(RecommendedForYouFeatureConfig other) : this() { + contextEventType_ = other.contextEventType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecommendedForYouFeatureConfig Clone() { + return new RecommendedForYouFeatureConfig(this); + } + + /// Field number for the "context_event_type" field. + public const int ContextEventTypeFieldNumber = 1; + private string contextEventType_ = ""; + /// + /// The type of event with which the engine is queried at prediction time. + /// If set to `generic`, only `view-item`, `media-play`,and + /// `media-complete` will be used as `context-event` in engine training. If + /// set to `view-home-page`, `view-home-page` will also be used as + /// `context-events` in addition to `view-item`, `media-play`, and + /// `media-complete`. Currently supported for the `recommended-for-you` + /// engine. Currently supported values: `view-home-page`, `generic`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ContextEventType { + get { return contextEventType_; } + set { + contextEventType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RecommendedForYouFeatureConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RecommendedForYouFeatureConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ContextEventType != other.ContextEventType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ContextEventType.Length != 0) hash ^= ContextEventType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ContextEventType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ContextEventType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ContextEventType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ContextEventType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ContextEventType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ContextEventType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RecommendedForYouFeatureConfig other) { + if (other == null) { + return; + } + if (other.ContextEventType.Length != 0) { + ContextEventType = other.ContextEventType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ContextEventType = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ContextEventType = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Feature configurations that are required for creating a Most Popular + /// engine. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MostPopularFeatureConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MostPopularFeatureConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.MediaRecommendationEngineConfig.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MostPopularFeatureConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MostPopularFeatureConfig(MostPopularFeatureConfig other) : this() { + timeWindowDays_ = other.timeWindowDays_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MostPopularFeatureConfig Clone() { + return new MostPopularFeatureConfig(this); + } + + /// Field number for the "time_window_days" field. + public const int TimeWindowDaysFieldNumber = 1; + private long timeWindowDays_; + /// + /// The time window of which the engine is queried at training and + /// prediction time. Positive integers only. The value translates to the + /// last X days of events. Currently required for the `most-popular-items` + /// engine. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TimeWindowDays { + get { return timeWindowDays_; } + set { + timeWindowDays_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MostPopularFeatureConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MostPopularFeatureConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TimeWindowDays != other.TimeWindowDays) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (TimeWindowDays != 0L) hash ^= TimeWindowDays.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (TimeWindowDays != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TimeWindowDays); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (TimeWindowDays != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TimeWindowDays); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (TimeWindowDays != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeWindowDays); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MostPopularFeatureConfig other) { + if (other == null) { + return; + } + if (other.TimeWindowDays != 0L) { + TimeWindowDays = other.TimeWindowDays; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + TimeWindowDays = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + TimeWindowDays = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Configurations for a Chat Engine. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChatEngineConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChatEngineConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChatEngineConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChatEngineConfig(ChatEngineConfig other) : this() { + agentCreationConfig_ = other.agentCreationConfig_ != null ? other.agentCreationConfig_.Clone() : null; + dialogflowAgentToLink_ = other.dialogflowAgentToLink_; + allowCrossRegion_ = other.allowCrossRegion_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChatEngineConfig Clone() { + return new ChatEngineConfig(this); + } + + /// Field number for the "agent_creation_config" field. + public const int AgentCreationConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig agentCreationConfig_; + /// + /// The configurationt generate the Dialogflow agent that is associated to + /// this Engine. + /// + /// Note that these configurations are one-time consumed by + /// and passed to Dialogflow service. It means they cannot be retrieved using + /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] + /// or + /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] + /// API after engine creation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig AgentCreationConfig { + get { return agentCreationConfig_; } + set { + agentCreationConfig_ = value; + } + } + + /// Field number for the "dialogflow_agent_to_link" field. + public const int DialogflowAgentToLinkFieldNumber = 2; + private string dialogflowAgentToLink_ = ""; + /// + /// The resource name of an exist Dialogflow agent to link to this Chat + /// Engine. Customers can either provide `agent_creation_config` to create + /// agent or provide an agent name that links the agent with the Chat engine. + /// + /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + /// ID>`. + /// + /// Note that the `dialogflow_agent_to_link` are one-time consumed by and + /// passed to Dialogflow service. It means they cannot be retrieved using + /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] + /// or + /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] + /// API after engine creation. Use + /// [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata.dialogflow_agent] + /// for actual agent association after Engine is created. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DialogflowAgentToLink { + get { return dialogflowAgentToLink_; } + set { + dialogflowAgentToLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "allow_cross_region" field. + public const int AllowCrossRegionFieldNumber = 3; + private bool allowCrossRegion_; + /// + /// Optional. If the flag set to true, we allow the agent and engine are in + /// different locations, otherwise the agent and engine are required to be in + /// the same location. The flag is set to false by default. + /// + /// Note that the `allow_cross_region` are one-time consumed by and + /// passed to + /// [EngineService.CreateEngine][google.cloud.discoveryengine.v1beta.EngineService.CreateEngine]. + /// It means they cannot be retrieved using + /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] + /// or + /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] + /// API after engine creation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AllowCrossRegion { + get { return allowCrossRegion_; } + set { + allowCrossRegion_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChatEngineConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChatEngineConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(AgentCreationConfig, other.AgentCreationConfig)) return false; + if (DialogflowAgentToLink != other.DialogflowAgentToLink) return false; + if (AllowCrossRegion != other.AllowCrossRegion) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (agentCreationConfig_ != null) hash ^= AgentCreationConfig.GetHashCode(); + if (DialogflowAgentToLink.Length != 0) hash ^= DialogflowAgentToLink.GetHashCode(); + if (AllowCrossRegion != false) hash ^= AllowCrossRegion.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (agentCreationConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentCreationConfig); + } + if (DialogflowAgentToLink.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DialogflowAgentToLink); + } + if (AllowCrossRegion != false) { + output.WriteRawTag(24); + output.WriteBool(AllowCrossRegion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (agentCreationConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(AgentCreationConfig); + } + if (DialogflowAgentToLink.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DialogflowAgentToLink); + } + if (AllowCrossRegion != false) { + output.WriteRawTag(24); + output.WriteBool(AllowCrossRegion); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (agentCreationConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentCreationConfig); + } + if (DialogflowAgentToLink.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DialogflowAgentToLink); + } + if (AllowCrossRegion != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChatEngineConfig other) { + if (other == null) { + return; + } + if (other.agentCreationConfig_ != null) { + if (agentCreationConfig_ == null) { + AgentCreationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig(); + } + AgentCreationConfig.MergeFrom(other.AgentCreationConfig); + } + if (other.DialogflowAgentToLink.Length != 0) { + DialogflowAgentToLink = other.DialogflowAgentToLink; + } + if (other.AllowCrossRegion != false) { + AllowCrossRegion = other.AllowCrossRegion; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (agentCreationConfig_ == null) { + AgentCreationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig(); + } + input.ReadMessage(AgentCreationConfig); + break; + } + case 18: { + DialogflowAgentToLink = input.ReadString(); + break; + } + case 24: { + AllowCrossRegion = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (agentCreationConfig_ == null) { + AgentCreationConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Types.AgentCreationConfig(); + } + input.ReadMessage(AgentCreationConfig); + break; + } + case 18: { + DialogflowAgentToLink = input.ReadString(); + break; + } + case 24: { + AllowCrossRegion = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ChatEngineConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Configurations for generating a Dialogflow agent. + /// + /// Note that these configurations are one-time consumed by + /// and passed to Dialogflow service. It means they cannot be retrieved using + /// [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] + /// or + /// [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] + /// API after engine creation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentCreationConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentCreationConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.ChatEngineConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentCreationConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentCreationConfig(AgentCreationConfig other) : this() { + business_ = other.business_; + defaultLanguageCode_ = other.defaultLanguageCode_; + timeZone_ = other.timeZone_; + location_ = other.location_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentCreationConfig Clone() { + return new AgentCreationConfig(this); + } + + /// Field number for the "business" field. + public const int BusinessFieldNumber = 1; + private string business_ = ""; + /// + /// Name of the company, organization or other entity that the agent + /// represents. Used for knowledge connector LLM prompt and for knowledge + /// search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Business { + get { return business_; } + set { + business_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "default_language_code" field. + public const int DefaultLanguageCodeFieldNumber = 2; + private string defaultLanguageCode_ = ""; + /// + /// Required. The default language of the agent as a language tag. + /// See [Language + /// Support](https://cloud.google.com/dialogflow/docs/reference/language) + /// for a list of the currently supported language codes. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DefaultLanguageCode { + get { return defaultLanguageCode_; } + set { + defaultLanguageCode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "time_zone" field. + public const int TimeZoneFieldNumber = 3; + private string timeZone_ = ""; + /// + /// Required. The time zone of the agent from the [time zone + /// database](https://www.iana.org/time-zones), e.g., America/New_York, + /// Europe/Paris. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TimeZone { + get { return timeZone_; } + set { + timeZone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 4; + private string location_ = ""; + /// + /// Agent location for Agent creation, supported values: global/us/eu. + /// If not provided, us Engine will create Agent using us-central-1 by + /// default; eu Engine will create Agent using eu-west-1 by default. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentCreationConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentCreationConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Business != other.Business) return false; + if (DefaultLanguageCode != other.DefaultLanguageCode) return false; + if (TimeZone != other.TimeZone) return false; + if (Location != other.Location) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Business.Length != 0) hash ^= Business.GetHashCode(); + if (DefaultLanguageCode.Length != 0) hash ^= DefaultLanguageCode.GetHashCode(); + if (TimeZone.Length != 0) hash ^= TimeZone.GetHashCode(); + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Business.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Business); + } + if (DefaultLanguageCode.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DefaultLanguageCode); + } + if (TimeZone.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TimeZone); + } + if (Location.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Location); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Business.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Business); + } + if (DefaultLanguageCode.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DefaultLanguageCode); + } + if (TimeZone.Length != 0) { + output.WriteRawTag(26); output.WriteString(TimeZone); } - if (Location.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Location); + if (Location.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Location); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Business.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Business); + } + if (DefaultLanguageCode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultLanguageCode); + } + if (TimeZone.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TimeZone); + } + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentCreationConfig other) { + if (other == null) { + return; + } + if (other.Business.Length != 0) { + Business = other.Business; + } + if (other.DefaultLanguageCode.Length != 0) { + DefaultLanguageCode = other.DefaultLanguageCode; + } + if (other.TimeZone.Length != 0) { + TimeZone = other.TimeZone; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Business = input.ReadString(); + break; + } + case 18: { + DefaultLanguageCode = input.ReadString(); + break; + } + case 26: { + TimeZone = input.ReadString(); + break; + } + case 34: { + Location = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Business = input.ReadString(); + break; + } + case 18: { + DefaultLanguageCode = input.ReadString(); + break; + } + case 26: { + TimeZone = input.ReadString(); + break; + } + case 34: { + Location = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Common configurations for an Engine. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CommonConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CommonConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CommonConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CommonConfig(CommonConfig other) : this() { + companyName_ = other.companyName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CommonConfig Clone() { + return new CommonConfig(this); + } + + /// Field number for the "company_name" field. + public const int CompanyNameFieldNumber = 1; + private string companyName_ = ""; + /// + /// The name of the company, business or entity that is associated with the + /// engine. Setting this may help improve LLM related features. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompanyName { + get { return companyName_; } + set { + companyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CommonConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CommonConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CompanyName != other.CompanyName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (CompanyName.Length != 0) hash ^= CompanyName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CompanyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CompanyName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CompanyName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(CompanyName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (CompanyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompanyName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CommonConfig other) { + if (other == null) { + return; + } + if (other.CompanyName.Length != 0) { + CompanyName = other.CompanyName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + CompanyName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + CompanyName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Configuration message for the Knowledge Graph. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KnowledgeGraphConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KnowledgeGraphConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Descriptor.NestedTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KnowledgeGraphConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KnowledgeGraphConfig(KnowledgeGraphConfig other) : this() { + enableCloudKnowledgeGraph_ = other.enableCloudKnowledgeGraph_; + cloudKnowledgeGraphTypes_ = other.cloudKnowledgeGraphTypes_.Clone(); + enablePrivateKnowledgeGraph_ = other.enablePrivateKnowledgeGraph_; + privateKnowledgeGraphTypes_ = other.privateKnowledgeGraphTypes_.Clone(); + featureConfig_ = other.featureConfig_ != null ? other.featureConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KnowledgeGraphConfig Clone() { + return new KnowledgeGraphConfig(this); + } + + /// Field number for the "enable_cloud_knowledge_graph" field. + public const int EnableCloudKnowledgeGraphFieldNumber = 1; + private bool enableCloudKnowledgeGraph_; + /// + /// Whether to enable the Cloud Knowledge Graph for the engine. + /// + /// Defaults to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableCloudKnowledgeGraph { + get { return enableCloudKnowledgeGraph_; } + set { + enableCloudKnowledgeGraph_ = value; + } + } + + /// Field number for the "cloud_knowledge_graph_types" field. + public const int CloudKnowledgeGraphTypesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_cloudKnowledgeGraphTypes_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField cloudKnowledgeGraphTypes_ = new pbc::RepeatedField(); + /// + /// Specify entity types to support. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CloudKnowledgeGraphTypes { + get { return cloudKnowledgeGraphTypes_; } + } + + /// Field number for the "enable_private_knowledge_graph" field. + public const int EnablePrivateKnowledgeGraphFieldNumber = 3; + private bool enablePrivateKnowledgeGraph_; + /// + /// Whether to enable the Private Knowledge Graph for the engine. + /// + /// Defaults to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnablePrivateKnowledgeGraph { + get { return enablePrivateKnowledgeGraph_; } + set { + enablePrivateKnowledgeGraph_ = value; + } + } + + /// Field number for the "private_knowledge_graph_types" field. + public const int PrivateKnowledgeGraphTypesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_privateKnowledgeGraphTypes_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField privateKnowledgeGraphTypes_ = new pbc::RepeatedField(); + /// + /// Specify entity types to support. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PrivateKnowledgeGraphTypes { + get { return privateKnowledgeGraphTypes_; } + } + + /// Field number for the "feature_config" field. + public const int FeatureConfigFieldNumber = 5; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig featureConfig_; + /// + /// Optional. Feature config for the Knowledge Graph. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig FeatureConfig { + get { return featureConfig_; } + set { + featureConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as KnowledgeGraphConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KnowledgeGraphConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EnableCloudKnowledgeGraph != other.EnableCloudKnowledgeGraph) return false; + if(!cloudKnowledgeGraphTypes_.Equals(other.cloudKnowledgeGraphTypes_)) return false; + if (EnablePrivateKnowledgeGraph != other.EnablePrivateKnowledgeGraph) return false; + if(!privateKnowledgeGraphTypes_.Equals(other.privateKnowledgeGraphTypes_)) return false; + if (!object.Equals(FeatureConfig, other.FeatureConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EnableCloudKnowledgeGraph != false) hash ^= EnableCloudKnowledgeGraph.GetHashCode(); + hash ^= cloudKnowledgeGraphTypes_.GetHashCode(); + if (EnablePrivateKnowledgeGraph != false) hash ^= EnablePrivateKnowledgeGraph.GetHashCode(); + hash ^= privateKnowledgeGraphTypes_.GetHashCode(); + if (featureConfig_ != null) hash ^= FeatureConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EnableCloudKnowledgeGraph != false) { + output.WriteRawTag(8); + output.WriteBool(EnableCloudKnowledgeGraph); + } + cloudKnowledgeGraphTypes_.WriteTo(output, _repeated_cloudKnowledgeGraphTypes_codec); + if (EnablePrivateKnowledgeGraph != false) { + output.WriteRawTag(24); + output.WriteBool(EnablePrivateKnowledgeGraph); + } + privateKnowledgeGraphTypes_.WriteTo(output, _repeated_privateKnowledgeGraphTypes_codec); + if (featureConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(FeatureConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EnableCloudKnowledgeGraph != false) { + output.WriteRawTag(8); + output.WriteBool(EnableCloudKnowledgeGraph); + } + cloudKnowledgeGraphTypes_.WriteTo(ref output, _repeated_cloudKnowledgeGraphTypes_codec); + if (EnablePrivateKnowledgeGraph != false) { + output.WriteRawTag(24); + output.WriteBool(EnablePrivateKnowledgeGraph); + } + privateKnowledgeGraphTypes_.WriteTo(ref output, _repeated_privateKnowledgeGraphTypes_codec); + if (featureConfig_ != null) { + output.WriteRawTag(42); + output.WriteMessage(FeatureConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EnableCloudKnowledgeGraph != false) { + size += 1 + 1; + } + size += cloudKnowledgeGraphTypes_.CalculateSize(_repeated_cloudKnowledgeGraphTypes_codec); + if (EnablePrivateKnowledgeGraph != false) { + size += 1 + 1; + } + size += privateKnowledgeGraphTypes_.CalculateSize(_repeated_privateKnowledgeGraphTypes_codec); + if (featureConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FeatureConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(KnowledgeGraphConfig other) { + if (other == null) { + return; + } + if (other.EnableCloudKnowledgeGraph != false) { + EnableCloudKnowledgeGraph = other.EnableCloudKnowledgeGraph; + } + cloudKnowledgeGraphTypes_.Add(other.cloudKnowledgeGraphTypes_); + if (other.EnablePrivateKnowledgeGraph != false) { + EnablePrivateKnowledgeGraph = other.EnablePrivateKnowledgeGraph; + } + privateKnowledgeGraphTypes_.Add(other.privateKnowledgeGraphTypes_); + if (other.featureConfig_ != null) { + if (featureConfig_ == null) { + FeatureConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig(); + } + FeatureConfig.MergeFrom(other.FeatureConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + EnableCloudKnowledgeGraph = input.ReadBool(); + break; + } + case 18: { + cloudKnowledgeGraphTypes_.AddEntriesFrom(input, _repeated_cloudKnowledgeGraphTypes_codec); + break; + } + case 24: { + EnablePrivateKnowledgeGraph = input.ReadBool(); + break; + } + case 34: { + privateKnowledgeGraphTypes_.AddEntriesFrom(input, _repeated_privateKnowledgeGraphTypes_codec); + break; + } + case 42: { + if (featureConfig_ == null) { + FeatureConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig(); + } + input.ReadMessage(FeatureConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + EnableCloudKnowledgeGraph = input.ReadBool(); + break; + } + case 18: { + cloudKnowledgeGraphTypes_.AddEntriesFrom(ref input, _repeated_cloudKnowledgeGraphTypes_codec); + break; + } + case 24: { + EnablePrivateKnowledgeGraph = input.ReadBool(); + break; + } + case 34: { + privateKnowledgeGraphTypes_.AddEntriesFrom(ref input, _repeated_privateKnowledgeGraphTypes_codec); + break; + } + case 42: { + if (featureConfig_ == null) { + FeatureConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Types.FeatureConfig(); + } + input.ReadMessage(FeatureConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the KnowledgeGraphConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Feature config for the Knowledge Graph. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FeatureConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FeatureConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Types.KnowledgeGraphConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FeatureConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FeatureConfig(FeatureConfig other) : this() { + disablePrivateKgQueryUnderstanding_ = other.disablePrivateKgQueryUnderstanding_; + disablePrivateKgEnrichment_ = other.disablePrivateKgEnrichment_; + disablePrivateKgAutoComplete_ = other.disablePrivateKgAutoComplete_; + disablePrivateKgQueryUiChips_ = other.disablePrivateKgQueryUiChips_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FeatureConfig Clone() { + return new FeatureConfig(this); + } + + /// Field number for the "disable_private_kg_query_understanding" field. + public const int DisablePrivateKgQueryUnderstandingFieldNumber = 1; + private bool disablePrivateKgQueryUnderstanding_; + /// + /// Whether to disable the private KG query understanding for the engine. + /// + /// Defaults to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisablePrivateKgQueryUnderstanding { + get { return disablePrivateKgQueryUnderstanding_; } + set { + disablePrivateKgQueryUnderstanding_ = value; + } + } + + /// Field number for the "disable_private_kg_enrichment" field. + public const int DisablePrivateKgEnrichmentFieldNumber = 2; + private bool disablePrivateKgEnrichment_; + /// + /// Whether to disable the private KG enrichment for the engine. + /// + /// Defaults to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisablePrivateKgEnrichment { + get { return disablePrivateKgEnrichment_; } + set { + disablePrivateKgEnrichment_ = value; + } + } + + /// Field number for the "disable_private_kg_auto_complete" field. + public const int DisablePrivateKgAutoCompleteFieldNumber = 3; + private bool disablePrivateKgAutoComplete_; + /// + /// Whether to disable the private KG auto complete for the engine. + /// + /// Defaults to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisablePrivateKgAutoComplete { + get { return disablePrivateKgAutoComplete_; } + set { + disablePrivateKgAutoComplete_ = value; + } + } + + /// Field number for the "disable_private_kg_query_ui_chips" field. + public const int DisablePrivateKgQueryUiChipsFieldNumber = 4; + private bool disablePrivateKgQueryUiChips_; + /// + /// Whether to disable the private KG for query UI chips. + /// + /// Defaults to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisablePrivateKgQueryUiChips { + get { return disablePrivateKgQueryUiChips_; } + set { + disablePrivateKgQueryUiChips_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FeatureConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FeatureConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DisablePrivateKgQueryUnderstanding != other.DisablePrivateKgQueryUnderstanding) return false; + if (DisablePrivateKgEnrichment != other.DisablePrivateKgEnrichment) return false; + if (DisablePrivateKgAutoComplete != other.DisablePrivateKgAutoComplete) return false; + if (DisablePrivateKgQueryUiChips != other.DisablePrivateKgQueryUiChips) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DisablePrivateKgQueryUnderstanding != false) hash ^= DisablePrivateKgQueryUnderstanding.GetHashCode(); + if (DisablePrivateKgEnrichment != false) hash ^= DisablePrivateKgEnrichment.GetHashCode(); + if (DisablePrivateKgAutoComplete != false) hash ^= DisablePrivateKgAutoComplete.GetHashCode(); + if (DisablePrivateKgQueryUiChips != false) hash ^= DisablePrivateKgQueryUiChips.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DisablePrivateKgQueryUnderstanding != false) { + output.WriteRawTag(8); + output.WriteBool(DisablePrivateKgQueryUnderstanding); + } + if (DisablePrivateKgEnrichment != false) { + output.WriteRawTag(16); + output.WriteBool(DisablePrivateKgEnrichment); + } + if (DisablePrivateKgAutoComplete != false) { + output.WriteRawTag(24); + output.WriteBool(DisablePrivateKgAutoComplete); + } + if (DisablePrivateKgQueryUiChips != false) { + output.WriteRawTag(32); + output.WriteBool(DisablePrivateKgQueryUiChips); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DisablePrivateKgQueryUnderstanding != false) { + output.WriteRawTag(8); + output.WriteBool(DisablePrivateKgQueryUnderstanding); + } + if (DisablePrivateKgEnrichment != false) { + output.WriteRawTag(16); + output.WriteBool(DisablePrivateKgEnrichment); + } + if (DisablePrivateKgAutoComplete != false) { + output.WriteRawTag(24); + output.WriteBool(DisablePrivateKgAutoComplete); + } + if (DisablePrivateKgQueryUiChips != false) { + output.WriteRawTag(32); + output.WriteBool(DisablePrivateKgQueryUiChips); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -1637,17 +4769,17 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Business.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Business); + if (DisablePrivateKgQueryUnderstanding != false) { + size += 1 + 1; } - if (DefaultLanguageCode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultLanguageCode); + if (DisablePrivateKgEnrichment != false) { + size += 1 + 1; } - if (TimeZone.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TimeZone); + if (DisablePrivateKgAutoComplete != false) { + size += 1 + 1; } - if (Location.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + if (DisablePrivateKgQueryUiChips != false) { + size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -1657,21 +4789,21 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AgentCreationConfig other) { + public void MergeFrom(FeatureConfig other) { if (other == null) { return; } - if (other.Business.Length != 0) { - Business = other.Business; + if (other.DisablePrivateKgQueryUnderstanding != false) { + DisablePrivateKgQueryUnderstanding = other.DisablePrivateKgQueryUnderstanding; } - if (other.DefaultLanguageCode.Length != 0) { - DefaultLanguageCode = other.DefaultLanguageCode; + if (other.DisablePrivateKgEnrichment != false) { + DisablePrivateKgEnrichment = other.DisablePrivateKgEnrichment; } - if (other.TimeZone.Length != 0) { - TimeZone = other.TimeZone; + if (other.DisablePrivateKgAutoComplete != false) { + DisablePrivateKgAutoComplete = other.DisablePrivateKgAutoComplete; } - if (other.Location.Length != 0) { - Location = other.Location; + if (other.DisablePrivateKgQueryUiChips != false) { + DisablePrivateKgQueryUiChips = other.DisablePrivateKgQueryUiChips; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1692,20 +4824,20 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - Business = input.ReadString(); + case 8: { + DisablePrivateKgQueryUnderstanding = input.ReadBool(); break; } - case 18: { - DefaultLanguageCode = input.ReadString(); + case 16: { + DisablePrivateKgEnrichment = input.ReadBool(); break; } - case 26: { - TimeZone = input.ReadString(); + case 24: { + DisablePrivateKgAutoComplete = input.ReadBool(); break; } - case 34: { - Location = input.ReadString(); + case 32: { + DisablePrivateKgQueryUiChips = input.ReadBool(); break; } } @@ -1727,20 +4859,20 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - Business = input.ReadString(); + case 8: { + DisablePrivateKgQueryUnderstanding = input.ReadBool(); break; } - case 18: { - DefaultLanguageCode = input.ReadString(); + case 16: { + DisablePrivateKgEnrichment = input.ReadBool(); break; } - case 26: { - TimeZone = input.ReadString(); + case 24: { + DisablePrivateKgAutoComplete = input.ReadBool(); break; } - case 34: { - Location = input.ReadString(); + case 32: { + DisablePrivateKgQueryUiChips = input.ReadBool(); break; } } @@ -1755,211 +4887,6 @@ public void MergeFrom(pb::CodedInputStream input) { } - /// - /// Common configurations for an Engine. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CommonConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CommonConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Engine.Descriptor.NestedTypes[2]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CommonConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CommonConfig(CommonConfig other) : this() { - companyName_ = other.companyName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CommonConfig Clone() { - return new CommonConfig(this); - } - - /// Field number for the "company_name" field. - public const int CompanyNameFieldNumber = 1; - private string companyName_ = ""; - /// - /// The name of the company, business or entity that is associated with the - /// engine. Setting this may help improve LLM related features. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompanyName { - get { return companyName_; } - set { - companyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CommonConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CommonConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CompanyName != other.CompanyName) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (CompanyName.Length != 0) hash ^= CompanyName.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (CompanyName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(CompanyName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (CompanyName.Length != 0) { - output.WriteRawTag(10); - output.WriteString(CompanyName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (CompanyName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompanyName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CommonConfig other) { - if (other == null) { - return; - } - if (other.CompanyName.Length != 0) { - CompanyName = other.CompanyName; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - CompanyName = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - CompanyName = input.ReadString(); - break; - } - } - } - } - #endif - - } - /// /// Additional information of a Chat Engine. /// Fields in this message are output only. @@ -1979,7 +4906,7 @@ public sealed partial class ChatEngineMetadata : pb::IMessage + /// for synchronous and asynchronous calls to + /// EngineServiceClient.GetIamPolicy and EngineServiceClient.GetIamPolicyAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings GetIamPolicySettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// EngineServiceClient.SetIamPolicy and EngineServiceClient.SetIamPolicyAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings SetIamPolicySettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + /// /// The settings to use for the associated with the client. /// @@ -295,11 +322,15 @@ public abstract partial class EngineServiceClient /// The default EngineService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. @@ -366,7 +397,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -375,7 +406,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En throw new sys::NotImplementedException(); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -384,7 +415,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En throw new sys::NotImplementedException(); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -419,7 +450,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), CreateEngineOperationsClient, callSettings); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. The parent resource name, such as @@ -450,7 +481,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. The parent resource name, such as @@ -481,7 +512,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. The parent resource name, such as @@ -507,7 +538,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En CreateEngineAsync(parent, engine, engineId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. The parent resource name, such as @@ -538,7 +569,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. The parent resource name, such as @@ -569,7 +600,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. The parent resource name, such as @@ -595,7 +626,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En CreateEngineAsync(parent, engine, engineId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -604,7 +635,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En throw new sys::NotImplementedException(); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -613,7 +644,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En throw new sys::NotImplementedException(); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -648,7 +679,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteEngineOperationsClient, callSettings); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -671,7 +702,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -694,7 +725,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -714,7 +745,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En DeleteEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -737,7 +768,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -760,7 +791,7 @@ internal static EngineServiceClient Create(grpccore::CallInvoker callInvoker, En }, callSettings); /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -893,7 +924,7 @@ public virtual Engine UpdateEngine(Engine engine, wkt::FieldMask updateMask, gax UpdateEngineAsync(engine, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -902,7 +933,7 @@ public virtual Engine GetEngine(GetEngineRequest request, gaxgrpc::CallSettings throw new sys::NotImplementedException(); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -911,7 +942,7 @@ public virtual Engine GetEngine(GetEngineRequest request, gaxgrpc::CallSettings throw new sys::NotImplementedException(); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// A to use for this RPC. @@ -920,7 +951,7 @@ public virtual Engine GetEngine(GetEngineRequest request, gaxgrpc::CallSettings GetEngineAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -936,7 +967,7 @@ public virtual Engine GetEngine(string name, gaxgrpc::CallSettings callSettings }, callSettings); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -952,7 +983,7 @@ public virtual Engine GetEngine(string name, gaxgrpc::CallSettings callSettings }, callSettings); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -965,7 +996,7 @@ public virtual Engine GetEngine(string name, gaxgrpc::CallSettings callSettings GetEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -981,7 +1012,7 @@ public virtual Engine GetEngine(EngineName name, gaxgrpc::CallSettings callSetti }, callSettings); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -997,7 +1028,7 @@ public virtual Engine GetEngine(EngineName name, gaxgrpc::CallSettings callSetti }, callSettings); /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// /// Required. Full resource name of @@ -1170,7 +1201,8 @@ public virtual Engine GetEngine(EngineName name, gaxgrpc::CallSettings callSetti } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1181,7 +1213,8 @@ public virtual Engine PauseEngine(PauseEngineRequest request, gaxgrpc::CallSetti throw new sys::NotImplementedException(); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1192,7 +1225,8 @@ public virtual Engine PauseEngine(PauseEngineRequest request, gaxgrpc::CallSetti throw new sys::NotImplementedException(); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1203,7 +1237,8 @@ public virtual Engine PauseEngine(PauseEngineRequest request, gaxgrpc::CallSetti PauseEngineAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1221,7 +1256,8 @@ public virtual Engine PauseEngine(string name, gaxgrpc::CallSettings callSetting }, callSettings); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1239,7 +1275,8 @@ public virtual Engine PauseEngine(string name, gaxgrpc::CallSettings callSetting }, callSettings); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1254,7 +1291,8 @@ public virtual Engine PauseEngine(string name, gaxgrpc::CallSettings callSetting PauseEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1272,7 +1310,8 @@ public virtual Engine PauseEngine(EngineName name, gaxgrpc::CallSettings callSet }, callSettings); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1290,7 +1329,8 @@ public virtual Engine PauseEngine(EngineName name, gaxgrpc::CallSettings callSet }, callSettings); /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1305,7 +1345,8 @@ public virtual Engine PauseEngine(EngineName name, gaxgrpc::CallSettings callSet PauseEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1316,7 +1357,8 @@ public virtual Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSet throw new sys::NotImplementedException(); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1327,7 +1369,8 @@ public virtual Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSet throw new sys::NotImplementedException(); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1338,7 +1381,8 @@ public virtual Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSet ResumeEngineAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1356,7 +1400,8 @@ public virtual Engine ResumeEngine(string name, gaxgrpc::CallSettings callSettin }, callSettings); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1374,7 +1419,8 @@ public virtual Engine ResumeEngine(string name, gaxgrpc::CallSettings callSettin }, callSettings); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1389,7 +1435,8 @@ public virtual Engine ResumeEngine(string name, gaxgrpc::CallSettings callSettin ResumeEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1407,7 +1454,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe }, callSettings); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1425,7 +1473,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe }, callSettings); /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1440,7 +1489,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe ResumeEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1451,7 +1501,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe throw new sys::NotImplementedException(); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1462,7 +1513,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe throw new sys::NotImplementedException(); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1499,7 +1551,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), TuneEngineOperationsClient, callSettings); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1517,7 +1570,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe }, callSettings); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1535,7 +1589,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe }, callSettings); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1550,7 +1605,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe TuneEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1568,7 +1624,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe }, callSettings); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1586,7 +1643,8 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe }, callSettings); /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1599,6 +1657,403 @@ public virtual Engine ResumeEngine(EngineName name, gaxgrpc::CallSettings callSe /// A Task containing the RPC response. public virtual stt::Task> TuneEngineAsync(EngineName name, st::CancellationToken cancellationToken) => TuneEngineAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual gciv::Policy GetIamPolicy(gciv::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIamPolicyAsync(gciv::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIamPolicyAsync(gciv::GetIamPolicyRequest request, st::CancellationToken cancellationToken) => + GetIamPolicyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. + /// See the operation documentation for the appropriate value for this field. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual gciv::Policy GetIamPolicy(string resource, gaxgrpc::CallSettings callSettings = null) => + GetIamPolicy(new gciv::GetIamPolicyRequest + { + Resource = gax::GaxPreconditions.CheckNotNullOrEmpty(resource, nameof(resource)), + }, callSettings); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. + /// See the operation documentation for the appropriate value for this field. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIamPolicyAsync(string resource, gaxgrpc::CallSettings callSettings = null) => + GetIamPolicyAsync(new gciv::GetIamPolicyRequest + { + Resource = gax::GaxPreconditions.CheckNotNullOrEmpty(resource, nameof(resource)), + }, callSettings); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. + /// See the operation documentation for the appropriate value for this field. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIamPolicyAsync(string resource, st::CancellationToken cancellationToken) => + GetIamPolicyAsync(resource, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. + /// See the operation documentation for the appropriate value for this field. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual gciv::Policy GetIamPolicy(gax::IResourceName resource, gaxgrpc::CallSettings callSettings = null) => + GetIamPolicy(new gciv::GetIamPolicyRequest + { + ResourceAsResourceName = gax::GaxPreconditions.CheckNotNull(resource, nameof(resource)), + }, callSettings); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. + /// See the operation documentation for the appropriate value for this field. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIamPolicyAsync(gax::IResourceName resource, gaxgrpc::CallSettings callSettings = null) => + GetIamPolicyAsync(new gciv::GetIamPolicyRequest + { + ResourceAsResourceName = gax::GaxPreconditions.CheckNotNull(resource, nameof(resource)), + }, callSettings); + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. + /// See the operation documentation for the appropriate value for this field. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIamPolicyAsync(gax::IResourceName resource, st::CancellationToken cancellationToken) => + GetIamPolicyAsync(resource, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual gciv::Policy SetIamPolicy(gciv::SetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task SetIamPolicyAsync(gciv::SetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task SetIamPolicyAsync(gciv::SetIamPolicyRequest request, st::CancellationToken cancellationToken) => + SetIamPolicyAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// + /// REQUIRED: The resource for which the policy is being specified. + /// See the operation documentation for the appropriate value for this field. + /// + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual gciv::Policy SetIamPolicy(string resource, gciv::Policy policy, gaxgrpc::CallSettings callSettings = null) => + SetIamPolicy(new gciv::SetIamPolicyRequest + { + Resource = gax::GaxPreconditions.CheckNotNullOrEmpty(resource, nameof(resource)), + Policy = gax::GaxPreconditions.CheckNotNull(policy, nameof(policy)), + }, callSettings); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// + /// REQUIRED: The resource for which the policy is being specified. + /// See the operation documentation for the appropriate value for this field. + /// + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task SetIamPolicyAsync(string resource, gciv::Policy policy, gaxgrpc::CallSettings callSettings = null) => + SetIamPolicyAsync(new gciv::SetIamPolicyRequest + { + Resource = gax::GaxPreconditions.CheckNotNullOrEmpty(resource, nameof(resource)), + Policy = gax::GaxPreconditions.CheckNotNull(policy, nameof(policy)), + }, callSettings); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// + /// REQUIRED: The resource for which the policy is being specified. + /// See the operation documentation for the appropriate value for this field. + /// + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task SetIamPolicyAsync(string resource, gciv::Policy policy, st::CancellationToken cancellationToken) => + SetIamPolicyAsync(resource, policy, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// + /// REQUIRED: The resource for which the policy is being specified. + /// See the operation documentation for the appropriate value for this field. + /// + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual gciv::Policy SetIamPolicy(gax::IResourceName resource, gciv::Policy policy, gaxgrpc::CallSettings callSettings = null) => + SetIamPolicy(new gciv::SetIamPolicyRequest + { + ResourceAsResourceName = gax::GaxPreconditions.CheckNotNull(resource, nameof(resource)), + Policy = gax::GaxPreconditions.CheckNotNull(policy, nameof(policy)), + }, callSettings); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// + /// REQUIRED: The resource for which the policy is being specified. + /// See the operation documentation for the appropriate value for this field. + /// + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task SetIamPolicyAsync(gax::IResourceName resource, gciv::Policy policy, gaxgrpc::CallSettings callSettings = null) => + SetIamPolicyAsync(new gciv::SetIamPolicyRequest + { + ResourceAsResourceName = gax::GaxPreconditions.CheckNotNull(resource, nameof(resource)), + Policy = gax::GaxPreconditions.CheckNotNull(policy, nameof(policy)), + }, callSettings); + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// + /// REQUIRED: The resource for which the policy is being specified. + /// See the operation documentation for the appropriate value for this field. + /// + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. An empty policy is a + /// valid policy but certain Cloud Platform services (such as Projects) + /// might reject them. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task SetIamPolicyAsync(gax::IResourceName resource, gciv::Policy policy, st::CancellationToken cancellationToken) => + SetIamPolicyAsync(resource, policy, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); } /// EngineService client wrapper implementation, for convenient use. @@ -1624,6 +2079,10 @@ public sealed partial class EngineServiceClientImpl : EngineServiceClient private readonly gaxgrpc::ApiCall _callTuneEngine; + private readonly gaxgrpc::ApiCall _callGetIamPolicy; + + private readonly gaxgrpc::ApiCall _callSetIamPolicy; + /// /// Constructs a client wrapper for the EngineService service, with the specified gRPC client and settings. /// @@ -1667,6 +2126,12 @@ public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, Eng _callTuneEngine = clientHelper.BuildApiCall("TuneEngine", grpcClient.TuneEngineAsync, grpcClient.TuneEngine, effectiveSettings.TuneEngineSettings).WithGoogleRequestParam("name", request => request.Name); Modify_ApiCall(ref _callTuneEngine); Modify_TuneEngineApiCall(ref _callTuneEngine); + _callGetIamPolicy = clientHelper.BuildApiCall("GetIamPolicy", grpcClient.GetIamPolicyAsync, grpcClient.GetIamPolicy, effectiveSettings.GetIamPolicySettings).WithGoogleRequestParam("resource", request => request.Resource); + Modify_ApiCall(ref _callGetIamPolicy); + Modify_GetIamPolicyApiCall(ref _callGetIamPolicy); + _callSetIamPolicy = clientHelper.BuildApiCall("SetIamPolicy", grpcClient.SetIamPolicyAsync, grpcClient.SetIamPolicy, effectiveSettings.SetIamPolicySettings).WithGoogleRequestParam("resource", request => request.Resource); + Modify_ApiCall(ref _callSetIamPolicy); + Modify_SetIamPolicyApiCall(ref _callSetIamPolicy); OnConstruction(grpcClient, effectiveSettings, clientHelper); } @@ -1688,6 +2153,10 @@ public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, Eng partial void Modify_TuneEngineApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_GetIamPolicyApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_SetIamPolicyApiCall(ref gaxgrpc::ApiCall call); + partial void OnConstruction(EngineService.EngineServiceClient grpcClient, EngineServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); /// The underlying gRPC EngineService client @@ -1712,11 +2181,15 @@ public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, Eng partial void Modify_TuneEngineRequest(ref TuneEngineRequest request, ref gaxgrpc::CallSettings settings); + partial void Modify_GetIamPolicyRequest(ref gciv::GetIamPolicyRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_SetIamPolicyRequest(ref gciv::SetIamPolicyRequest request, ref gaxgrpc::CallSettings settings); + /// The long-running operations client for CreateEngine. public override lro::OperationsClient CreateEngineOperationsClient { get; } /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1728,7 +2201,7 @@ public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, Eng } /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1743,7 +2216,7 @@ public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, Eng public override lro::OperationsClient DeleteEngineOperationsClient { get; } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1755,7 +2228,7 @@ public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, Eng } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1791,7 +2264,7 @@ public override Engine UpdateEngine(UpdateEngineRequest request, gaxgrpc::CallSe } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1803,7 +2276,7 @@ public override Engine GetEngine(GetEngineRequest request, gaxgrpc::CallSettings } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request object containing all of the parameters for the API call. /// If not null, applies overrides to this RPC call. @@ -1841,7 +2314,8 @@ public override Engine GetEngine(GetEngineRequest request, gaxgrpc::CallSettings } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1855,7 +2329,8 @@ public override Engine PauseEngine(PauseEngineRequest request, gaxgrpc::CallSett } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1869,7 +2344,8 @@ public override Engine PauseEngine(PauseEngineRequest request, gaxgrpc::CallSett } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1883,7 +2359,8 @@ public override Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSe } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1900,7 +2377,8 @@ public override Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSe public override lro::OperationsClient TuneEngineOperationsClient { get; } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1914,7 +2392,8 @@ public override Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSe } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -1926,6 +2405,84 @@ public override Engine ResumeEngine(ResumeEngineRequest request, gaxgrpc::CallSe Modify_TuneEngineRequest(ref request, ref callSettings); return new lro::Operation(await _callTuneEngine.Async(request, callSettings).ConfigureAwait(false), TuneEngineOperationsClient); } + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override gciv::Policy GetIamPolicy(gciv::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIamPolicyRequest(ref request, ref callSettings); + return _callGetIamPolicy.Sync(request, callSettings); + } + + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetIamPolicyAsync(gciv::GetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIamPolicyRequest(ref request, ref callSettings); + return _callGetIamPolicy.Async(request, callSettings); + } + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override gciv::Policy SetIamPolicy(gciv::SetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_SetIamPolicyRequest(ref request, ref callSettings); + return _callSetIamPolicy.Sync(request, callSettings); + } + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task SetIamPolicyAsync(gciv::SetIamPolicyRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_SetIamPolicyRequest(ref request, ref callSettings); + return _callSetIamPolicy.Async(request, callSettings); + } } public partial class ListEnginesRequest : gaxgrpc::IPageRequest diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EngineServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EngineServiceGrpc.g.cs index b9cb743e7571..d8ed4c624a0c 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EngineServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EngineServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/engine_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -86,6 +86,12 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ResumeEngineRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ResumeEngineRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_TuneEngineRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.TuneEngineRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_iam_v1_GetIamPolicyRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Iam.V1.GetIamPolicyRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_iam_v1_Policy = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Iam.V1.Policy.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_iam_v1_SetIamPolicyRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.Iam.V1.SetIamPolicyRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_CreateEngine = new grpc::Method( @@ -151,6 +157,22 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl __Marshaller_google_cloud_discoveryengine_v1beta_TuneEngineRequest, __Marshaller_google_longrunning_Operation); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetIamPolicy = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetIamPolicy", + __Marshaller_google_iam_v1_GetIamPolicyRequest, + __Marshaller_google_iam_v1_Policy); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_SetIamPolicy = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "SetIamPolicy", + __Marshaller_google_iam_v1_SetIamPolicyRequest, + __Marshaller_google_iam_v1_Policy); + /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { @@ -162,7 +184,7 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl public abstract partial class EngineServiceBase { /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -174,7 +196,7 @@ public abstract partial class EngineServiceBase } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -198,7 +220,7 @@ public abstract partial class EngineServiceBase } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -223,7 +245,8 @@ public abstract partial class EngineServiceBase } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -237,7 +260,8 @@ public abstract partial class EngineServiceBase } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -251,7 +275,8 @@ public abstract partial class EngineServiceBase } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -264,6 +289,45 @@ public abstract partial class EngineServiceBase throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetIamPolicy(global::Google.Cloud.Iam.V1.GetIamPolicyRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task SetIamPolicy(global::Google.Cloud.Iam.V1.SetIamPolicyRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + } /// Client for EngineService @@ -294,7 +358,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf } /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -307,7 +371,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CreateEngine(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The options for the call. @@ -318,7 +382,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.BlockingUnaryCall(__Method_CreateEngine, null, options, request); } /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -331,7 +395,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CreateEngineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Creates an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The options for the call. @@ -342,7 +406,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.AsyncUnaryCall(__Method_CreateEngine, null, options, request); } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -355,7 +419,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return DeleteEngine(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The options for the call. @@ -366,7 +430,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.BlockingUnaryCall(__Method_DeleteEngine, null, options, request); } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -379,7 +443,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return DeleteEngineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Deletes an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The options for the call. @@ -438,7 +502,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.AsyncUnaryCall(__Method_UpdateEngine, null, options, request); } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -451,7 +515,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return GetEngine(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The options for the call. @@ -462,7 +526,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.BlockingUnaryCall(__Method_GetEngine, null, options, request); } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -475,7 +539,7 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return GetEngineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Gets an [Engine][google.cloud.discoveryengine.v1beta.Engine]. /// /// The request to send to the server. /// The options for the call. @@ -538,7 +602,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.AsyncUnaryCall(__Method_ListEngines, null, options, request); } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -553,7 +618,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return PauseEngine(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -566,7 +632,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.BlockingUnaryCall(__Method_PauseEngine, null, options, request); } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -581,7 +648,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return PauseEngineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Pauses the training of an existing engine. Only applicable if + /// Pauses the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -594,7 +662,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.AsyncUnaryCall(__Method_PauseEngine, null, options, request); } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -609,7 +678,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return ResumeEngine(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -622,7 +692,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.BlockingUnaryCall(__Method_ResumeEngine, null, options, request); } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -637,7 +708,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return ResumeEngineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Resumes the training of an existing engine. Only applicable if + /// Resumes the training of an existing + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -650,7 +722,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.AsyncUnaryCall(__Method_ResumeEngine, null, options, request); } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -665,7 +738,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return TuneEngine(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -678,7 +752,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return CallInvoker.BlockingUnaryCall(__Method_TuneEngine, null, options, request); } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -693,7 +768,8 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf return TuneEngineAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// - /// Tunes an existing engine. Only applicable if + /// Tunes an existing [Engine][google.cloud.discoveryengine.v1beta.Engine]. + /// Only applicable if /// [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is /// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. /// @@ -705,6 +781,162 @@ protected EngineServiceClient(ClientBaseConfiguration configuration) : base(conf { return CallInvoker.AsyncUnaryCall(__Method_TuneEngine, null, options, request); } + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Iam.V1.Policy GetIamPolicy(global::Google.Cloud.Iam.V1.GetIamPolicyRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIamPolicy(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Iam.V1.Policy GetIamPolicy(global::Google.Cloud.Iam.V1.GetIamPolicyRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetIamPolicy, null, options, request); + } + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIamPolicyAsync(global::Google.Cloud.Iam.V1.GetIamPolicyRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIamPolicyAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. An empty policy is returned if + /// the resource exists but does not have a policy set on it. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIamPolicyAsync(global::Google.Cloud.Iam.V1.GetIamPolicyRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetIamPolicy, null, options, request); + } + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Iam.V1.Policy SetIamPolicy(global::Google.Cloud.Iam.V1.SetIamPolicyRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return SetIamPolicy(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.Iam.V1.Policy SetIamPolicy(global::Google.Cloud.Iam.V1.SetIamPolicyRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_SetIamPolicy, null, options, request); + } + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall SetIamPolicyAsync(global::Google.Cloud.Iam.V1.SetIamPolicyRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return SetIamPolicyAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Sets the IAM access control policy for an + /// [Engine][google.cloud.discoveryengine.v1beta.Engine]. A `NOT_FOUND` error + /// is returned if the resource does not exist. + /// + /// **Important:** When setting a policy directly on an Engine resource, + /// the only recommended roles in the bindings are: + /// `roles/discoveryengine.admin`, + /// `roles/discoveryengine.agentspaceAdmin`, + /// `roles/discoveryengine.user`, + /// `roles/discoveryengine.agentspaceUser`, + /// `roles/discoveryengine.viewer`, + /// `roles/discoveryengine.agentspaceViewer`. + /// Attempting to grant any other role will result in a warning in logging. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall SetIamPolicyAsync(global::Google.Cloud.Iam.V1.SetIamPolicyRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_SetIamPolicy, null, options, request); + } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override EngineServiceClient NewInstance(ClientBaseConfiguration configuration) @@ -726,7 +958,9 @@ protected override EngineServiceClient NewInstance(ClientBaseConfiguration confi .AddMethod(__Method_ListEngines, serviceImpl.ListEngines) .AddMethod(__Method_PauseEngine, serviceImpl.PauseEngine) .AddMethod(__Method_ResumeEngine, serviceImpl.ResumeEngine) - .AddMethod(__Method_TuneEngine, serviceImpl.TuneEngine).Build(); + .AddMethod(__Method_TuneEngine, serviceImpl.TuneEngine) + .AddMethod(__Method_GetIamPolicy, serviceImpl.GetIamPolicy) + .AddMethod(__Method_SetIamPolicy, serviceImpl.SetIamPolicy).Build(); } /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. @@ -744,6 +978,8 @@ public static void BindService(grpc::ServiceBinderBase serviceBinder, EngineServ serviceBinder.AddMethod(__Method_PauseEngine, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PauseEngine)); serviceBinder.AddMethod(__Method_ResumeEngine, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ResumeEngine)); serviceBinder.AddMethod(__Method_TuneEngine, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.TuneEngine)); + serviceBinder.AddMethod(__Method_GetIamPolicy, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetIamPolicy)); + serviceBinder.AddMethod(__Method_SetIamPolicy, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SetIamPolicy)); } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Evaluation.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Evaluation.g.cs index 484652ac0a0d..ad37874ddbd8 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Evaluation.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Evaluation.g.cs @@ -45,8 +45,8 @@ static EvaluationReflection() { "dmVyeWVuZ2luZS52MWJldGEuU2VhcmNoUmVxdWVzdEID4EECSAASaAoOcXVl", "cnlfc2V0X3NwZWMYASABKAsySy5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5n", "aW5lLnYxYmV0YS5FdmFsdWF0aW9uLkV2YWx1YXRpb25TcGVjLlF1ZXJ5U2V0", - "U3BlY0ID4EECGl8KDFF1ZXJ5U2V0U3BlYxJPChBzYW1wbGVfcXVlcnlfc2V0", - "GAEgASgJQjXgQQL6QS8KLWRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNv", + "U3BlY0ID4EEBGl8KDFF1ZXJ5U2V0U3BlYxJPChBzYW1wbGVfcXVlcnlfc2V0", + "GAEgASgJQjXgQQH6QS8KLWRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNv", "bS9TYW1wbGVRdWVyeVNldEINCgtzZWFyY2hfc3BlYyJTCgVTdGF0ZRIVChFT", "VEFURV9VTlNQRUNJRklFRBAAEgsKB1BFTkRJTkcQARILCgdSVU5OSU5HEAIS", "DQoJU1VDQ0VFREVEEAMSCgoGRkFJTEVEEAQ6cOpBbQopZGlzY292ZXJ5ZW5n", @@ -728,7 +728,7 @@ public EvaluationSpec Clone() { public const int QuerySetSpecFieldNumber = 1; private global::Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec querySetSpec_; /// - /// Required. The specification of the query set. + /// Optional. The specification of the query set. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1006,7 +1006,7 @@ public QuerySetSpec Clone() { public const int SampleQuerySetFieldNumber = 1; private string sampleQuerySet_ = ""; /// - /// Required. The full resource name of the + /// Optional. The full resource name of the /// [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet] /// used for the evaluation, in the format of /// `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationService.g.cs index fc1b5bbc5721..7add99b903ff 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationService.g.cs @@ -34,58 +34,63 @@ static EvaluationServiceReflection() { "ZXJ5LnByb3RvGiNnb29nbGUvbG9uZ3J1bm5pbmcvb3BlcmF0aW9ucy5wcm90", "byJXChRHZXRFdmFsdWF0aW9uUmVxdWVzdBI/CgRuYW1lGAEgASgJQjHgQQL6", "QSsKKWRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNvbS9FdmFsdWF0aW9u", - "IoABChZMaXN0RXZhbHVhdGlvbnNSZXF1ZXN0Ej8KBnBhcmVudBgBIAEoCUIv", + "IooBChZMaXN0RXZhbHVhdGlvbnNSZXF1ZXN0Ej8KBnBhcmVudBgBIAEoCUIv", "4EEC+kEpCidkaXNjb3ZlcnllbmdpbmUuZ29vZ2xlYXBpcy5jb20vTG9jYXRp", - "b24SEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkieAoX", - "TGlzdEV2YWx1YXRpb25zUmVzcG9uc2USRAoLZXZhbHVhdGlvbnMYASADKAsy", - "Ly5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5FdmFsdWF0", - "aW9uEhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSKkAQoXQ3JlYXRlRXZhbHVh", - "dGlvblJlcXVlc3QSPwoGcGFyZW50GAEgASgJQi/gQQL6QSkKJ2Rpc2NvdmVy", - "eWVuZ2luZS5nb29nbGVhcGlzLmNvbS9Mb2NhdGlvbhJICgpldmFsdWF0aW9u", - "GAIgASgLMi8uZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEu", - "RXZhbHVhdGlvbk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FsdWF0aW9uPXByb2plY3RzLyovbG9jYXRp", + "b25zLyovZXZhbHVhdGlvbnMvKn06bGlzdFJlc3VsdHMakALKQR5kaXNjb3Zl", + "cnllbmdpbmUuZ29vZ2xlYXBpcy5jb23SQesBaHR0cHM6Ly93d3cuZ29vZ2xl", + "YXBpcy5jb20vYXV0aC9jbG91ZC1wbGF0Zm9ybSxodHRwczovL3d3dy5nb29n", + "bGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5hc3Npc3QucmVhZHdy", + "aXRlLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5", + "ZW5naW5lLnJlYWR3cml0ZSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9h", + "dXRoL2Rpc2NvdmVyeWVuZ2luZS5zZXJ2aW5nLnJlYWR3cml0ZUKdAgonY29t", + "Lmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQhZFdmFsdWF0", + "aW9uU2VydmljZVByb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292", + "ZXJ5ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3Zl", + "cnllbmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5E", + "aXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVy", + "eUVuZ2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdp", + "bmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.EvaluationReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -395,7 +400,7 @@ public string Parent { public const int PageSizeFieldNumber = 2; private int pageSize_; /// - /// Maximum number of + /// Optional. Maximum number of /// [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s to return. If /// unspecified, defaults to 100. The maximum allowed value is 1000. Values /// above 1000 will be coerced to 1000. @@ -415,7 +420,7 @@ public int PageSize { public const int PageTokenFieldNumber = 3; private string pageToken_ = ""; /// - /// A page token + /// Optional. A page token /// [ListEvaluationsResponse.next_page_token][google.cloud.discoveryengine.v1beta.ListEvaluationsResponse.next_page_token], /// received from a previous /// [EvaluationService.ListEvaluations][google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations] @@ -1344,9 +1349,10 @@ public ListEvaluationResultsRequest Clone() { /// Required. The evaluation resource name, such as /// `projects/{project}/locations/{location}/evaluations/{evaluation}`. /// - /// If the caller does not have permission to list [EvaluationResult][] - /// under this evaluation, regardless of whether or not this evaluation - /// set exists, a `PERMISSION_DENIED` error is returned. + /// If the caller does not have permission to list + /// [ListEvaluationResultsResponse.EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult] + /// under this evaluation, regardless of whether or not this evaluation set + /// exists, a `PERMISSION_DENIED` error is returned. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1361,9 +1367,10 @@ public string Evaluation { public const int PageSizeFieldNumber = 2; private int pageSize_; /// - /// Maximum number of [EvaluationResult][] to return. If unspecified, - /// defaults to 100. The maximum allowed value is 1000. Values above 1000 will - /// be coerced to 1000. + /// Optional. Maximum number of + /// [ListEvaluationResultsResponse.EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult] + /// to return. If unspecified, defaults to 100. The maximum allowed value is + /// 1000. Values above 1000 will be coerced to 1000. /// /// If this field is negative, an `INVALID_ARGUMENT` error is returned. /// @@ -1380,7 +1387,7 @@ public int PageSize { public const int PageTokenFieldNumber = 3; private string pageToken_ = ""; /// - /// A page token + /// Optional. A page token /// [ListEvaluationResultsResponse.next_page_token][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.next_page_token], /// received from a previous /// [EvaluationService.ListEvaluationResults][google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults] @@ -1646,8 +1653,8 @@ public ListEvaluationResultsResponse Clone() { = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.ListEvaluationResultsResponse.Types.EvaluationResult.Parser); private readonly pbc::RepeatedField evaluationResults_ = new pbc::RepeatedField(); /// - /// The - /// [EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult]s. + /// The evaluation results for the + /// [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceClient.g.cs index ccb685ba9b65..89a91a5d71d4 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceClient.g.cs @@ -223,11 +223,17 @@ public abstract partial class EvaluationServiceClient /// The default EvaluationService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.assist.readwrite + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. @@ -863,9 +869,10 @@ public virtual Evaluation GetEvaluation(EvaluationName name, gaxgrpc::CallSettin /// Required. The evaluation resource name, such as /// `projects/{project}/locations/{location}/evaluations/{evaluation}`. /// - /// If the caller does not have permission to list [EvaluationResult][] - /// under this evaluation, regardless of whether or not this evaluation - /// set exists, a `PERMISSION_DENIED` error is returned. + /// If the caller does not have permission to list + /// [ListEvaluationResultsResponse.EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult] + /// under this evaluation, regardless of whether or not this evaluation set + /// exists, a `PERMISSION_DENIED` error is returned. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -904,9 +911,10 @@ public virtual Evaluation GetEvaluation(EvaluationName name, gaxgrpc::CallSettin /// Required. The evaluation resource name, such as /// `projects/{project}/locations/{location}/evaluations/{evaluation}`. /// - /// If the caller does not have permission to list [EvaluationResult][] - /// under this evaluation, regardless of whether or not this evaluation - /// set exists, a `PERMISSION_DENIED` error is returned. + /// If the caller does not have permission to list + /// [ListEvaluationResultsResponse.EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult] + /// under this evaluation, regardless of whether or not this evaluation set + /// exists, a `PERMISSION_DENIED` error is returned. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -946,9 +954,10 @@ public virtual Evaluation GetEvaluation(EvaluationName name, gaxgrpc::CallSettin /// Required. The evaluation resource name, such as /// `projects/{project}/locations/{location}/evaluations/{evaluation}`. /// - /// If the caller does not have permission to list [EvaluationResult][] - /// under this evaluation, regardless of whether or not this evaluation - /// set exists, a `PERMISSION_DENIED` error is returned. + /// If the caller does not have permission to list + /// [ListEvaluationResultsResponse.EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult] + /// under this evaluation, regardless of whether or not this evaluation set + /// exists, a `PERMISSION_DENIED` error is returned. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first @@ -987,9 +996,10 @@ public virtual Evaluation GetEvaluation(EvaluationName name, gaxgrpc::CallSettin /// Required. The evaluation resource name, such as /// `projects/{project}/locations/{location}/evaluations/{evaluation}`. /// - /// If the caller does not have permission to list [EvaluationResult][] - /// under this evaluation, regardless of whether or not this evaluation - /// set exists, a `PERMISSION_DENIED` error is returned. + /// If the caller does not have permission to list + /// [ListEvaluationResultsResponse.EvaluationResult][google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult] + /// under this evaluation, regardless of whether or not this evaluation set + /// exists, a `PERMISSION_DENIED` error is returned. /// /// /// The token returned from the previous request. A value of null or an empty string retrieves the first diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceGrpc.g.cs index 5929b310f82b..b24acaa4c1f7 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/EvaluationServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/evaluation_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Feedback.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Feedback.g.cs new file mode 100644 index 000000000000..4021baed372d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Feedback.g.cs @@ -0,0 +1,1038 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/feedback.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/feedback.proto + public static partial class FeedbackReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/feedback.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FeedbackReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjJnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9mZWVkYmFj", + "ay5wcm90bxIjZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEa", + "H2dvb2dsZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aMWdvb2dsZS9jbG91", + "ZC9kaXNjb3ZlcnllbmdpbmUvdjFiZXRhL3Nlc3Npb24ucHJvdG8i1QgKCEZl", + "ZWRiYWNrElYKDWZlZWRiYWNrX3R5cGUYASABKA4yOi5nb29nbGUuY2xvdWQu", + "ZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5GZWVkYmFjay5GZWVkYmFja1R5cGVC", + "A+BBAhJKCgdyZWFzb25zGAIgAygOMjQuZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", + "eWVuZ2luZS52MW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VRFRBAIEhYKEkNBTlZBU19RVUFMSVRZX0JBRBAJEhgKFENB", + "TlZBU19FWFBPUlRfRkFJTEVEEAoiiQEKDkZlZWRiYWNrU291cmNlEh8KG0ZF", + "RURCQUNLX1NPVVJDRV9VTlNQRUNJRklFRBAAEhIKDkdPT0dMRV9DT05TT0xF", + "EAESEQoNR09PR0xFX1dJREdFVBACEhEKDUdPT0dMRV9XRUJBUFAQAxIcChhH", + "T09HTEVfQUdFTlRTUEFDRV9NT0JJTEUQBEKUAgonY29tLmdvb2dsZS5jbG91", + "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQg1GZWVkYmFja1Byb3RvUAFaUWNs", + "b3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0YS9k", + "aXNjb3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVS", + "WUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRh", + "ygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29n", + "bGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SessionReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback), global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Parser, new[]{ "FeedbackType", "Reasons", "Comment", "ConversationInfo", "LlmModelVersion", "FeedbackSource", "ComponentVersion", "DataTermsAccepted" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.Reason), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo.Parser, new[]{ "QuestionIndex", "Session", "Query", "AssistToken", "AnswerQueryToken" }, null, null, null, null)}) + })); + } + #endregion + + } + #region Messages + /// + /// Information about the user feedback. This information will be used for + /// logging and metrics purpose. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Feedback : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Feedback()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.FeedbackReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Feedback() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Feedback(Feedback other) : this() { + feedbackType_ = other.feedbackType_; + reasons_ = other.reasons_.Clone(); + comment_ = other.comment_; + conversationInfo_ = other.conversationInfo_ != null ? other.conversationInfo_.Clone() : null; + llmModelVersion_ = other.llmModelVersion_; + feedbackSource_ = other.feedbackSource_; + componentVersion_ = other.componentVersion_; + dataTermsAccepted_ = other.dataTermsAccepted_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Feedback Clone() { + return new Feedback(this); + } + + /// Field number for the "feedback_type" field. + public const int FeedbackTypeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType feedbackType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType.Unspecified; + /// + /// Required. Indicate whether the user gives a positive or negative feedback. + /// If the user gives a negative feedback, there might be more feedback + /// details. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType FeedbackType { + get { return feedbackType_; } + set { + feedbackType_ = value; + } + } + + /// Field number for the "reasons" field. + public const int ReasonsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_reasons_codec + = pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.Reason) x); + private readonly pbc::RepeatedField reasons_ = new pbc::RepeatedField(); + /// + /// Optional. The reason if user gives a thumb down. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Reasons { + get { return reasons_; } + } + + /// Field number for the "comment" field. + public const int CommentFieldNumber = 3; + private string comment_ = ""; + /// + /// Optional. The additional user comment of the feedback if user gives a thumb + /// down. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Comment { + get { return comment_; } + set { + comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "conversation_info" field. + public const int ConversationInfoFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo conversationInfo_; + /// + /// The related conversation information when user gives feedback. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo ConversationInfo { + get { return conversationInfo_; } + set { + conversationInfo_ = value; + } + } + + /// Field number for the "llm_model_version" field. + public const int LlmModelVersionFieldNumber = 5; + private string llmModelVersion_ = ""; + /// + /// The version of the LLM model that was used to generate the response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LlmModelVersion { + get { return llmModelVersion_; } + set { + llmModelVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "feedback_source" field. + public const int FeedbackSourceFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource feedbackSource_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource.Unspecified; + /// + /// Optional. The UI component the user feedback comes from, which could be + /// GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource FeedbackSource { + get { return feedbackSource_; } + set { + feedbackSource_ = value; + } + } + + /// Field number for the "component_version" field. + public const int ComponentVersionFieldNumber = 7; + private string componentVersion_ = ""; + /// + /// Optional. The version of the component that this report is being sent from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ComponentVersion { + get { return componentVersion_; } + set { + componentVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data_terms_accepted" field. + public const int DataTermsAcceptedFieldNumber = 8; + private bool dataTermsAccepted_; + /// + /// Optional. Whether the customer accepted data use terms. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DataTermsAccepted { + get { return dataTermsAccepted_; } + set { + dataTermsAccepted_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Feedback); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Feedback other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FeedbackType != other.FeedbackType) return false; + if(!reasons_.Equals(other.reasons_)) return false; + if (Comment != other.Comment) return false; + if (!object.Equals(ConversationInfo, other.ConversationInfo)) return false; + if (LlmModelVersion != other.LlmModelVersion) return false; + if (FeedbackSource != other.FeedbackSource) return false; + if (ComponentVersion != other.ComponentVersion) return false; + if (DataTermsAccepted != other.DataTermsAccepted) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (FeedbackType != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType.Unspecified) hash ^= FeedbackType.GetHashCode(); + hash ^= reasons_.GetHashCode(); + if (Comment.Length != 0) hash ^= Comment.GetHashCode(); + if (conversationInfo_ != null) hash ^= ConversationInfo.GetHashCode(); + if (LlmModelVersion.Length != 0) hash ^= LlmModelVersion.GetHashCode(); + if (FeedbackSource != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource.Unspecified) hash ^= FeedbackSource.GetHashCode(); + if (ComponentVersion.Length != 0) hash ^= ComponentVersion.GetHashCode(); + if (DataTermsAccepted != false) hash ^= DataTermsAccepted.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (FeedbackType != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) FeedbackType); + } + reasons_.WriteTo(output, _repeated_reasons_codec); + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + if (conversationInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ConversationInfo); + } + if (LlmModelVersion.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LlmModelVersion); + } + if (FeedbackSource != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) FeedbackSource); + } + if (ComponentVersion.Length != 0) { + output.WriteRawTag(58); + output.WriteString(ComponentVersion); + } + if (DataTermsAccepted != false) { + output.WriteRawTag(64); + output.WriteBool(DataTermsAccepted); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (FeedbackType != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) FeedbackType); + } + reasons_.WriteTo(ref output, _repeated_reasons_codec); + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + if (conversationInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(ConversationInfo); + } + if (LlmModelVersion.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LlmModelVersion); + } + if (FeedbackSource != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) FeedbackSource); + } + if (ComponentVersion.Length != 0) { + output.WriteRawTag(58); + output.WriteString(ComponentVersion); + } + if (DataTermsAccepted != false) { + output.WriteRawTag(64); + output.WriteBool(DataTermsAccepted); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (FeedbackType != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FeedbackType); + } + size += reasons_.CalculateSize(_repeated_reasons_codec); + if (Comment.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); + } + if (conversationInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConversationInfo); + } + if (LlmModelVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LlmModelVersion); + } + if (FeedbackSource != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FeedbackSource); + } + if (ComponentVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ComponentVersion); + } + if (DataTermsAccepted != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Feedback other) { + if (other == null) { + return; + } + if (other.FeedbackType != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType.Unspecified) { + FeedbackType = other.FeedbackType; + } + reasons_.Add(other.reasons_); + if (other.Comment.Length != 0) { + Comment = other.Comment; + } + if (other.conversationInfo_ != null) { + if (conversationInfo_ == null) { + ConversationInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo(); + } + ConversationInfo.MergeFrom(other.ConversationInfo); + } + if (other.LlmModelVersion.Length != 0) { + LlmModelVersion = other.LlmModelVersion; + } + if (other.FeedbackSource != global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource.Unspecified) { + FeedbackSource = other.FeedbackSource; + } + if (other.ComponentVersion.Length != 0) { + ComponentVersion = other.ComponentVersion; + } + if (other.DataTermsAccepted != false) { + DataTermsAccepted = other.DataTermsAccepted; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + FeedbackType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType) input.ReadEnum(); + break; + } + case 18: + case 16: { + reasons_.AddEntriesFrom(input, _repeated_reasons_codec); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 34: { + if (conversationInfo_ == null) { + ConversationInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo(); + } + input.ReadMessage(ConversationInfo); + break; + } + case 42: { + LlmModelVersion = input.ReadString(); + break; + } + case 48: { + FeedbackSource = (global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource) input.ReadEnum(); + break; + } + case 58: { + ComponentVersion = input.ReadString(); + break; + } + case 64: { + DataTermsAccepted = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + FeedbackType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackType) input.ReadEnum(); + break; + } + case 18: + case 16: { + reasons_.AddEntriesFrom(ref input, _repeated_reasons_codec); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 34: { + if (conversationInfo_ == null) { + ConversationInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.ConversationInfo(); + } + input.ReadMessage(ConversationInfo); + break; + } + case 42: { + LlmModelVersion = input.ReadString(); + break; + } + case 48: { + FeedbackSource = (global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Types.FeedbackSource) input.ReadEnum(); + break; + } + case 58: { + ComponentVersion = input.ReadString(); + break; + } + case 64: { + DataTermsAccepted = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Feedback message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The type of the feedback user gives. + /// + public enum FeedbackType { + /// + /// Unspecified feedback type. + /// + [pbr::OriginalName("FEEDBACK_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// The user gives a positive feedback. + /// + [pbr::OriginalName("LIKE")] Like = 1, + /// + /// The user gives a negative feedback. + /// + [pbr::OriginalName("DISLIKE")] Dislike = 2, + } + + /// + /// The reason why user gives a negative feedback. + /// + public enum Reason { + /// + /// Unspecified reason. + /// + [pbr::OriginalName("REASON_UNSPECIFIED")] Unspecified = 0, + /// + /// The response is inaccurate. + /// + [pbr::OriginalName("INACCURATE_RESPONSE")] InaccurateResponse = 1, + /// + /// The response is not relevant. + /// + [pbr::OriginalName("NOT_RELEVANT")] NotRelevant = 2, + /// + /// The response is incomprehensive. + /// + [pbr::OriginalName("INCOMPREHENSIVE")] Incomprehensive = 3, + /// + /// The response is offensive or unsafe. + /// + [pbr::OriginalName("OFFENSIVE_OR_UNSAFE")] OffensiveOrUnsafe = 4, + /// + /// The response is not well-formatted. + /// + [pbr::OriginalName("FORMAT_AND_STYLES")] FormatAndStyles = 6, + /// + /// The response is not well-associated with the query. + /// + [pbr::OriginalName("BAD_CITATION")] BadCitation = 7, + /// + /// The expected canvas was not generated for the response. + /// + [pbr::OriginalName("CANVAS_NOT_GENERATED")] CanvasNotGenerated = 8, + /// + /// The generated canvas is of bad quality (e.g. inaccurate, incomplete, + /// poorly formatted). + /// + [pbr::OriginalName("CANVAS_QUALITY_BAD")] CanvasQualityBad = 9, + /// + /// Exporting the generated canvas failed (e.g. download or external + /// export action did not complete successfully). + /// + [pbr::OriginalName("CANVAS_EXPORT_FAILED")] CanvasExportFailed = 10, + } + + /// + /// Source of the feedback as per integration. + /// + public enum FeedbackSource { + /// + /// Unspecified feedback source. + /// + [pbr::OriginalName("FEEDBACK_SOURCE_UNSPECIFIED")] Unspecified = 0, + /// + /// Feedback source is Google Console. + /// + [pbr::OriginalName("GOOGLE_CONSOLE")] GoogleConsole = 1, + /// + /// Feedback source is Google Widget. + /// + [pbr::OriginalName("GOOGLE_WIDGET")] GoogleWidget = 2, + /// + /// Feedback source is Google Webapp. + /// + [pbr::OriginalName("GOOGLE_WEBAPP")] GoogleWebapp = 3, + /// + /// Feedback source is Google AgentSpace Mobile app. + /// + [pbr::OriginalName("GOOGLE_AGENTSPACE_MOBILE")] GoogleAgentspaceMobile = 4, + } + + /// + /// The conversation information such as the question index and session name. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConversationInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConversationInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationInfo(ConversationInfo other) : this() { + questionIndex_ = other.questionIndex_; + session_ = other.session_; + query_ = other.query_ != null ? other.query_.Clone() : null; + assistToken_ = other.assistToken_; + answerQueryToken_ = other.answerQueryToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConversationInfo Clone() { + return new ConversationInfo(this); + } + + /// Field number for the "question_index" field. + public const int QuestionIndexFieldNumber = 1; + private int questionIndex_; + /// + /// The index of the user input within the conversation messages. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int QuestionIndex { + get { return questionIndex_; } + set { + questionIndex_ = value; + } + } + + /// Field number for the "session" field. + public const int SessionFieldNumber = 2; + private string session_ = ""; + /// + /// Name of the newly generated or continued session. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Session { + get { return session_; } + set { + session_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "query" field. + public const int QueryFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Query query_; + /// + /// Required. The user's search query. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Query Query { + get { return query_; } + set { + query_ = value; + } + } + + /// Field number for the "assist_token" field. + public const int AssistTokenFieldNumber = 4; + private string assistToken_ = ""; + /// + /// Optional. The token which could be used to fetch the assistant log. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AssistToken { + get { return assistToken_; } + set { + assistToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "answer_query_token" field. + public const int AnswerQueryTokenFieldNumber = 5; + private string answerQueryToken_ = ""; + /// + /// Optional. The token which could be used to fetch the answer log. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnswerQueryToken { + get { return answerQueryToken_; } + set { + answerQueryToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConversationInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConversationInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (QuestionIndex != other.QuestionIndex) return false; + if (Session != other.Session) return false; + if (!object.Equals(Query, other.Query)) return false; + if (AssistToken != other.AssistToken) return false; + if (AnswerQueryToken != other.AnswerQueryToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (QuestionIndex != 0) hash ^= QuestionIndex.GetHashCode(); + if (Session.Length != 0) hash ^= Session.GetHashCode(); + if (query_ != null) hash ^= Query.GetHashCode(); + if (AssistToken.Length != 0) hash ^= AssistToken.GetHashCode(); + if (AnswerQueryToken.Length != 0) hash ^= AnswerQueryToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (QuestionIndex != 0) { + output.WriteRawTag(8); + output.WriteInt32(QuestionIndex); + } + if (Session.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Session); + } + if (query_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Query); + } + if (AssistToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AssistToken); + } + if (AnswerQueryToken.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AnswerQueryToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (QuestionIndex != 0) { + output.WriteRawTag(8); + output.WriteInt32(QuestionIndex); + } + if (Session.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Session); + } + if (query_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Query); + } + if (AssistToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AssistToken); + } + if (AnswerQueryToken.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AnswerQueryToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (QuestionIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(QuestionIndex); + } + if (Session.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Session); + } + if (query_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Query); + } + if (AssistToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AssistToken); + } + if (AnswerQueryToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerQueryToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConversationInfo other) { + if (other == null) { + return; + } + if (other.QuestionIndex != 0) { + QuestionIndex = other.QuestionIndex; + } + if (other.Session.Length != 0) { + Session = other.Session; + } + if (other.query_ != null) { + if (query_ == null) { + Query = new global::Google.Cloud.DiscoveryEngine.V1Beta.Query(); + } + Query.MergeFrom(other.Query); + } + if (other.AssistToken.Length != 0) { + AssistToken = other.AssistToken; + } + if (other.AnswerQueryToken.Length != 0) { + AnswerQueryToken = other.AnswerQueryToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + QuestionIndex = input.ReadInt32(); + break; + } + case 18: { + Session = input.ReadString(); + break; + } + case 26: { + if (query_ == null) { + Query = new global::Google.Cloud.DiscoveryEngine.V1Beta.Query(); + } + input.ReadMessage(Query); + break; + } + case 34: { + AssistToken = input.ReadString(); + break; + } + case 42: { + AnswerQueryToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + QuestionIndex = input.ReadInt32(); + break; + } + case 18: { + Session = input.ReadString(); + break; + } + case 26: { + if (query_ == null) { + Query = new global::Google.Cloud.DiscoveryEngine.V1Beta.Query(); + } + input.ReadMessage(Query); + break; + } + case 34: { + AssistToken = input.ReadString(); + break; + } + case 42: { + AnswerQueryToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.csproj b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.csproj index 2b971ff3d331..f26994b9778d 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.csproj +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta.csproj @@ -10,6 +10,7 @@ + diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationService.g.cs index 74c0dde0b07d..d0274cac4fd2 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationService.g.cs @@ -30,183 +30,242 @@ static GroundedGenerationServiceReflection() { "b3RvGhdnb29nbGUvYXBpL2NsaWVudC5wcm90bxofZ29vZ2xl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ChJTT1VS", + "Q0VfVU5TUEVDSUZJRUQQABIUChBWRVJURVhfQUlfU0VBUkNIEAESEQoNR09P", + "R0xFX1NFQVJDSBADEhIKDklOTElORV9DT05URU5UEAISDwoLR09PR0xFX01B", + "UFMQBBq8AQoYRHluYW1pY1JldHJpZXZhbE1ldGFkYXRhEp8BChJwcmVkaWN0", + "b3JfbWV0YWRhdGEYASABKAsyggEuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVu", + "Z2luZS52MWJldGEuR2VuZXJhdGVHcm91bmRlZENvbnRlbnRSZXNwb25zZS5D", + "YW5kaWRhdGUuR3JvdW5kaW5nTWV0YWRhdGEuRHluYW1pY1JldHJpZXZhbFBy", + "ZWRpY3Rvck1ldGFkYXRhGqICCiFEeW5hbWljUmV0cmlldmFsUHJlZGljdG9y", + "TWV0YWRhdGESnAEKB3ZlcnNpb24YASABKA4yigEuZ29vZ2xlLmNsb3VkLmRp", + "c2NvdmVyeWVuZ2luZS52MWJldGEuR2VuZXJhdGVHcm91bmRlZENvbnRlbnRS", + "ZXNwb25zZS5DYW5kaWRhdGUuR3JvdW5kaW5nTWV0YWRhdGEuRHluYW1pY1Jl", + "dHJpZXZhbFByZWRpY3Rvck1ldGFkYXRhLlZlcnNpb24SFwoKcHJlZGljdGlv", + "bhgCIAEoAkgAiAEBIjYKB1ZlcnNpb24SFwoTVkVSU0lPTl9VTlNQRUNJRklF", + "RBAAEhIKDlYxX0lOREVQRU5ERU5UEAFCDQoLX3ByZWRpY3Rpb24aPgoQU2Vh", + "cmNoRW50cnlQb2ludBIYChByZW5kZXJlZF9jb250ZW50GAEgASgJEhAKCHNk", + "a19ibG9iGAIgASgMGnMKEEdyb3VuZGluZ1N1cHBvcnQSEgoKY2xhaW1fdGV4", + "dBgBIAEoCRIdChVzdXBwb3J0X2NodW5rX2luZGljZXMYAyADKAUSGgoNc3Vw", + "cG9ydF9zY29yZRgCIAEoAkgAiAEBQhAKDl9zdXBwb3J0X3Njb3JlGqcECg1J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jYXRpb25zLyovZ3JvdW5kaW5nQ29uZmlncy8qfTpjaGVjazoBKhrPAcpB", + "HmRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNvbdJBqgFodHRwczovL3d3", + "dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Nsb3VkLXBsYXRmb3JtLGh0dHBzOi8v", + "d3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5ZW5naW5lLnJlYWR3", + "cml0ZSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVy", + "eWVuZ2luZS5zZXJ2aW5nLnJlYWR3cml0ZUKlAgonY29tLmdvb2dsZS5jbG91", + "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQh5Hcm91bmRlZEdlbmVyYXRpb25T", + "ZXJ2aWNlUHJvdG9QAVpRY2xvdWQuZ29vZ2xlLmNvbS9nby9kaXNjb3Zlcnll", + "bmdpbmUvYXBpdjFiZXRhL2Rpc2NvdmVyeWVuZ2luZXBiO2Rpc2NvdmVyeWVu", + "Z2luZXBiogIPRElTQ09WRVJZRU5HSU5FqgIjR29vZ2xlLkNsb3VkLkRpc2Nv", + "dmVyeUVuZ2luZS5WMUJldGHKAiNHb29nbGVcQ2xvdWRcRGlzY292ZXJ5RW5n", + "aW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6", + "VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingReflection.Descriptor, global::Google.Type.DateReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent), global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Parser, new[]{ "Role", "Parts" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part), global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part.Parser, new[]{ "Text" }, new[]{ "Data" }, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Parser, new[]{ "Location", "SystemInstruction", "Contents", "GenerationSpec", "GroundingSpec", "UserLabels" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Parser, new[]{ "ModelId", "LanguageCode", "Temperature", "TopP", "TopK", "FrequencyPenalty", "PresencePenalty", "MaxOutputTokens" }, new[]{ "Temperature", "TopP", "TopK", "FrequencyPenalty", "PresencePenalty", "MaxOutputTokens" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Parser, new[]{ "Location", "SystemInstruction", "Contents", "GenerationSpec", "GroundingSpec", "UserLabels" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Parser, new[]{ "ModelId", "LanguageCode", "Temperature", "TopP", "TopK", "FrequencyPenalty", "Seed", "PresencePenalty", "MaxOutputTokens", "ProvisionedThroughputSetting" }, new[]{ "Temperature", "TopP", "TopK", "FrequencyPenalty", "Seed", "PresencePenalty", "MaxOutputTokens" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Parser, new[]{ "Predictor" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor.Parser, new[]{ "Version", "Threshold" }, new[]{ "Threshold" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor.Types.Version) }, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Parser, new[]{ "InlineSource", "SearchSource", "GoogleSearchSource" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.InlineSource.Parser, new[]{ "GroundingFacts", "Attributes" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Parser, new[]{ "InlineSource", "SearchSource", "GoogleSearchSource", "EnterpriseWebRetrievalSource" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.InlineSource.Parser, new[]{ "GroundingFacts", "Attributes" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource.Parser, new[]{ "ServingConfig", "MaxResultCount", "Filter", "SafeSearch" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.GoogleSearchSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.GoogleSearchSource.Parser, new[]{ "DynamicRetrievalConfig" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.GoogleSearchSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.GoogleSearchSource.Parser, new[]{ "DynamicRetrievalConfig", "ExcludeDomains", "BlockingConfidence" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource.Parser, new[]{ "ExcludeDomains", "BlockingConfidence" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSpec.Parser, new[]{ "GroundingSources" }, null, null, null, null), null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Parser, new[]{ "Candidates" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Parser, new[]{ "Index", "Content", "GroundingScore", "GroundingMetadata" }, new[]{ "GroundingScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Parser, new[]{ "RetrievalMetadata", "SupportChunks", "WebSearchQueries", "SearchEntryPoint", "GroundingSupport" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.RetrievalMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.RetrievalMetadata.Parser, new[]{ "Source", "DynamicRetrievalMetadata" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.RetrievalMetadata.Types.Source) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Parser, new[]{ "Candidates" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Parser, new[]{ "Index", "Content", "GroundingScore", "GroundingMetadata" }, new[]{ "GroundingScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Parser, new[]{ "RetrievalMetadata", "SupportChunks", "WebSearchQueries", "SearchEntryPoint", "GroundingSupport", "Images", "Videos" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.RetrievalMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.RetrievalMetadata.Parser, new[]{ "Source", "DynamicRetrievalMetadata" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.RetrievalMetadata.Types.Source) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalMetadata.Parser, new[]{ "PredictorMetadata" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata.Parser, new[]{ "Version", "Prediction" }, new[]{ "Prediction" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata.Types.Version) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.SearchEntryPoint), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.SearchEntryPoint.Parser, new[]{ "RenderedContent", "SdkBlob" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport.Parser, new[]{ "ClaimText", "SupportChunkIndices", "SupportScore" }, new[]{ "SupportScore" }, null, null, null)})})}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec.Parser, new[]{ "CitationThreshold" }, new[]{ "CitationThreshold" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport.Parser, new[]{ "ClaimText", "SupportChunkIndices", "SupportScore" }, new[]{ "SupportScore" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Parser, new[]{ "Image", "Thumbnail", "Source" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo.Parser, new[]{ "Uri", "Title", "SiteDisplayName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image.Parser, new[]{ "Uri", "Width", "Height" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.VideoMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.VideoMetadata.Parser, new[]{ "YoutubeExternalId" }, null, null, null, null)})})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec.Parser, new[]{ "CitationThreshold", "EnableClaimLevelScore" }, new[]{ "CitationThreshold", "EnableClaimLevelScore" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingRequest.Parser, new[]{ "GroundingConfig", "AnswerCandidate", "Facts", "GroundingSpec", "UserLabels" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Parser, new[]{ "SupportScore", "CitedChunks", "CitedFacts", "Claims" }, new[]{ "SupportScore" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.CheckGroundingFactChunk), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.CheckGroundingFactChunk.Parser, new[]{ "ChunkText" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.Claim), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.Claim.Parser, new[]{ "StartPos", "EndPos", "ClaimText", "CitationIndices", "GroundingCheckRequired" }, new[]{ "StartPos", "EndPos", "GroundingCheckRequired" }, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.Claim), global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.Claim.Parser, new[]{ "StartPos", "EndPos", "ClaimText", "CitationIndices", "GroundingCheckRequired", "Score" }, new[]{ "StartPos", "EndPos", "GroundingCheckRequired", "Score" }, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.CitationMetadata.Parser, new[]{ "Citations" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Citation), global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Parser, new[]{ "StartIndex", "EndIndex", "Uri", "Title", "License", "PublicationDate" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold) }, null, null) })); } #endregion @@ -1189,8 +1248,10 @@ public GenerationSpec(GenerationSpec other) : this() { topP_ = other.topP_; topK_ = other.topK_; frequencyPenalty_ = other.frequencyPenalty_; + seed_ = other.seed_; presencePenalty_ = other.presencePenalty_; maxOutputTokens_ = other.maxOutputTokens_; + provisionedThroughputSetting_ = other.provisionedThroughputSetting_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -1351,6 +1412,36 @@ public void ClearFrequencyPenalty() { _hasBits0 &= ~8; } + /// Field number for the "seed" field. + public const int SeedFieldNumber = 12; + private readonly static int SeedDefaultValue = 0; + + private int seed_; + /// + /// If specified, custom value for the seed will be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Seed { + get { if ((_hasBits0 & 64) != 0) { return seed_; } else { return SeedDefaultValue; } } + set { + _hasBits0 |= 64; + seed_ = value; + } + } + /// Gets whether the "seed" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSeed { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "seed" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSeed() { + _hasBits0 &= ~64; + } + /// Field number for the "presence_penalty" field. public const int PresencePenaltyFieldNumber = 9; private readonly static float PresencePenaltyDefaultValue = 0F; @@ -1411,6 +1502,21 @@ public void ClearMaxOutputTokens() { _hasBits0 &= ~32; } + /// Field number for the "provisioned_throughput_setting" field. + public const int ProvisionedThroughputSettingFieldNumber = 13; + private global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting provisionedThroughputSetting_ = global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting.Unspecified; + /// + /// Optional. Setting for provisioned throughput. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting ProvisionedThroughputSetting { + get { return provisionedThroughputSetting_; } + set { + provisionedThroughputSetting_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1432,8 +1538,10 @@ public bool Equals(GenerationSpec other) { if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TopP, other.TopP)) return false; if (TopK != other.TopK) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FrequencyPenalty, other.FrequencyPenalty)) return false; + if (Seed != other.Seed) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PresencePenalty, other.PresencePenalty)) return false; if (MaxOutputTokens != other.MaxOutputTokens) return false; + if (ProvisionedThroughputSetting != other.ProvisionedThroughputSetting) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1447,8 +1555,10 @@ public override int GetHashCode() { if (HasTopP) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TopP); if (HasTopK) hash ^= TopK.GetHashCode(); if (HasFrequencyPenalty) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FrequencyPenalty); + if (HasSeed) hash ^= Seed.GetHashCode(); if (HasPresencePenalty) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PresencePenalty); if (HasMaxOutputTokens) hash ^= MaxOutputTokens.GetHashCode(); + if (ProvisionedThroughputSetting != global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting.Unspecified) hash ^= ProvisionedThroughputSetting.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1499,6 +1609,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(80); output.WriteInt32(MaxOutputTokens); } + if (HasSeed) { + output.WriteRawTag(96); + output.WriteInt32(Seed); + } + if (ProvisionedThroughputSetting != global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting.Unspecified) { + output.WriteRawTag(104); + output.WriteEnum((int) ProvisionedThroughputSetting); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1541,6 +1659,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(80); output.WriteInt32(MaxOutputTokens); } + if (HasSeed) { + output.WriteRawTag(96); + output.WriteInt32(Seed); + } + if (ProvisionedThroughputSetting != global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting.Unspecified) { + output.WriteRawTag(104); + output.WriteEnum((int) ProvisionedThroughputSetting); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1569,12 +1695,18 @@ public int CalculateSize() { if (HasFrequencyPenalty) { size += 1 + 4; } + if (HasSeed) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seed); + } if (HasPresencePenalty) { size += 1 + 4; } if (HasMaxOutputTokens) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxOutputTokens); } + if (ProvisionedThroughputSetting != global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ProvisionedThroughputSetting); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1605,12 +1737,18 @@ public void MergeFrom(GenerationSpec other) { if (other.HasFrequencyPenalty) { FrequencyPenalty = other.FrequencyPenalty; } + if (other.HasSeed) { + Seed = other.Seed; + } if (other.HasPresencePenalty) { PresencePenalty = other.PresencePenalty; } if (other.HasMaxOutputTokens) { MaxOutputTokens = other.MaxOutputTokens; } + if (other.ProvisionedThroughputSetting != global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting.Unspecified) { + ProvisionedThroughputSetting = other.ProvisionedThroughputSetting; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1662,6 +1800,14 @@ public void MergeFrom(pb::CodedInputStream input) { MaxOutputTokens = input.ReadInt32(); break; } + case 96: { + Seed = input.ReadInt32(); + break; + } + case 104: { + ProvisionedThroughputSetting = (global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting) input.ReadEnum(); + break; + } } } #endif @@ -1713,11 +1859,48 @@ public void MergeFrom(pb::CodedInputStream input) { MaxOutputTokens = input.ReadInt32(); break; } + case 96: { + Seed = input.ReadInt32(); + break; + } + case 104: { + ProvisionedThroughputSetting = (global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GenerationSpec.Types.ProvisionedThroughputSetting) input.ReadEnum(); + break; + } } } } #endif + #region Nested types + /// Container for nested types declared in the GenerationSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Setting for provisioned throughput. + /// + public enum ProvisionedThroughputSetting { + /// + /// Default value. If the user has remaining provisioned throughput, + /// provisioned throughput will be used. Otherwise, pay as you go will be + /// used. + /// + [pbr::OriginalName("PROVISIONED_THROUGHPUT_SETTING_UNSPECIFIED")] Unspecified = 0, + /// + /// Only use provisioned throughput. If the user has no remaining + /// provisioned throughput, an error will be returned. + /// + [pbr::OriginalName("PROVISIONED_THROUGHPUT_ONLY")] ProvisionedThroughputOnly = 1, + /// + /// Disables provisioned throughput. + /// + [pbr::OriginalName("PAY_AS_YOU_GO_ONLY")] PayAsYouGoOnly = 2, + } + + } + #endregion + } /// @@ -2273,6 +2456,9 @@ public GroundingSource(GroundingSource other) : this() { case SourceOneofCase.GoogleSearchSource: GoogleSearchSource = other.GoogleSearchSource.Clone(); break; + case SourceOneofCase.EnterpriseWebRetrievalSource: + EnterpriseWebRetrievalSource = other.EnterpriseWebRetrievalSource.Clone(); + break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); @@ -2329,6 +2515,21 @@ public GroundingSource Clone() { } } + /// Field number for the "enterprise_web_retrieval_source" field. + public const int EnterpriseWebRetrievalSourceFieldNumber = 8; + /// + /// If set, grounding is performed with enterprise web retrieval. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource EnterpriseWebRetrievalSource { + get { return sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource ? (global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.EnterpriseWebRetrievalSource; + } + } + private object source_; /// Enum of possible cases for the "source" oneof. public enum SourceOneofCase { @@ -2336,6 +2537,7 @@ public enum SourceOneofCase { InlineSource = 1, SearchSource = 2, GoogleSearchSource = 3, + EnterpriseWebRetrievalSource = 8, } private SourceOneofCase sourceCase_ = SourceOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2369,6 +2571,7 @@ public bool Equals(GroundingSource other) { if (!object.Equals(InlineSource, other.InlineSource)) return false; if (!object.Equals(SearchSource, other.SearchSource)) return false; if (!object.Equals(GoogleSearchSource, other.GoogleSearchSource)) return false; + if (!object.Equals(EnterpriseWebRetrievalSource, other.EnterpriseWebRetrievalSource)) return false; if (SourceCase != other.SourceCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2380,6 +2583,7 @@ public override int GetHashCode() { if (sourceCase_ == SourceOneofCase.InlineSource) hash ^= InlineSource.GetHashCode(); if (sourceCase_ == SourceOneofCase.SearchSource) hash ^= SearchSource.GetHashCode(); if (sourceCase_ == SourceOneofCase.GoogleSearchSource) hash ^= GoogleSearchSource.GetHashCode(); + if (sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource) hash ^= EnterpriseWebRetrievalSource.GetHashCode(); hash ^= (int) sourceCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -2411,6 +2615,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(GoogleSearchSource); } + if (sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource) { + output.WriteRawTag(66); + output.WriteMessage(EnterpriseWebRetrievalSource); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2433,6 +2641,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(GoogleSearchSource); } + if (sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource) { + output.WriteRawTag(66); + output.WriteMessage(EnterpriseWebRetrievalSource); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2452,6 +2664,9 @@ public int CalculateSize() { if (sourceCase_ == SourceOneofCase.GoogleSearchSource) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GoogleSearchSource); } + if (sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnterpriseWebRetrievalSource); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2483,6 +2698,12 @@ public void MergeFrom(GroundingSource other) { } GoogleSearchSource.MergeFrom(other.GoogleSearchSource); break; + case SourceOneofCase.EnterpriseWebRetrievalSource: + if (EnterpriseWebRetrievalSource == null) { + EnterpriseWebRetrievalSource = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource(); + } + EnterpriseWebRetrievalSource.MergeFrom(other.EnterpriseWebRetrievalSource); + break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); @@ -2531,6 +2752,15 @@ public void MergeFrom(pb::CodedInputStream input) { GoogleSearchSource = subBuilder; break; } + case 66: { + global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource(); + if (sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource) { + subBuilder.MergeFrom(EnterpriseWebRetrievalSource); + } + input.ReadMessage(subBuilder); + EnterpriseWebRetrievalSource = subBuilder; + break; + } } } #endif @@ -2577,6 +2807,15 @@ public void MergeFrom(pb::CodedInputStream input) { GoogleSearchSource = subBuilder; break; } + case 66: { + global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource(); + if (sourceCase_ == SourceOneofCase.EnterpriseWebRetrievalSource) { + subBuilder.MergeFrom(EnterpriseWebRetrievalSource); + } + input.ReadMessage(subBuilder); + EnterpriseWebRetrievalSource = subBuilder; + break; + } } } } @@ -3183,6 +3422,8 @@ public GoogleSearchSource() { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GoogleSearchSource(GoogleSearchSource other) : this() { dynamicRetrievalConfig_ = other.dynamicRetrievalConfig_ != null ? other.dynamicRetrievalConfig_.Clone() : null; + excludeDomains_ = other.excludeDomains_.Clone(); + blockingConfidence_ = other.blockingConfidence_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3208,6 +3449,36 @@ public GoogleSearchSource Clone() { } } + /// Field number for the "exclude_domains" field. + public const int ExcludeDomainsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_excludeDomains_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField excludeDomains_ = new pbc::RepeatedField(); + /// + /// Optional. List of domains to be excluded from the search results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExcludeDomains { + get { return excludeDomains_; } + } + + /// Field number for the "blocking_confidence" field. + public const int BlockingConfidenceFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold blockingConfidence_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified; + /// + /// Optional. Sites with confidence level chosen & above this value will be + /// blocked from the search results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold BlockingConfidence { + get { return blockingConfidence_; } + set { + blockingConfidence_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3224,6 +3495,8 @@ public bool Equals(GoogleSearchSource other) { return true; } if (!object.Equals(DynamicRetrievalConfig, other.DynamicRetrievalConfig)) return false; + if(!excludeDomains_.Equals(other.excludeDomains_)) return false; + if (BlockingConfidence != other.BlockingConfidence) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3232,6 +3505,8 @@ public bool Equals(GoogleSearchSource other) { public override int GetHashCode() { int hash = 1; if (dynamicRetrievalConfig_ != null) hash ^= DynamicRetrievalConfig.GetHashCode(); + hash ^= excludeDomains_.GetHashCode(); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) hash ^= BlockingConfidence.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3254,6 +3529,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(DynamicRetrievalConfig); } + excludeDomains_.WriteTo(output, _repeated_excludeDomains_codec); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) BlockingConfidence); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3268,6 +3548,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(18); output.WriteMessage(DynamicRetrievalConfig); } + excludeDomains_.WriteTo(ref output, _repeated_excludeDomains_codec); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) BlockingConfidence); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3281,6 +3566,10 @@ public int CalculateSize() { if (dynamicRetrievalConfig_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DynamicRetrievalConfig); } + size += excludeDomains_.CalculateSize(_repeated_excludeDomains_codec); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BlockingConfidence); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3299,6 +3588,10 @@ public void MergeFrom(GoogleSearchSource other) { } DynamicRetrievalConfig.MergeFrom(other.DynamicRetrievalConfig); } + excludeDomains_.Add(other.excludeDomains_); + if (other.BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + BlockingConfidence = other.BlockingConfidence; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3325,6 +3618,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(DynamicRetrievalConfig); break; } + case 42: { + excludeDomains_.AddEntriesFrom(input, _repeated_excludeDomains_codec); + break; + } + case 48: { + BlockingConfidence = (global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold) input.ReadEnum(); + break; + } } } #endif @@ -3351,6 +3652,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(DynamicRetrievalConfig); break; } + case 42: { + excludeDomains_.AddEntriesFrom(ref input, _repeated_excludeDomains_codec); + break; + } + case 48: { + BlockingConfidence = (global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold) input.ReadEnum(); + break; + } } } } @@ -3358,96 +3667,330 @@ public void MergeFrom(pb::CodedInputStream input) { } - } - #endregion + /// + /// Params for using enterprise web retrieval as grounding source. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EnterpriseWebRetrievalSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnterpriseWebRetrievalSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Descriptor.NestedTypes[3]; } + } - /// - /// Grounding specification. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GroundingSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GroundingSpec()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Descriptor.NestedTypes[3]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnterpriseWebRetrievalSource() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GroundingSpec() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnterpriseWebRetrievalSource(EnterpriseWebRetrievalSource other) : this() { + excludeDomains_ = other.excludeDomains_.Clone(); + blockingConfidence_ = other.blockingConfidence_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnterpriseWebRetrievalSource Clone() { + return new EnterpriseWebRetrievalSource(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GroundingSpec(GroundingSpec other) : this() { - groundingSources_ = other.groundingSources_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + /// Field number for the "exclude_domains" field. + public const int ExcludeDomainsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_excludeDomains_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField excludeDomains_ = new pbc::RepeatedField(); + /// + /// Optional. List of domains to be excluded from the search results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExcludeDomains { + get { return excludeDomains_; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GroundingSpec Clone() { - return new GroundingSpec(this); - } + /// Field number for the "blocking_confidence" field. + public const int BlockingConfidenceFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold blockingConfidence_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified; + /// + /// Optional. Sites with confidence level chosen & above this value will be + /// blocked from the search results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold BlockingConfidence { + get { return blockingConfidence_; } + set { + blockingConfidence_ = value; + } + } - /// Field number for the "grounding_sources" field. - public const int GroundingSourcesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_groundingSources_codec - = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Parser); - private readonly pbc::RepeatedField groundingSources_ = new pbc::RepeatedField(); - /// - /// Grounding sources. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField GroundingSources { - get { return groundingSources_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EnterpriseWebRetrievalSource); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GroundingSpec); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EnterpriseWebRetrievalSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!excludeDomains_.Equals(other.excludeDomains_)) return false; + if (BlockingConfidence != other.BlockingConfidence) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GroundingSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!groundingSources_.Equals(other.groundingSources_)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= excludeDomains_.GetHashCode(); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) hash ^= BlockingConfidence.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + excludeDomains_.WriteTo(output, _repeated_excludeDomains_codec); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) BlockingConfidence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + excludeDomains_.WriteTo(ref output, _repeated_excludeDomains_codec); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) BlockingConfidence); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += excludeDomains_.CalculateSize(_repeated_excludeDomains_codec); + if (BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BlockingConfidence); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EnterpriseWebRetrievalSource other) { + if (other == null) { + return; + } + excludeDomains_.Add(other.excludeDomains_); + if (other.BlockingConfidence != global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold.Unspecified) { + BlockingConfidence = other.BlockingConfidence; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + excludeDomains_.AddEntriesFrom(input, _repeated_excludeDomains_codec); + break; + } + case 16: { + BlockingConfidence = (global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + excludeDomains_.AddEntriesFrom(ref input, _repeated_excludeDomains_codec); + break; + } + case 16: { + BlockingConfidence = (global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Types.PhishBlockThreshold) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Grounding specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GroundingSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GroundingSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Descriptor.NestedTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GroundingSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GroundingSpec(GroundingSpec other) : this() { + groundingSources_ = other.groundingSources_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GroundingSpec Clone() { + return new GroundingSpec(this); + } + + /// Field number for the "grounding_sources" field. + public const int GroundingSourcesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_groundingSources_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentRequest.Types.GroundingSource.Parser); + private readonly pbc::RepeatedField groundingSources_ = new pbc::RepeatedField(); + /// + /// Grounding sources. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GroundingSources { + get { return groundingSources_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GroundingSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GroundingSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!groundingSources_.Equals(other.groundingSources_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; hash ^= groundingSources_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -4162,6 +4705,8 @@ public GroundingMetadata(GroundingMetadata other) : this() { webSearchQueries_ = other.webSearchQueries_.Clone(); searchEntryPoint_ = other.searchEntryPoint_ != null ? other.searchEntryPoint_.Clone() : null; groundingSupport_ = other.groundingSupport_.Clone(); + images_ = other.images_.Clone(); + videos_ = other.videos_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4248,6 +4793,34 @@ public GroundingMetadata Clone() { get { return groundingSupport_; } } + /// Field number for the "images" field. + public const int ImagesFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_images_codec + = pb::FieldCodec.ForMessage(74, global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Parser); + private readonly pbc::RepeatedField images_ = new pbc::RepeatedField(); + /// + /// Images from the web search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Images { + get { return images_; } + } + + /// Field number for the "videos" field. + public const int VideosFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_videos_codec + = pb::FieldCodec.ForMessage(90, global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.VideoMetadata.Parser); + private readonly pbc::RepeatedField videos_ = new pbc::RepeatedField(); + /// + /// Videos from the web search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Videos { + get { return videos_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4268,6 +4841,8 @@ public bool Equals(GroundingMetadata other) { if(!webSearchQueries_.Equals(other.webSearchQueries_)) return false; if (!object.Equals(SearchEntryPoint, other.SearchEntryPoint)) return false; if(!groundingSupport_.Equals(other.groundingSupport_)) return false; + if(!images_.Equals(other.images_)) return false; + if(!videos_.Equals(other.videos_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4280,6 +4855,8 @@ public override int GetHashCode() { hash ^= webSearchQueries_.GetHashCode(); if (searchEntryPoint_ != null) hash ^= SearchEntryPoint.GetHashCode(); hash ^= groundingSupport_.GetHashCode(); + hash ^= images_.GetHashCode(); + hash ^= videos_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4306,6 +4883,8 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(SearchEntryPoint); } retrievalMetadata_.WriteTo(output, _repeated_retrievalMetadata_codec); + images_.WriteTo(output, _repeated_images_codec); + videos_.WriteTo(output, _repeated_videos_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4324,6 +4903,8 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(SearchEntryPoint); } retrievalMetadata_.WriteTo(ref output, _repeated_retrievalMetadata_codec); + images_.WriteTo(ref output, _repeated_images_codec); + videos_.WriteTo(ref output, _repeated_videos_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4341,6 +4922,8 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SearchEntryPoint); } size += groundingSupport_.CalculateSize(_repeated_groundingSupport_codec); + size += images_.CalculateSize(_repeated_images_codec); + size += videos_.CalculateSize(_repeated_videos_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4363,6 +4946,8 @@ public void MergeFrom(GroundingMetadata other) { SearchEntryPoint.MergeFrom(other.SearchEntryPoint); } groundingSupport_.Add(other.groundingSupport_); + images_.Add(other.images_); + videos_.Add(other.videos_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4405,6 +4990,14 @@ public void MergeFrom(pb::CodedInputStream input) { retrievalMetadata_.AddEntriesFrom(input, _repeated_retrievalMetadata_codec); break; } + case 74: { + images_.AddEntriesFrom(input, _repeated_images_codec); + break; + } + case 90: { + videos_.AddEntriesFrom(input, _repeated_videos_codec); + break; + } } } #endif @@ -4447,6 +5040,14 @@ public void MergeFrom(pb::CodedInputStream input) { retrievalMetadata_.AddEntriesFrom(ref input, _repeated_retrievalMetadata_codec); break; } + case 74: { + images_.AddEntriesFrom(ref input, _repeated_images_codec); + break; + } + case 90: { + videos_.AddEntriesFrom(ref input, _repeated_videos_codec); + break; + } } } } @@ -5788,898 +6389,1340 @@ public void MergeFrom(pb::CodedInputStream input) { } - } - #endregion + /// + /// Metadata about an image from the web search. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImageMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImageMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Descriptor.NestedTypes[5]; } + } - } - #endregion + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImageMetadata() { + OnConstruction(); + } - } - #endregion + partial void OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImageMetadata(ImageMetadata other) : this() { + image_ = other.image_ != null ? other.image_.Clone() : null; + thumbnail_ = other.thumbnail_ != null ? other.thumbnail_.Clone() : null; + source_ = other.source_ != null ? other.source_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// - /// Specification for the grounding check. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CheckGroundingSpec : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingSpec()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImageMetadata Clone() { + return new ImageMetadata(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[3]; } - } + /// Field number for the "image" field. + public const int ImageFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image image_; + /// + /// Metadata about the full size image. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image Image { + get { return image_; } + set { + image_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + /// Field number for the "thumbnail" field. + public const int ThumbnailFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image thumbnail_; + /// + /// Metadata about the thumbnail. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image Thumbnail { + get { return thumbnail_; } + set { + thumbnail_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingSpec() { - OnConstruction(); - } + /// Field number for the "source" field. + public const int SourceFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo source_; + /// + /// The details about the website that the image is from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo Source { + get { return source_; } + set { + source_ = value; + } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImageMetadata); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingSpec(CheckGroundingSpec other) : this() { - _hasBits0 = other._hasBits0; - citationThreshold_ = other.citationThreshold_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImageMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Image, other.Image)) return false; + if (!object.Equals(Thumbnail, other.Thumbnail)) return false; + if (!object.Equals(Source, other.Source)) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingSpec Clone() { - return new CheckGroundingSpec(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (image_ != null) hash ^= Image.GetHashCode(); + if (thumbnail_ != null) hash ^= Thumbnail.GetHashCode(); + if (source_ != null) hash ^= Source.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - /// Field number for the "citation_threshold" field. - public const int CitationThresholdFieldNumber = 1; - private readonly static double CitationThresholdDefaultValue = 0D; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - private double citationThreshold_; - /// - /// The threshold (in [0,1]) used for determining whether a fact must be - /// cited for a claim in the answer candidate. Choosing a higher threshold - /// will lead to fewer but very strong citations, while choosing a lower - /// threshold may lead to more but somewhat weaker citations. If unset, the - /// threshold will default to 0.6. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public double CitationThreshold { - get { if ((_hasBits0 & 1) != 0) { return citationThreshold_; } else { return CitationThresholdDefaultValue; } } - set { - _hasBits0 |= 1; - citationThreshold_ = value; - } - } - /// Gets whether the "citation_threshold" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCitationThreshold { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "citation_threshold" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCitationThreshold() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (image_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Image); + } + if (thumbnail_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Thumbnail); + } + if (source_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CheckGroundingSpec); - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (image_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Image); + } + if (thumbnail_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Thumbnail); + } + if (source_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Source); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CheckGroundingSpec other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CitationThreshold, other.CitationThreshold)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (image_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Image); + } + if (thumbnail_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Thumbnail); + } + if (source_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Source); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCitationThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CitationThreshold); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImageMetadata other) { + if (other == null) { + return; + } + if (other.image_ != null) { + if (image_ == null) { + Image = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image(); + } + Image.MergeFrom(other.Image); + } + if (other.thumbnail_ != null) { + if (thumbnail_ == null) { + Thumbnail = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image(); + } + Thumbnail.MergeFrom(other.Thumbnail); + } + if (other.source_ != null) { + if (source_ == null) { + Source = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo(); + } + Source.MergeFrom(other.Source); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (image_ == null) { + Image = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image(); + } + input.ReadMessage(Image); + break; + } + case 18: { + if (thumbnail_ == null) { + Thumbnail = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image(); + } + input.ReadMessage(Thumbnail); + break; + } + case 26: { + if (source_ == null) { + Source = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo(); + } + input.ReadMessage(Source); + break; + } + } + } + #endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCitationThreshold) { - output.WriteRawTag(9); - output.WriteDouble(CitationThreshold); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (image_ == null) { + Image = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image(); + } + input.ReadMessage(Image); + break; + } + case 18: { + if (thumbnail_ == null) { + Thumbnail = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.Image(); + } + input.ReadMessage(Thumbnail); + break; + } + case 26: { + if (source_ == null) { + Source = new global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Types.WebsiteInfo(); + } + input.ReadMessage(Source); + break; + } + } + } + } + #endif - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCitationThreshold) { - output.WriteRawTag(9); - output.WriteDouble(CitationThreshold); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + #region Nested types + /// Container for nested types declared in the ImageMetadata message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Metadata about the website that the image is from. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WebsiteInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WebsiteInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Descriptor.NestedTypes[0]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCitationThreshold) { - size += 1 + 8; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CheckGroundingSpec other) { - if (other == null) { - return; - } - if (other.HasCitationThreshold) { - CitationThreshold = other.CitationThreshold; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WebsiteInfo() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 9: { - CitationThreshold = input.ReadDouble(); - break; - } - } - } - #endif - } + partial void OnConstruction(); - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 9: { - CitationThreshold = input.ReadDouble(); - break; - } - } - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WebsiteInfo(WebsiteInfo other) : this() { + uri_ = other.uri_; + title_ = other.title_; + siteDisplayName_ = other.siteDisplayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WebsiteInfo Clone() { + return new WebsiteInfo(this); + } - /// - /// Request message for - /// [GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding] - /// method. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CheckGroundingRequest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingRequest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + /// Field number for the "uri" field. + public const int UriFieldNumber = 1; + private string uri_ = ""; + /// + /// The url of the website. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[4]; } - } + /// Field number for the "title" field. + public const int TitleFieldNumber = 2; + private string title_ = ""; + /// + /// The title of the website. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + /// Field number for the "site_display_name" field. + public const int SiteDisplayNameFieldNumber = 3; + private string siteDisplayName_ = ""; + /// + /// The display name of the website. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SiteDisplayName { + get { return siteDisplayName_; } + set { + siteDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingRequest() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WebsiteInfo); + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WebsiteInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Uri != other.Uri) return false; + if (Title != other.Title) return false; + if (SiteDisplayName != other.SiteDisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingRequest(CheckGroundingRequest other) : this() { - groundingConfig_ = other.groundingConfig_; - answerCandidate_ = other.answerCandidate_; - facts_ = other.facts_.Clone(); - groundingSpec_ = other.groundingSpec_ != null ? other.groundingSpec_.Clone() : null; - userLabels_ = other.userLabels_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (SiteDisplayName.Length != 0) hash ^= SiteDisplayName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingRequest Clone() { - return new CheckGroundingRequest(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - /// Field number for the "grounding_config" field. - public const int GroundingConfigFieldNumber = 1; - private string groundingConfig_ = ""; - /// - /// Required. The resource name of the grounding config, such as - /// `projects/*/locations/global/groundingConfigs/default_grounding_config`. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string GroundingConfig { - get { return groundingConfig_; } - set { - groundingConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Uri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (SiteDisplayName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(SiteDisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - /// Field number for the "answer_candidate" field. - public const int AnswerCandidateFieldNumber = 2; - private string answerCandidate_ = ""; - /// - /// Answer candidate to check. It can have a maximum length of 4096 tokens. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AnswerCandidate { - get { return answerCandidate_; } - set { - answerCandidate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Uri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (SiteDisplayName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(SiteDisplayName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (SiteDisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SiteDisplayName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - /// Field number for the "facts" field. - public const int FactsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_facts_codec - = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingFact.Parser); - private readonly pbc::RepeatedField facts_ = new pbc::RepeatedField(); - /// - /// List of facts for the grounding check. - /// We support up to 200 facts. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Facts { - get { return facts_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WebsiteInfo other) { + if (other == null) { + return; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.SiteDisplayName.Length != 0) { + SiteDisplayName = other.SiteDisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - /// Field number for the "grounding_spec" field. - public const int GroundingSpecFieldNumber = 4; - private global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec groundingSpec_; - /// - /// Configuration of the grounding check. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec GroundingSpec { - get { return groundingSpec_; } - set { - groundingSpec_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Uri = input.ReadString(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 26: { + SiteDisplayName = input.ReadString(); + break; + } + } + } + #endif + } - /// Field number for the "user_labels" field. - public const int UserLabelsFieldNumber = 5; - private static readonly pbc::MapField.Codec _map_userLabels_codec - = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 42); - private readonly pbc::MapField userLabels_ = new pbc::MapField(); - /// - /// The user labels applied to a resource must meet the following requirements: - /// - /// * Each resource can have multiple labels, up to a maximum of 64. - /// * Each label must be a key-value pair. - /// * Keys have a minimum length of 1 character and a maximum length of 63 - /// characters and cannot be empty. Values can be empty and have a maximum - /// length of 63 characters. - /// * Keys and values can contain only lowercase letters, numeric characters, - /// underscores, and dashes. All characters must use UTF-8 encoding, and - /// international characters are allowed. - /// * The key portion of a label must be unique. However, you can use the same - /// key with multiple resources. - /// * Keys must start with a lowercase letter or international character. - /// - /// See [Google Cloud - /// Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) - /// for more details. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::MapField UserLabels { - get { return userLabels_; } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Uri = input.ReadString(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 26: { + SiteDisplayName = input.ReadString(); + break; + } + } + } + } + #endif - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CheckGroundingRequest); - } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CheckGroundingRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (GroundingConfig != other.GroundingConfig) return false; - if (AnswerCandidate != other.AnswerCandidate) return false; - if(!facts_.Equals(other.facts_)) return false; - if (!object.Equals(GroundingSpec, other.GroundingSpec)) return false; - if (!UserLabels.Equals(other.UserLabels)) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// + /// Metadata about the image. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Image : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Image()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.ImageMetadata.Descriptor.NestedTypes[1]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (GroundingConfig.Length != 0) hash ^= GroundingConfig.GetHashCode(); - if (AnswerCandidate.Length != 0) hash ^= AnswerCandidate.GetHashCode(); - hash ^= facts_.GetHashCode(); - if (groundingSpec_ != null) hash ^= GroundingSpec.GetHashCode(); - hash ^= UserLabels.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Image() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (GroundingConfig.Length != 0) { - output.WriteRawTag(10); - output.WriteString(GroundingConfig); - } - if (AnswerCandidate.Length != 0) { - output.WriteRawTag(18); - output.WriteString(AnswerCandidate); - } - facts_.WriteTo(output, _repeated_facts_codec); - if (groundingSpec_ != null) { - output.WriteRawTag(34); - output.WriteMessage(GroundingSpec); - } - userLabels_.WriteTo(output, _map_userLabels_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + partial void OnConstruction(); - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (GroundingConfig.Length != 0) { - output.WriteRawTag(10); - output.WriteString(GroundingConfig); - } - if (AnswerCandidate.Length != 0) { - output.WriteRawTag(18); - output.WriteString(AnswerCandidate); - } - facts_.WriteTo(ref output, _repeated_facts_codec); - if (groundingSpec_ != null) { - output.WriteRawTag(34); - output.WriteMessage(GroundingSpec); - } - userLabels_.WriteTo(ref output, _map_userLabels_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Image(Image other) : this() { + uri_ = other.uri_; + width_ = other.width_; + height_ = other.height_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (GroundingConfig.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(GroundingConfig); - } - if (AnswerCandidate.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerCandidate); - } - size += facts_.CalculateSize(_repeated_facts_codec); - if (groundingSpec_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(GroundingSpec); - } - size += userLabels_.CalculateSize(_map_userLabels_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Image Clone() { + return new Image(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CheckGroundingRequest other) { - if (other == null) { - return; - } - if (other.GroundingConfig.Length != 0) { - GroundingConfig = other.GroundingConfig; - } - if (other.AnswerCandidate.Length != 0) { - AnswerCandidate = other.AnswerCandidate; - } - facts_.Add(other.facts_); - if (other.groundingSpec_ != null) { - if (groundingSpec_ == null) { - GroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec(); - } - GroundingSpec.MergeFrom(other.GroundingSpec); - } - userLabels_.MergeFrom(other.userLabels_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + /// Field number for the "uri" field. + public const int UriFieldNumber = 1; + private string uri_ = ""; + /// + /// The url of the image. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - GroundingConfig = input.ReadString(); - break; - } - case 18: { - AnswerCandidate = input.ReadString(); - break; - } - case 26: { - facts_.AddEntriesFrom(input, _repeated_facts_codec); - break; - } - case 34: { - if (groundingSpec_ == null) { - GroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec(); - } - input.ReadMessage(GroundingSpec); - break; - } - case 42: { - userLabels_.AddEntriesFrom(input, _map_userLabels_codec); - break; - } - } - } - #endif - } + /// Field number for the "width" field. + public const int WidthFieldNumber = 2; + private int width_; + /// + /// The width of the image in pixels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Width { + get { return width_; } + set { + width_ = value; + } + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - GroundingConfig = input.ReadString(); - break; - } - case 18: { - AnswerCandidate = input.ReadString(); - break; - } - case 26: { - facts_.AddEntriesFrom(ref input, _repeated_facts_codec); - break; - } - case 34: { - if (groundingSpec_ == null) { - GroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec(); - } - input.ReadMessage(GroundingSpec); - break; - } - case 42: { - userLabels_.AddEntriesFrom(ref input, _map_userLabels_codec); - break; - } - } - } - } - #endif + /// Field number for the "height" field. + public const int HeightFieldNumber = 3; + private int height_; + /// + /// The height of the image in pixels. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Height { + get { return height_; } + set { + height_ = value; + } + } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Image); + } - /// - /// Response message for the - /// [GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding] - /// method. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CheckGroundingResponse : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingResponse()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Image other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Uri != other.Uri) return false; + if (Width != other.Width) return false; + if (Height != other.Height) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[5]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Width != 0) hash ^= Width.GetHashCode(); + if (Height != 0) hash ^= Height.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingResponse() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Uri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Uri); + } + if (Width != 0) { + output.WriteRawTag(16); + output.WriteInt32(Width); + } + if (Height != 0) { + output.WriteRawTag(24); + output.WriteInt32(Height); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - partial void OnConstruction(); + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Uri.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Uri); + } + if (Width != 0) { + output.WriteRawTag(16); + output.WriteInt32(Width); + } + if (Height != 0) { + output.WriteRawTag(24); + output.WriteInt32(Height); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Width != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Width); + } + if (Height != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Height); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingResponse(CheckGroundingResponse other) : this() { - _hasBits0 = other._hasBits0; - supportScore_ = other.supportScore_; - citedChunks_ = other.citedChunks_.Clone(); - citedFacts_ = other.citedFacts_.Clone(); - claims_ = other.claims_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Image other) { + if (other == null) { + return; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Width != 0) { + Width = other.Width; + } + if (other.Height != 0) { + Height = other.Height; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingResponse Clone() { - return new CheckGroundingResponse(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Uri = input.ReadString(); + break; + } + case 16: { + Width = input.ReadInt32(); + break; + } + case 24: { + Height = input.ReadInt32(); + break; + } + } + } + #endif + } - /// Field number for the "support_score" field. - public const int SupportScoreFieldNumber = 1; - private readonly static float SupportScoreDefaultValue = 0F; + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Uri = input.ReadString(); + break; + } + case 16: { + Width = input.ReadInt32(); + break; + } + case 24: { + Height = input.ReadInt32(); + break; + } + } + } + } + #endif - private float supportScore_; - /// - /// The support score for the input answer candidate. - /// Higher the score, higher is the fraction of claims that are supported by - /// the provided facts. This is always set when a response is returned. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SupportScore { - get { if ((_hasBits0 & 1) != 0) { return supportScore_; } else { return SupportScoreDefaultValue; } } - set { - _hasBits0 |= 1; - supportScore_ = value; - } - } - /// Gets whether the "support_score" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSupportScore { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "support_score" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSupportScore() { - _hasBits0 &= ~1; - } + } - /// Field number for the "cited_chunks" field. - public const int CitedChunksFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_citedChunks_codec - = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.FactChunk.Parser); - private readonly pbc::RepeatedField citedChunks_ = new pbc::RepeatedField(); - /// - /// List of facts cited across all claims in the answer candidate. - /// These are derived from the facts supplied in the request. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CitedChunks { - get { return citedChunks_; } - } + } + #endregion - /// Field number for the "cited_facts" field. - public const int CitedFactsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_citedFacts_codec - = pb::FieldCodec.ForMessage(50, global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.CheckGroundingFactChunk.Parser); - private readonly pbc::RepeatedField citedFacts_ = new pbc::RepeatedField(); - /// - /// List of facts cited across all claims in the answer candidate. - /// These are derived from the facts supplied in the request. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CitedFacts { - get { return citedFacts_; } - } + } - /// Field number for the "claims" field. - public const int ClaimsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_claims_codec - = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.Claim.Parser); - private readonly pbc::RepeatedField claims_ = new pbc::RepeatedField(); - /// - /// Claim texts and citation info across all claims in the answer candidate. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Claims { - get { return claims_; } - } + /// + /// Metadata about a video from the web search. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VideoMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VideoMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CheckGroundingResponse); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Descriptor.NestedTypes[6]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CheckGroundingResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SupportScore, other.SupportScore)) return false; - if(!citedChunks_.Equals(other.citedChunks_)) return false; - if(!citedFacts_.Equals(other.citedFacts_)) return false; - if(!claims_.Equals(other.claims_)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasSupportScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SupportScore); - hash ^= citedChunks_.GetHashCode(); - hash ^= citedFacts_.GetHashCode(); - hash ^= claims_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VideoMetadata() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VideoMetadata(VideoMetadata other) : this() { + youtubeExternalId_ = other.youtubeExternalId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VideoMetadata Clone() { + return new VideoMetadata(this); + } + + /// Field number for the "youtube_external_id" field. + public const int YoutubeExternalIdFieldNumber = 1; + private string youtubeExternalId_ = ""; + /// + /// The external id of the video. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string YoutubeExternalId { + get { return youtubeExternalId_; } + set { + youtubeExternalId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VideoMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VideoMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (YoutubeExternalId != other.YoutubeExternalId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (YoutubeExternalId.Length != 0) hash ^= YoutubeExternalId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (YoutubeExternalId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(YoutubeExternalId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (YoutubeExternalId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(YoutubeExternalId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (YoutubeExternalId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(YoutubeExternalId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VideoMetadata other) { + if (other == null) { + return; + } + if (other.YoutubeExternalId.Length != 0) { + YoutubeExternalId = other.YoutubeExternalId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + YoutubeExternalId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + YoutubeExternalId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasSupportScore) { - output.WriteRawTag(13); - output.WriteFloat(SupportScore); - } - citedChunks_.WriteTo(output, _repeated_citedChunks_codec); - claims_.WriteTo(output, _repeated_claims_codec); - citedFacts_.WriteTo(output, _repeated_citedFacts_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); } - #endif + } + #endregion - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + } + + /// + /// Specification for the grounding check. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CheckGroundingSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingSpec()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasSupportScore) { - output.WriteRawTag(13); - output.WriteFloat(SupportScore); - } - citedChunks_.WriteTo(ref output, _repeated_citedChunks_codec); - claims_.WriteTo(ref output, _repeated_claims_codec); - citedFacts_.WriteTo(ref output, _repeated_citedFacts_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasSupportScore) { - size += 1 + 4; - } - size += citedChunks_.CalculateSize(_repeated_citedChunks_codec); - size += citedFacts_.CalculateSize(_repeated_citedFacts_codec); - size += claims_.CalculateSize(_repeated_claims_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CheckGroundingResponse other) { - if (other == null) { - return; - } - if (other.HasSupportScore) { - SupportScore = other.SupportScore; - } - citedChunks_.Add(other.citedChunks_); - citedFacts_.Add(other.citedFacts_); - claims_.Add(other.claims_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - SupportScore = input.ReadFloat(); - break; - } - case 26: { - citedChunks_.AddEntriesFrom(input, _repeated_citedChunks_codec); - break; - } - case 34: { - claims_.AddEntriesFrom(input, _repeated_claims_codec); - break; - } - case 50: { - citedFacts_.AddEntriesFrom(input, _repeated_citedFacts_codec); - break; - } - } - } - #endif + public CheckGroundingSpec() { + OnConstruction(); } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + public CheckGroundingSpec(CheckGroundingSpec other) : this() { + _hasBits0 = other._hasBits0; + citationThreshold_ = other.citationThreshold_; + enableClaimLevelScore_ = other.enableClaimLevelScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingSpec Clone() { + return new CheckGroundingSpec(this); + } + + /// Field number for the "citation_threshold" field. + public const int CitationThresholdFieldNumber = 1; + private readonly static double CitationThresholdDefaultValue = 0D; + + private double citationThreshold_; + /// + /// The threshold (in [0,1]) used for determining whether a fact must be + /// cited for a claim in the answer candidate. Choosing a higher threshold + /// will lead to fewer but very strong citations, while choosing a lower + /// threshold may lead to more but somewhat weaker citations. If unset, the + /// threshold will default to 0.6. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double CitationThreshold { + get { if ((_hasBits0 & 1) != 0) { return citationThreshold_; } else { return CitationThresholdDefaultValue; } } + set { + _hasBits0 |= 1; + citationThreshold_ = value; + } + } + /// Gets whether the "citation_threshold" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCitationThreshold { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "citation_threshold" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCitationThreshold() { + _hasBits0 &= ~1; + } + + /// Field number for the "enable_claim_level_score" field. + public const int EnableClaimLevelScoreFieldNumber = 4; + private readonly static bool EnableClaimLevelScoreDefaultValue = false; + + private bool enableClaimLevelScore_; + /// + /// The control flag that enables claim-level grounding score in the response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableClaimLevelScore { + get { if ((_hasBits0 & 2) != 0) { return enableClaimLevelScore_; } else { return EnableClaimLevelScoreDefaultValue; } } + set { + _hasBits0 |= 2; + enableClaimLevelScore_ = value; + } + } + /// Gets whether the "enable_claim_level_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEnableClaimLevelScore { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "enable_claim_level_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEnableClaimLevelScore() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CheckGroundingSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CheckGroundingSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CitationThreshold, other.CitationThreshold)) return false; + if (EnableClaimLevelScore != other.EnableClaimLevelScore) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCitationThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CitationThreshold); + if (HasEnableClaimLevelScore) hash ^= EnableClaimLevelScore.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCitationThreshold) { + output.WriteRawTag(9); + output.WriteDouble(CitationThreshold); + } + if (HasEnableClaimLevelScore) { + output.WriteRawTag(32); + output.WriteBool(EnableClaimLevelScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCitationThreshold) { + output.WriteRawTag(9); + output.WriteDouble(CitationThreshold); + } + if (HasEnableClaimLevelScore) { + output.WriteRawTag(32); + output.WriteBool(EnableClaimLevelScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCitationThreshold) { + size += 1 + 8; + } + if (HasEnableClaimLevelScore) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CheckGroundingSpec other) { + if (other == null) { + return; + } + if (other.HasCitationThreshold) { + CitationThreshold = other.CitationThreshold; + } + if (other.HasEnableClaimLevelScore) { + EnableClaimLevelScore = other.EnableClaimLevelScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { @@ -6688,22 +7731,41 @@ public void MergeFrom(pb::CodedInputStream input) { } switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 13: { - SupportScore = input.ReadFloat(); + case 9: { + CitationThreshold = input.ReadDouble(); break; } - case 26: { - citedChunks_.AddEntriesFrom(ref input, _repeated_citedChunks_codec); + case 32: { + EnableClaimLevelScore = input.ReadBool(); break; } - case 34: { - claims_.AddEntriesFrom(ref input, _repeated_claims_codec); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 9: { + CitationThreshold = input.ReadDouble(); break; } - case 50: { - citedFacts_.AddEntriesFrom(ref input, _repeated_citedFacts_codec); + case 32: { + EnableClaimLevelScore = input.ReadBool(); break; } } @@ -6711,630 +7773,2030 @@ public void MergeFrom(pb::CodedInputStream input) { } #endif - #region Nested types - /// Container for nested types declared in the CheckGroundingResponse message type. + } + + /// + /// Request message for + /// [GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CheckGroundingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingRequest()); + private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - /// - /// Fact chunk for grounding check. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CheckGroundingFactChunk : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingFactChunk()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Descriptor.NestedTypes[0]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[4]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingFactChunk() { - OnConstruction(); - } - - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingRequest() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingFactChunk(CheckGroundingFactChunk other) : this() { - chunkText_ = other.chunkText_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CheckGroundingFactChunk Clone() { - return new CheckGroundingFactChunk(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingRequest(CheckGroundingRequest other) : this() { + groundingConfig_ = other.groundingConfig_; + answerCandidate_ = other.answerCandidate_; + facts_ = other.facts_.Clone(); + groundingSpec_ = other.groundingSpec_ != null ? other.groundingSpec_.Clone() : null; + userLabels_ = other.userLabels_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "chunk_text" field. - public const int ChunkTextFieldNumber = 1; - private string chunkText_ = ""; - /// - /// Text content of the fact chunk. Can be at most 10K characters long. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ChunkText { - get { return chunkText_; } - set { - chunkText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingRequest Clone() { + return new CheckGroundingRequest(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CheckGroundingFactChunk); - } + /// Field number for the "grounding_config" field. + public const int GroundingConfigFieldNumber = 1; + private string groundingConfig_ = ""; + /// + /// Required. The resource name of the grounding config, such as + /// `projects/*/locations/global/groundingConfigs/default_grounding_config`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GroundingConfig { + get { return groundingConfig_; } + set { + groundingConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CheckGroundingFactChunk other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ChunkText != other.ChunkText) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// Field number for the "answer_candidate" field. + public const int AnswerCandidateFieldNumber = 2; + private string answerCandidate_ = ""; + /// + /// Answer candidate to check. It can have a maximum length of 4096 tokens. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AnswerCandidate { + get { return answerCandidate_; } + set { + answerCandidate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ChunkText.Length != 0) hash ^= ChunkText.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + /// Field number for the "facts" field. + public const int FactsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_facts_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingFact.Parser); + private readonly pbc::RepeatedField facts_ = new pbc::RepeatedField(); + /// + /// List of facts for the grounding check. + /// We support up to 200 facts. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Facts { + get { return facts_; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + /// Field number for the "grounding_spec" field. + public const int GroundingSpecFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec groundingSpec_; + /// + /// Configuration of the grounding check. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec GroundingSpec { + get { return groundingSpec_; } + set { + groundingSpec_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ChunkText.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ChunkText); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + /// Field number for the "user_labels" field. + public const int UserLabelsFieldNumber = 5; + private static readonly pbc::MapField.Codec _map_userLabels_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 42); + private readonly pbc::MapField userLabels_ = new pbc::MapField(); + /// + /// The user labels applied to a resource must meet the following requirements: + /// + /// * Each resource can have multiple labels, up to a maximum of 64. + /// * Each label must be a key-value pair. + /// * Keys have a minimum length of 1 character and a maximum length of 63 + /// characters and cannot be empty. Values can be empty and have a maximum + /// length of 63 characters. + /// * Keys and values can contain only lowercase letters, numeric characters, + /// underscores, and dashes. All characters must use UTF-8 encoding, and + /// international characters are allowed. + /// * The key portion of a label must be unique. However, you can use the same + /// key with multiple resources. + /// * Keys must start with a lowercase letter or international character. + /// + /// See [Google Cloud + /// Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + /// for more details. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField UserLabels { + get { return userLabels_; } + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ChunkText.Length != 0) { - output.WriteRawTag(10); - output.WriteString(ChunkText); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CheckGroundingRequest); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ChunkText.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ChunkText); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CheckGroundingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GroundingConfig != other.GroundingConfig) return false; + if (AnswerCandidate != other.AnswerCandidate) return false; + if(!facts_.Equals(other.facts_)) return false; + if (!object.Equals(GroundingSpec, other.GroundingSpec)) return false; + if (!UserLabels.Equals(other.UserLabels)) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CheckGroundingFactChunk other) { - if (other == null) { - return; - } - if (other.ChunkText.Length != 0) { - ChunkText = other.ChunkText; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (GroundingConfig.Length != 0) hash ^= GroundingConfig.GetHashCode(); + if (AnswerCandidate.Length != 0) hash ^= AnswerCandidate.GetHashCode(); + hash ^= facts_.GetHashCode(); + if (groundingSpec_ != null) hash ^= GroundingSpec.GetHashCode(); + hash ^= UserLabels.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (GroundingConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(GroundingConfig); + } + if (AnswerCandidate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AnswerCandidate); + } + facts_.WriteTo(output, _repeated_facts_codec); + if (groundingSpec_ != null) { + output.WriteRawTag(34); + output.WriteMessage(GroundingSpec); + } + userLabels_.WriteTo(output, _map_userLabels_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (GroundingConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(GroundingConfig); + } + if (AnswerCandidate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AnswerCandidate); + } + facts_.WriteTo(ref output, _repeated_facts_codec); + if (groundingSpec_ != null) { + output.WriteRawTag(34); + output.WriteMessage(GroundingSpec); + } + userLabels_.WriteTo(ref output, _map_userLabels_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (GroundingConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GroundingConfig); + } + if (AnswerCandidate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AnswerCandidate); + } + size += facts_.CalculateSize(_repeated_facts_codec); + if (groundingSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GroundingSpec); + } + size += userLabels_.CalculateSize(_map_userLabels_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CheckGroundingRequest other) { + if (other == null) { + return; + } + if (other.GroundingConfig.Length != 0) { + GroundingConfig = other.GroundingConfig; + } + if (other.AnswerCandidate.Length != 0) { + AnswerCandidate = other.AnswerCandidate; + } + facts_.Add(other.facts_); + if (other.groundingSpec_ != null) { + if (groundingSpec_ == null) { + GroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec(); + } + GroundingSpec.MergeFrom(other.GroundingSpec); + } + userLabels_.MergeFrom(other.userLabels_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + GroundingConfig = input.ReadString(); + break; } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - ChunkText = input.ReadString(); - break; - } + case 18: { + AnswerCandidate = input.ReadString(); + break; + } + case 26: { + facts_.AddEntriesFrom(input, _repeated_facts_codec); + break; + } + case 34: { + if (groundingSpec_ == null) { + GroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec(); } + input.ReadMessage(GroundingSpec); + break; + } + case 42: { + userLabels_.AddEntriesFrom(input, _map_userLabels_codec); + break; } - #endif } + } + #endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + GroundingConfig = input.ReadString(); + break; } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - ChunkText = input.ReadString(); - break; - } + case 18: { + AnswerCandidate = input.ReadString(); + break; + } + case 26: { + facts_.AddEntriesFrom(ref input, _repeated_facts_codec); + break; + } + case 34: { + if (groundingSpec_ == null) { + GroundingSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingSpec(); } + input.ReadMessage(GroundingSpec); + break; + } + case 42: { + userLabels_.AddEntriesFrom(ref input, _map_userLabels_codec); + break; } } - #endif - } + } + #endif - /// - /// Text and citation info for a claim in the answer candidate. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Claim : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Claim()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Descriptor.NestedTypes[1]; } - } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + /// + /// Response message for the + /// [GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CheckGroundingResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingResponse()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Claim() { - OnConstruction(); - } - - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[5]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Claim(Claim other) : this() { - _hasBits0 = other._hasBits0; - startPos_ = other.startPos_; - endPos_ = other.endPos_; - claimText_ = other.claimText_; - citationIndices_ = other.citationIndices_.Clone(); - groundingCheckRequired_ = other.groundingCheckRequired_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Claim Clone() { - return new Claim(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingResponse() { + OnConstruction(); + } - /// Field number for the "start_pos" field. - public const int StartPosFieldNumber = 1; - private readonly static int StartPosDefaultValue = 0; + partial void OnConstruction(); - private int startPos_; - /// - /// Position indicating the start of the claim in the answer candidate, - /// measured in bytes. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StartPos { - get { if ((_hasBits0 & 1) != 0) { return startPos_; } else { return StartPosDefaultValue; } } - set { - _hasBits0 |= 1; - startPos_ = value; - } - } - /// Gets whether the "start_pos" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStartPos { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "start_pos" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStartPos() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingResponse(CheckGroundingResponse other) : this() { + _hasBits0 = other._hasBits0; + supportScore_ = other.supportScore_; + citedChunks_ = other.citedChunks_.Clone(); + citedFacts_ = other.citedFacts_.Clone(); + claims_ = other.claims_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "end_pos" field. - public const int EndPosFieldNumber = 2; - private readonly static int EndPosDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingResponse Clone() { + return new CheckGroundingResponse(this); + } - private int endPos_; - /// - /// Position indicating the end of the claim in the answer candidate, - /// exclusive. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EndPos { - get { if ((_hasBits0 & 2) != 0) { return endPos_; } else { return EndPosDefaultValue; } } - set { - _hasBits0 |= 2; - endPos_ = value; - } - } - /// Gets whether the "end_pos" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasEndPos { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "end_pos" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearEndPos() { - _hasBits0 &= ~2; - } + /// Field number for the "support_score" field. + public const int SupportScoreFieldNumber = 1; + private readonly static float SupportScoreDefaultValue = 0F; - /// Field number for the "claim_text" field. - public const int ClaimTextFieldNumber = 3; - private string claimText_ = ""; - /// - /// Text for the claim in the answer candidate. Always provided regardless of - /// whether citations or anti-citations are found. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ClaimText { - get { return claimText_; } - set { - claimText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + private float supportScore_; + /// + /// The support score for the input answer candidate. + /// Higher the score, higher is the fraction of claims that are supported by + /// the provided facts. This is always set when a response is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float SupportScore { + get { if ((_hasBits0 & 1) != 0) { return supportScore_; } else { return SupportScoreDefaultValue; } } + set { + _hasBits0 |= 1; + supportScore_ = value; + } + } + /// Gets whether the "support_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSupportScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "support_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSupportScore() { + _hasBits0 &= ~1; + } - /// Field number for the "citation_indices" field. - public const int CitationIndicesFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_citationIndices_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField citationIndices_ = new pbc::RepeatedField(); - /// - /// A list of indices (into 'cited_chunks') specifying the citations - /// associated with the claim. For instance [1,3,4] means that - /// cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited - /// supporting for the claim. A citation to a fact indicates that the claim - /// is supported by the fact. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CitationIndices { - get { return citationIndices_; } - } + /// Field number for the "cited_chunks" field. + public const int CitedChunksFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_citedChunks_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.FactChunk.Parser); + private readonly pbc::RepeatedField citedChunks_ = new pbc::RepeatedField(); + /// + /// List of facts cited across all claims in the answer candidate. + /// These are derived from the facts supplied in the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CitedChunks { + get { return citedChunks_; } + } - /// Field number for the "grounding_check_required" field. - public const int GroundingCheckRequiredFieldNumber = 6; - private readonly static bool GroundingCheckRequiredDefaultValue = false; + /// Field number for the "cited_facts" field. + public const int CitedFactsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_citedFacts_codec + = pb::FieldCodec.ForMessage(50, global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.CheckGroundingFactChunk.Parser); + private readonly pbc::RepeatedField citedFacts_ = new pbc::RepeatedField(); + /// + /// List of facts cited across all claims in the answer candidate. + /// These are derived from the facts supplied in the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CitedFacts { + get { return citedFacts_; } + } - private bool groundingCheckRequired_; - /// - /// Indicates that this claim required grounding check. When the system - /// decided this claim doesn't require attribution/grounding check, this - /// field will be set to false. In that case, no grounding check was done for - /// the claim and therefore - /// [citation_indices][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.citation_indices], - /// [anti_citation_indices][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.anti_citation_indices], - /// and - /// [score][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.score] - /// should not be returned. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool GroundingCheckRequired { - get { if ((_hasBits0 & 4) != 0) { return groundingCheckRequired_; } else { return GroundingCheckRequiredDefaultValue; } } - set { - _hasBits0 |= 4; - groundingCheckRequired_ = value; - } - } - /// Gets whether the "grounding_check_required" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasGroundingCheckRequired { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "grounding_check_required" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearGroundingCheckRequired() { - _hasBits0 &= ~4; - } + /// Field number for the "claims" field. + public const int ClaimsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_claims_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Types.Claim.Parser); + private readonly pbc::RepeatedField claims_ = new pbc::RepeatedField(); + /// + /// Claim texts and citation info across all claims in the answer candidate. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Claims { + get { return claims_; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Claim); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CheckGroundingResponse); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Claim other) { - if (ReferenceEquals(other, null)) { - return false; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CheckGroundingResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SupportScore, other.SupportScore)) return false; + if(!citedChunks_.Equals(other.citedChunks_)) return false; + if(!citedFacts_.Equals(other.citedFacts_)) return false; + if(!claims_.Equals(other.claims_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSupportScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SupportScore); + hash ^= citedChunks_.GetHashCode(); + hash ^= citedFacts_.GetHashCode(); + hash ^= claims_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSupportScore) { + output.WriteRawTag(13); + output.WriteFloat(SupportScore); + } + citedChunks_.WriteTo(output, _repeated_citedChunks_codec); + claims_.WriteTo(output, _repeated_claims_codec); + citedFacts_.WriteTo(output, _repeated_citedFacts_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSupportScore) { + output.WriteRawTag(13); + output.WriteFloat(SupportScore); + } + citedChunks_.WriteTo(ref output, _repeated_citedChunks_codec); + claims_.WriteTo(ref output, _repeated_claims_codec); + citedFacts_.WriteTo(ref output, _repeated_citedFacts_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSupportScore) { + size += 1 + 4; + } + size += citedChunks_.CalculateSize(_repeated_citedChunks_codec); + size += citedFacts_.CalculateSize(_repeated_citedFacts_codec); + size += claims_.CalculateSize(_repeated_claims_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CheckGroundingResponse other) { + if (other == null) { + return; + } + if (other.HasSupportScore) { + SupportScore = other.SupportScore; + } + citedChunks_.Add(other.citedChunks_); + citedFacts_.Add(other.citedFacts_); + claims_.Add(other.claims_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + SupportScore = input.ReadFloat(); + break; } - if (ReferenceEquals(other, this)) { - return true; + case 26: { + citedChunks_.AddEntriesFrom(input, _repeated_citedChunks_codec); + break; } - if (StartPos != other.StartPos) return false; - if (EndPos != other.EndPos) return false; - if (ClaimText != other.ClaimText) return false; - if(!citationIndices_.Equals(other.citationIndices_)) return false; - if (GroundingCheckRequired != other.GroundingCheckRequired) return false; - return Equals(_unknownFields, other._unknownFields); + case 34: { + claims_.AddEntriesFrom(input, _repeated_claims_codec); + break; + } + case 50: { + citedFacts_.AddEntriesFrom(input, _repeated_citedFacts_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + SupportScore = input.ReadFloat(); + break; + } + case 26: { + citedChunks_.AddEntriesFrom(ref input, _repeated_citedChunks_codec); + break; + } + case 34: { + claims_.AddEntriesFrom(ref input, _repeated_claims_codec); + break; + } + case 50: { + citedFacts_.AddEntriesFrom(ref input, _repeated_citedFacts_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CheckGroundingResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Fact chunk for grounding check. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CheckGroundingFactChunk : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckGroundingFactChunk()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasStartPos) hash ^= StartPos.GetHashCode(); - if (HasEndPos) hash ^= EndPos.GetHashCode(); - if (ClaimText.Length != 0) hash ^= ClaimText.GetHashCode(); - hash ^= citationIndices_.GetHashCode(); - if (HasGroundingCheckRequired) hash ^= GroundingCheckRequired.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + public CheckGroundingFactChunk() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingFactChunk(CheckGroundingFactChunk other) : this() { + chunkText_ = other.chunkText_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CheckGroundingFactChunk Clone() { + return new CheckGroundingFactChunk(this); } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasStartPos) { - output.WriteRawTag(8); - output.WriteInt32(StartPos); - } - if (HasEndPos) { - output.WriteRawTag(16); - output.WriteInt32(EndPos); - } - if (ClaimText.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ClaimText); - } - citationIndices_.WriteTo(output, _repeated_citationIndices_codec); - if (HasGroundingCheckRequired) { - output.WriteRawTag(48); - output.WriteBool(GroundingCheckRequired); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif + /// Field number for the "chunk_text" field. + public const int ChunkTextFieldNumber = 1; + private string chunkText_ = ""; + /// + /// Text content of the fact chunk. Can be at most 10K characters long. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChunkText { + get { return chunkText_; } + set { + chunkText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CheckGroundingFactChunk); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CheckGroundingFactChunk other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ChunkText != other.ChunkText) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ChunkText.Length != 0) hash ^= ChunkText.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ChunkText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ChunkText); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ChunkText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ChunkText); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ChunkText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChunkText); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CheckGroundingFactChunk other) { + if (other == null) { + return; + } + if (other.ChunkText.Length != 0) { + ChunkText = other.ChunkText; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ChunkText = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ChunkText = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Text and citation info for a claim in the answer candidate. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Claim : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Claim()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.CheckGroundingResponse.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Claim() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Claim(Claim other) : this() { + _hasBits0 = other._hasBits0; + startPos_ = other.startPos_; + endPos_ = other.endPos_; + claimText_ = other.claimText_; + citationIndices_ = other.citationIndices_.Clone(); + groundingCheckRequired_ = other.groundingCheckRequired_; + score_ = other.score_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Claim Clone() { + return new Claim(this); + } + + /// Field number for the "start_pos" field. + public const int StartPosFieldNumber = 1; + private readonly static int StartPosDefaultValue = 0; + + private int startPos_; + /// + /// Position indicating the start of the claim in the answer candidate, + /// measured in bytes. Note that this is not measured in characters and, + /// therefore, must be rendered in the user interface keeping in mind that + /// some characters may take more than one byte. For example, + /// if the claim text contains non-ASCII characters, the start and end + /// positions vary when measured in characters + /// (programming-language-dependent) and when measured in bytes + /// (programming-language-independent). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StartPos { + get { if ((_hasBits0 & 1) != 0) { return startPos_; } else { return StartPosDefaultValue; } } + set { + _hasBits0 |= 1; + startPos_ = value; + } + } + /// Gets whether the "start_pos" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStartPos { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "start_pos" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStartPos() { + _hasBits0 &= ~1; + } + + /// Field number for the "end_pos" field. + public const int EndPosFieldNumber = 2; + private readonly static int EndPosDefaultValue = 0; + + private int endPos_; + /// + /// Position indicating the end of the claim in the answer candidate, + /// exclusive, in bytes. Note that this is not measured in characters and, + /// therefore, must be rendered as such. For example, if the claim text + /// contains non-ASCII characters, the start and end positions vary when + /// measured in characters (programming-language-dependent) and when measured + /// in bytes (programming-language-independent). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EndPos { + get { if ((_hasBits0 & 2) != 0) { return endPos_; } else { return EndPosDefaultValue; } } + set { + _hasBits0 |= 2; + endPos_ = value; + } + } + /// Gets whether the "end_pos" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEndPos { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "end_pos" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEndPos() { + _hasBits0 &= ~2; + } + + /// Field number for the "claim_text" field. + public const int ClaimTextFieldNumber = 3; + private string claimText_ = ""; + /// + /// Text for the claim in the answer candidate. Always provided regardless of + /// whether citations or anti-citations are found. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClaimText { + get { return claimText_; } + set { + claimText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "citation_indices" field. + public const int CitationIndicesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_citationIndices_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField citationIndices_ = new pbc::RepeatedField(); + /// + /// A list of indices (into 'cited_chunks') specifying the citations + /// associated with the claim. For instance [1,3,4] means that + /// cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited + /// supporting for the claim. A citation to a fact indicates that the claim + /// is supported by the fact. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CitationIndices { + get { return citationIndices_; } + } + + /// Field number for the "grounding_check_required" field. + public const int GroundingCheckRequiredFieldNumber = 6; + private readonly static bool GroundingCheckRequiredDefaultValue = false; + + private bool groundingCheckRequired_; + /// + /// Indicates that this claim required grounding check. When the system + /// decided this claim doesn't require attribution/grounding check, this + /// field will be set to false. In that case, no grounding check was done for + /// the claim and therefore + /// [citation_indices][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.citation_indices] + /// should not be returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool GroundingCheckRequired { + get { if ((_hasBits0 & 4) != 0) { return groundingCheckRequired_; } else { return GroundingCheckRequiredDefaultValue; } } + set { + _hasBits0 |= 4; + groundingCheckRequired_ = value; + } + } + /// Gets whether the "grounding_check_required" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGroundingCheckRequired { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "grounding_check_required" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroundingCheckRequired() { + _hasBits0 &= ~4; + } + + /// Field number for the "score" field. + public const int ScoreFieldNumber = 7; + private readonly static double ScoreDefaultValue = 0D; + + private double score_; + /// + /// Confidence score for the claim in the answer candidate, in the range of + /// [0, 1]. This is set only when + /// `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Score { + get { if ((_hasBits0 & 8) != 0) { return score_; } else { return ScoreDefaultValue; } } + set { + _hasBits0 |= 8; + score_ = value; + } + } + /// Gets whether the "score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasScore { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearScore() { + _hasBits0 &= ~8; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Claim); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Claim other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StartPos != other.StartPos) return false; + if (EndPos != other.EndPos) return false; + if (ClaimText != other.ClaimText) return false; + if(!citationIndices_.Equals(other.citationIndices_)) return false; + if (GroundingCheckRequired != other.GroundingCheckRequired) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Score, other.Score)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStartPos) hash ^= StartPos.GetHashCode(); + if (HasEndPos) hash ^= EndPos.GetHashCode(); + if (ClaimText.Length != 0) hash ^= ClaimText.GetHashCode(); + hash ^= citationIndices_.GetHashCode(); + if (HasGroundingCheckRequired) hash ^= GroundingCheckRequired.GetHashCode(); + if (HasScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Score); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStartPos) { + output.WriteRawTag(8); + output.WriteInt32(StartPos); + } + if (HasEndPos) { + output.WriteRawTag(16); + output.WriteInt32(EndPos); + } + if (ClaimText.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClaimText); + } + citationIndices_.WriteTo(output, _repeated_citationIndices_codec); + if (HasGroundingCheckRequired) { + output.WriteRawTag(48); + output.WriteBool(GroundingCheckRequired); + } + if (HasScore) { + output.WriteRawTag(57); + output.WriteDouble(Score); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStartPos) { + output.WriteRawTag(8); + output.WriteInt32(StartPos); + } + if (HasEndPos) { + output.WriteRawTag(16); + output.WriteInt32(EndPos); + } + if (ClaimText.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClaimText); + } + citationIndices_.WriteTo(ref output, _repeated_citationIndices_codec); + if (HasGroundingCheckRequired) { + output.WriteRawTag(48); + output.WriteBool(GroundingCheckRequired); + } + if (HasScore) { + output.WriteRawTag(57); + output.WriteDouble(Score); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStartPos) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartPos); + } + if (HasEndPos) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndPos); + } + if (ClaimText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClaimText); + } + size += citationIndices_.CalculateSize(_repeated_citationIndices_codec); + if (HasGroundingCheckRequired) { + size += 1 + 1; + } + if (HasScore) { + size += 1 + 8; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Claim other) { + if (other == null) { + return; + } + if (other.HasStartPos) { + StartPos = other.StartPos; + } + if (other.HasEndPos) { + EndPos = other.EndPos; + } + if (other.ClaimText.Length != 0) { + ClaimText = other.ClaimText; + } + citationIndices_.Add(other.citationIndices_); + if (other.HasGroundingCheckRequired) { + GroundingCheckRequired = other.GroundingCheckRequired; + } + if (other.HasScore) { + Score = other.Score; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StartPos = input.ReadInt32(); + break; + } + case 16: { + EndPos = input.ReadInt32(); + break; + } + case 26: { + ClaimText = input.ReadString(); + break; + } + case 34: + case 32: { + citationIndices_.AddEntriesFrom(input, _repeated_citationIndices_codec); + break; + } + case 48: { + GroundingCheckRequired = input.ReadBool(); + break; + } + case 57: { + Score = input.ReadDouble(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StartPos = input.ReadInt32(); + break; + } + case 16: { + EndPos = input.ReadInt32(); + break; + } + case 26: { + ClaimText = input.ReadString(); + break; + } + case 34: + case 32: { + citationIndices_.AddEntriesFrom(ref input, _repeated_citationIndices_codec); + break; + } + case 48: { + GroundingCheckRequired = input.ReadBool(); + break; + } + case 57: { + Score = input.ReadDouble(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// A collection of source attributions for a piece of content. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CitationMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CitationMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CitationMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CitationMetadata(CitationMetadata other) : this() { + citations_ = other.citations_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CitationMetadata Clone() { + return new CitationMetadata(this); + } + + /// Field number for the "citations" field. + public const int CitationsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_citations_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.Citation.Parser); + private readonly pbc::RepeatedField citations_ = new pbc::RepeatedField(); + /// + /// Output only. List of citations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Citations { + get { return citations_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CitationMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CitationMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!citations_.Equals(other.citations_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= citations_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + citations_.WriteTo(output, _repeated_citations_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + citations_.WriteTo(ref output, _repeated_citations_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += citations_.CalculateSize(_repeated_citations_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CitationMetadata other) { + if (other == null) { + return; + } + citations_.Add(other.citations_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + citations_.AddEntriesFrom(input, _repeated_citations_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + citations_.AddEntriesFrom(ref input, _repeated_citations_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Source attributions for content. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Citation : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Citation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Citation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Citation(Citation other) : this() { + startIndex_ = other.startIndex_; + endIndex_ = other.endIndex_; + uri_ = other.uri_; + title_ = other.title_; + license_ = other.license_; + publicationDate_ = other.publicationDate_ != null ? other.publicationDate_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Citation Clone() { + return new Citation(this); + } + + /// Field number for the "start_index" field. + public const int StartIndexFieldNumber = 1; + private int startIndex_; + /// + /// Output only. Start index into the content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StartIndex { + get { return startIndex_; } + set { + startIndex_ = value; + } + } + + /// Field number for the "end_index" field. + public const int EndIndexFieldNumber = 2; + private int endIndex_; + /// + /// Output only. End index into the content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EndIndex { + get { return endIndex_; } + set { + endIndex_ = value; + } + } + + /// Field number for the "uri" field. + public const int UriFieldNumber = 3; + private string uri_ = ""; + /// + /// Output only. Url reference of the attribution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 4; + private string title_ = ""; + /// + /// Output only. Title of the attribution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "license" field. + public const int LicenseFieldNumber = 5; + private string license_ = ""; + /// + /// Output only. License of the attribution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string License { + get { return license_; } + set { + license_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "publication_date" field. + public const int PublicationDateFieldNumber = 6; + private global::Google.Type.Date publicationDate_; + /// + /// Output only. Publication date of the attribution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Type.Date PublicationDate { + get { return publicationDate_; } + set { + publicationDate_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Citation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Citation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StartIndex != other.StartIndex) return false; + if (EndIndex != other.EndIndex) return false; + if (Uri != other.Uri) return false; + if (Title != other.Title) return false; + if (License != other.License) return false; + if (!object.Equals(PublicationDate, other.PublicationDate)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (StartIndex != 0) hash ^= StartIndex.GetHashCode(); + if (EndIndex != 0) hash ^= EndIndex.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (License.Length != 0) hash ^= License.GetHashCode(); + if (publicationDate_ != null) hash ^= PublicationDate.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (StartIndex != 0) { + output.WriteRawTag(8); + output.WriteInt32(StartIndex); + } + if (EndIndex != 0) { + output.WriteRawTag(16); + output.WriteInt32(EndIndex); + } + if (Uri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (License.Length != 0) { + output.WriteRawTag(42); + output.WriteString(License); + } + if (publicationDate_ != null) { + output.WriteRawTag(50); + output.WriteMessage(PublicationDate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StartIndex != 0) { + output.WriteRawTag(8); + output.WriteInt32(StartIndex); + } + if (EndIndex != 0) { + output.WriteRawTag(16); + output.WriteInt32(EndIndex); + } + if (Uri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (License.Length != 0) { + output.WriteRawTag(42); + output.WriteString(License); + } + if (publicationDate_ != null) { + output.WriteRawTag(50); + output.WriteMessage(PublicationDate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (StartIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartIndex); + } + if (EndIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndIndex); + } + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (License.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(License); + } + if (publicationDate_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PublicationDate); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Citation other) { + if (other == null) { + return; + } + if (other.StartIndex != 0) { + StartIndex = other.StartIndex; + } + if (other.EndIndex != 0) { + EndIndex = other.EndIndex; + } + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.License.Length != 0) { + License = other.License; + } + if (other.publicationDate_ != null) { + if (publicationDate_ == null) { + PublicationDate = new global::Google.Type.Date(); } + PublicationDate.MergeFrom(other.PublicationDate); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasStartPos) { - output.WriteRawTag(8); - output.WriteInt32(StartPos); - } - if (HasEndPos) { - output.WriteRawTag(16); - output.WriteInt32(EndPos); - } - if (ClaimText.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ClaimText); - } - citationIndices_.WriteTo(ref output, _repeated_citationIndices_codec); - if (HasGroundingCheckRequired) { - output.WriteRawTag(48); - output.WriteBool(GroundingCheckRequired); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + StartIndex = input.ReadInt32(); + break; } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasStartPos) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartPos); + case 16: { + EndIndex = input.ReadInt32(); + break; } - if (HasEndPos) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndPos); + case 26: { + Uri = input.ReadString(); + break; } - if (ClaimText.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ClaimText); + case 34: { + Title = input.ReadString(); + break; } - size += citationIndices_.CalculateSize(_repeated_citationIndices_codec); - if (HasGroundingCheckRequired) { - size += 1 + 1; + case 42: { + License = input.ReadString(); + break; } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + case 50: { + if (publicationDate_ == null) { + PublicationDate = new global::Google.Type.Date(); + } + input.ReadMessage(PublicationDate); + break; } - return size; } + } + #endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Claim other) { - if (other == null) { - return; - } - if (other.HasStartPos) { - StartPos = other.StartPos; - } - if (other.HasEndPos) { - EndPos = other.EndPos; - } - if (other.ClaimText.Length != 0) { - ClaimText = other.ClaimText; + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + StartIndex = input.ReadInt32(); + break; } - citationIndices_.Add(other.citationIndices_); - if (other.HasGroundingCheckRequired) { - GroundingCheckRequired = other.GroundingCheckRequired; + case 16: { + EndIndex = input.ReadInt32(); + break; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + case 26: { + Uri = input.ReadString(); + break; } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - StartPos = input.ReadInt32(); - break; - } - case 16: { - EndPos = input.ReadInt32(); - break; - } - case 26: { - ClaimText = input.ReadString(); - break; - } - case 34: - case 32: { - citationIndices_.AddEntriesFrom(input, _repeated_citationIndices_codec); - break; - } - case 48: { - GroundingCheckRequired = input.ReadBool(); - break; - } - } + case 34: { + Title = input.ReadString(); + break; } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + case 42: { + License = input.ReadString(); + break; } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - StartPos = input.ReadInt32(); - break; - } - case 16: { - EndPos = input.ReadInt32(); - break; - } - case 26: { - ClaimText = input.ReadString(); - break; - } - case 34: - case 32: { - citationIndices_.AddEntriesFrom(ref input, _repeated_citationIndices_codec); - break; - } - case 48: { - GroundingCheckRequired = input.ReadBool(); - break; - } + case 50: { + if (publicationDate_ == null) { + PublicationDate = new global::Google.Type.Date(); } + input.ReadMessage(PublicationDate); + break; } } - #endif + } + } + #endif + #region Nested types + /// Container for nested types declared in the Citation message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// These are available confidence level user can set to block malicious urls + /// with chosen confidence and above. For understanding different confidence of + /// webrisk, please refer to + /// https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevel + /// + public enum PhishBlockThreshold { + /// + /// Defaults to unspecified. + /// + [pbr::OriginalName("PHISH_BLOCK_THRESHOLD_UNSPECIFIED")] Unspecified = 0, + /// + /// Blocks Low and above confidence URL that is risky. + /// + [pbr::OriginalName("BLOCK_LOW_AND_ABOVE")] BlockLowAndAbove = 30, + /// + /// Blocks Medium and above confidence URL that is risky. + /// + [pbr::OriginalName("BLOCK_MEDIUM_AND_ABOVE")] BlockMediumAndAbove = 40, + /// + /// Blocks High and above confidence URL that is risky. + /// + [pbr::OriginalName("BLOCK_HIGH_AND_ABOVE")] BlockHighAndAbove = 50, + /// + /// Blocks Higher and above confidence URL that is risky. + /// + [pbr::OriginalName("BLOCK_HIGHER_AND_ABOVE")] BlockHigherAndAbove = 55, + /// + /// Blocks Very high and above confidence URL that is risky. + /// + [pbr::OriginalName("BLOCK_VERY_HIGH_AND_ABOVE")] BlockVeryHighAndAbove = 60, + /// + /// Blocks Extremely high confidence URL that is risky. + /// + [pbr::OriginalName("BLOCK_ONLY_EXTREMELY_HIGH")] BlockOnlyExtremelyHigh = 100, } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceClient.g.cs index fd09a7e7e7ab..d852efbed598 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceClient.g.cs @@ -190,11 +190,15 @@ public abstract partial class GroundedGenerationServiceClient /// The default GroundedGenerationService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceGrpc.g.cs index fd27ffa8ed29..ca68a7fa0490 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/GroundedGenerationServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/grounded_generation_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Grounding.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Grounding.g.cs index 4e9965c76050..704f0f03f80e 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Grounding.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Grounding.g.cs @@ -35,24 +35,25 @@ static GroundingReflection() { "CmF0dHJpYnV0ZXMYAiADKAsyQi5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5n", "aW5lLnYxYmV0YS5Hcm91bmRpbmdGYWN0LkF0dHJpYnV0ZXNFbnRyeRoxCg9B", "dHRyaWJ1dGVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4", - "ASLSAQoJRmFjdENodW5rEhIKCmNodW5rX3RleHQYASABKAkSDgoGc291cmNl", + "ASL+AQoJRmFjdENodW5rEhIKCmNodW5rX3RleHQYASABKAkSDgoGc291cmNl", "GAIgASgJEg0KBWluZGV4GAQgASgFElsKD3NvdXJjZV9tZXRhZGF0YRgDIAMo", "CzJCLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkZhY3RD", - "aHVuay5Tb3VyY2VNZXRhZGF0YUVudHJ5GjUKE1NvdXJjZU1ldGFkYXRhRW50", - "cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUKVAgonY29tLmdv", - "b2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQg5Hcm91bmRpbmdQ", - "cm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9h", - "cGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKi", - "Ag9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5n", - "aW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFi", - "ZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFi", - "BnByb3RvMw==")); + "aHVuay5Tb3VyY2VNZXRhZGF0YUVudHJ5EgsKA3VyaRgFIAEoCRINCgV0aXRs", + "ZRgGIAEoCRIOCgZkb21haW4YByABKAkaNQoTU291cmNlTWV0YWRhdGFFbnRy", + "eRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQpUCCidjb20uZ29v", + "Z2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGFCDkdyb3VuZGluZ1By", + "b3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2Fw", + "aXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqIC", + "D0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdp", + "bmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJl", + "dGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIG", + "cHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingConfig.Parser, new[]{ "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingFact), global::Google.Cloud.DiscoveryEngine.V1Beta.GroundingFact.Parser, new[]{ "FactText", "Attributes" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.FactChunk), global::Google.Cloud.DiscoveryEngine.V1Beta.FactChunk.Parser, new[]{ "ChunkText", "Source", "Index", "SourceMetadata" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.FactChunk), global::Google.Cloud.DiscoveryEngine.V1Beta.FactChunk.Parser, new[]{ "ChunkText", "Source", "Index", "SourceMetadata", "Uri", "Title", "Domain" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }) })); } #endregion @@ -541,6 +542,9 @@ public FactChunk(FactChunk other) : this() { source_ = other.source_; index_ = other.index_; sourceMetadata_ = other.sourceMetadata_.Clone(); + uri_ = other.uri_; + title_ = other.title_; + domain_ = other.domain_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -612,6 +616,51 @@ public int Index { get { return sourceMetadata_; } } + /// Field number for the "uri" field. + public const int UriFieldNumber = 5; + private string uri_ = ""; + /// + /// The URI of the source. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "title" field. + public const int TitleFieldNumber = 6; + private string title_ = ""; + /// + /// The title of the source. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "domain" field. + public const int DomainFieldNumber = 7; + private string domain_ = ""; + /// + /// The domain of the source. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Domain { + get { return domain_; } + set { + domain_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -631,6 +680,9 @@ public bool Equals(FactChunk other) { if (Source != other.Source) return false; if (Index != other.Index) return false; if (!SourceMetadata.Equals(other.SourceMetadata)) return false; + if (Uri != other.Uri) return false; + if (Title != other.Title) return false; + if (Domain != other.Domain) return false; return Equals(_unknownFields, other._unknownFields); } @@ -642,6 +694,9 @@ public override int GetHashCode() { if (Source.Length != 0) hash ^= Source.GetHashCode(); if (Index != 0) hash ^= Index.GetHashCode(); hash ^= SourceMetadata.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Domain.Length != 0) hash ^= Domain.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -673,6 +728,18 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteInt32(Index); } + if (Uri.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title); + } + if (Domain.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Domain); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -696,6 +763,18 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteInt32(Index); } + if (Uri.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Uri); + } + if (Title.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title); + } + if (Domain.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Domain); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -716,6 +795,15 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); } size += sourceMetadata_.CalculateSize(_map_sourceMetadata_codec); + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Domain.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Domain); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -738,6 +826,15 @@ public void MergeFrom(FactChunk other) { Index = other.Index; } sourceMetadata_.MergeFrom(other.sourceMetadata_); + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Domain.Length != 0) { + Domain = other.Domain; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -773,6 +870,18 @@ public void MergeFrom(pb::CodedInputStream input) { Index = input.ReadInt32(); break; } + case 42: { + Uri = input.ReadString(); + break; + } + case 50: { + Title = input.ReadString(); + break; + } + case 58: { + Domain = input.ReadString(); + break; + } } } #endif @@ -808,6 +917,18 @@ public void MergeFrom(pb::CodedInputStream input) { Index = input.ReadInt32(); break; } + case 42: { + Uri = input.ReadString(); + break; + } + case 50: { + Title = input.ReadString(); + break; + } + case 58: { + Domain = input.ReadString(); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStore.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStore.g.cs new file mode 100644 index 000000000000..56e9000e4371 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStore.g.cs @@ -0,0 +1,763 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/identity_mapping_store.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/identity_mapping_store.proto + public static partial class IdentityMappingStoreReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/identity_mapping_store.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static IdentityMappingStoreReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CkBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9pZGVudGl0", + "eV9tYXBwaW5nX3N0b3JlLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5", + "ZW5naW5lLnYxYmV0YRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90", + "bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxo9Z29vZ2xlL2Nsb3VkL2Rp", + "c2NvdmVyeWVuZ2luZS92MWJldGEvY21la19jb25maWdfc2VydmljZS5wcm90", + "byKjAgoUSWRlbnRpdHlNYXBwaW5nU3RvcmUSEQoEbmFtZRgBIAEoCUID4EEF", + "EhkKDGttc19rZXlfbmFtZRgDIAEoCUID4EEEEkkKC2NtZWtfY29uZmlnGAQg", + "ASgLMi8uZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuQ21l", + "a0NvbmZpZ0ID4EEDOpEB6kGNAQozZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFw", + "aXMuY29tL0lkZW50aXR5TWFwcGluZ1N0b3JlElZwcm9qZWN0cy97cHJvamVj", + "dH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vaWRlbnRpdHlNYXBwaW5nU3RvcmVz", + "L3tpZGVudGl0eV9tYXBwaW5nX3N0b3JlfSKaAQoUSWRlbnRpdHlNYXBwaW5n", + "RW50cnkSEQoHdXNlcl9pZBgCIAEoCUgAEhIKCGdyb3VwX2lkGAMgASgJSAAS", + "HgoRZXh0ZXJuYWxfaWRlbnRpdHkYASABKAlCA+BBAhIjChZleHRlcm5hbF9p", + "ZGVudGl0eV9uYW1lGAQgASgJQgPgQQFCFgoUaWRlbnRpdHlfcHJvdmlkZXJf", + "aWRCoAIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0", + "YUIZSWRlbnRpdHlNYXBwaW5nU3RvcmVQcm90b1ABWlFjbG91ZC5nb29nbGUu", + "Y29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5n", + "aW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNH", + "b29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxD", + "bG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6", + "RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfigServiceReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore), global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore.Parser, new[]{ "Name", "KmsKeyName", "CmekConfig" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry), global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry.Parser, new[]{ "UserId", "GroupId", "ExternalIdentity", "ExternalIdentityName" }, new[]{ "IdentityProviderId" }, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Identity Mapping Store which contains Identity Mapping Entries. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IdentityMappingStore : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IdentityMappingStore()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingStore() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingStore(IdentityMappingStore other) : this() { + name_ = other.name_; + kmsKeyName_ = other.kmsKeyName_; + cmekConfig_ = other.cmekConfig_ != null ? other.cmekConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingStore Clone() { + return new IdentityMappingStore(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The full resource name of the identity mapping store. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. + /// This field must be a UTF-8 encoded string with a length limit of 1024 + /// characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "kms_key_name" field. + public const int KmsKeyNameFieldNumber = 3; + private string kmsKeyName_ = ""; + /// + /// Input only. The KMS key to be used to protect this Identity Mapping Store + /// at creation time. + /// + /// Must be set for requests that need to comply with CMEK Org Policy + /// protections. + /// + /// If this field is set and processed successfully, the Identity Mapping Store + /// will be protected by the KMS key, as indicated in the cmek_config field. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string KmsKeyName { + get { return kmsKeyName_; } + set { + kmsKeyName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "cmek_config" field. + public const int CmekConfigFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig cmekConfig_; + /// + /// Output only. CMEK-related information for the Identity Mapping Store. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig CmekConfig { + get { return cmekConfig_; } + set { + cmekConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IdentityMappingStore); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IdentityMappingStore other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (KmsKeyName != other.KmsKeyName) return false; + if (!object.Equals(CmekConfig, other.CmekConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (KmsKeyName.Length != 0) hash ^= KmsKeyName.GetHashCode(); + if (cmekConfig_ != null) hash ^= CmekConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (KmsKeyName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(KmsKeyName); + } + if (cmekConfig_ != null) { + output.WriteRawTag(34); + output.WriteMessage(CmekConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (KmsKeyName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(KmsKeyName); + } + if (cmekConfig_ != null) { + output.WriteRawTag(34); + output.WriteMessage(CmekConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (KmsKeyName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(KmsKeyName); + } + if (cmekConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CmekConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IdentityMappingStore other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.KmsKeyName.Length != 0) { + KmsKeyName = other.KmsKeyName; + } + if (other.cmekConfig_ != null) { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + CmekConfig.MergeFrom(other.CmekConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 26: { + KmsKeyName = input.ReadString(); + break; + } + case 34: { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(CmekConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 26: { + KmsKeyName = input.ReadString(); + break; + } + case 34: { + if (cmekConfig_ == null) { + CmekConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.CmekConfig(); + } + input.ReadMessage(CmekConfig); + break; + } + } + } + } + #endif + + } + + /// + /// Identity Mapping Entry that maps an external identity to an internal + /// identity. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IdentityMappingEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IdentityMappingEntry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingEntry(IdentityMappingEntry other) : this() { + externalIdentity_ = other.externalIdentity_; + externalIdentityName_ = other.externalIdentityName_; + switch (other.IdentityProviderIdCase) { + case IdentityProviderIdOneofCase.UserId: + UserId = other.UserId; + break; + case IdentityProviderIdOneofCase.GroupId: + GroupId = other.GroupId; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingEntry Clone() { + return new IdentityMappingEntry(this); + } + + /// Field number for the "user_id" field. + public const int UserIdFieldNumber = 2; + /// + /// User identifier. + /// For Google Workspace user account, user_id should be the google workspace + /// user email. + /// For non-google identity provider, user_id is the mapped user identifier + /// configured during the workforcepool config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return HasUserId ? (string) identityProviderId_ : ""; } + set { + identityProviderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + identityProviderIdCase_ = IdentityProviderIdOneofCase.UserId; + } + } + /// Gets whether the "user_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUserId { + get { return identityProviderIdCase_ == IdentityProviderIdOneofCase.UserId; } + } + /// Clears the value of the oneof if it's currently set to "user_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUserId() { + if (HasUserId) { + ClearIdentityProviderId(); + } + } + + /// Field number for the "group_id" field. + public const int GroupIdFieldNumber = 3; + /// + /// Group identifier. + /// For Google Workspace user account, group_id should be the google + /// workspace group email. + /// For non-google identity provider, group_id is the mapped group identifier + /// configured during the workforcepool config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GroupId { + get { return HasGroupId ? (string) identityProviderId_ : ""; } + set { + identityProviderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + identityProviderIdCase_ = IdentityProviderIdOneofCase.GroupId; + } + } + /// Gets whether the "group_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGroupId { + get { return identityProviderIdCase_ == IdentityProviderIdOneofCase.GroupId; } + } + /// Clears the value of the oneof if it's currently set to "group_id" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGroupId() { + if (HasGroupId) { + ClearIdentityProviderId(); + } + } + + /// Field number for the "external_identity" field. + public const int ExternalIdentityFieldNumber = 1; + private string externalIdentity_ = ""; + /// + /// Required. Identity outside the customer identity provider. + /// The length limit of external identity will be of 100 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ExternalIdentity { + get { return externalIdentity_; } + set { + externalIdentity_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "external_identity_name" field. + public const int ExternalIdentityNameFieldNumber = 4; + private string externalIdentityName_ = ""; + /// + /// Optional. The name of the external identity. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ExternalIdentityName { + get { return externalIdentityName_; } + set { + externalIdentityName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + private object identityProviderId_; + /// Enum of possible cases for the "identity_provider_id" oneof. + public enum IdentityProviderIdOneofCase { + None = 0, + UserId = 2, + GroupId = 3, + } + private IdentityProviderIdOneofCase identityProviderIdCase_ = IdentityProviderIdOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityProviderIdOneofCase IdentityProviderIdCase { + get { return identityProviderIdCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIdentityProviderId() { + identityProviderIdCase_ = IdentityProviderIdOneofCase.None; + identityProviderId_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IdentityMappingEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IdentityMappingEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (GroupId != other.GroupId) return false; + if (ExternalIdentity != other.ExternalIdentity) return false; + if (ExternalIdentityName != other.ExternalIdentityName) return false; + if (IdentityProviderIdCase != other.IdentityProviderIdCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasUserId) hash ^= UserId.GetHashCode(); + if (HasGroupId) hash ^= GroupId.GetHashCode(); + if (ExternalIdentity.Length != 0) hash ^= ExternalIdentity.GetHashCode(); + if (ExternalIdentityName.Length != 0) hash ^= ExternalIdentityName.GetHashCode(); + hash ^= (int) identityProviderIdCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ExternalIdentity.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ExternalIdentity); + } + if (HasUserId) { + output.WriteRawTag(18); + output.WriteString(UserId); + } + if (HasGroupId) { + output.WriteRawTag(26); + output.WriteString(GroupId); + } + if (ExternalIdentityName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ExternalIdentityName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ExternalIdentity.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ExternalIdentity); + } + if (HasUserId) { + output.WriteRawTag(18); + output.WriteString(UserId); + } + if (HasGroupId) { + output.WriteRawTag(26); + output.WriteString(GroupId); + } + if (ExternalIdentityName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ExternalIdentityName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasUserId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (HasGroupId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupId); + } + if (ExternalIdentity.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ExternalIdentity); + } + if (ExternalIdentityName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ExternalIdentityName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IdentityMappingEntry other) { + if (other == null) { + return; + } + if (other.ExternalIdentity.Length != 0) { + ExternalIdentity = other.ExternalIdentity; + } + if (other.ExternalIdentityName.Length != 0) { + ExternalIdentityName = other.ExternalIdentityName; + } + switch (other.IdentityProviderIdCase) { + case IdentityProviderIdOneofCase.UserId: + UserId = other.UserId; + break; + case IdentityProviderIdOneofCase.GroupId: + GroupId = other.GroupId; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ExternalIdentity = input.ReadString(); + break; + } + case 18: { + UserId = input.ReadString(); + break; + } + case 26: { + GroupId = input.ReadString(); + break; + } + case 34: { + ExternalIdentityName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ExternalIdentity = input.ReadString(); + break; + } + case 18: { + UserId = input.ReadString(); + break; + } + case 26: { + GroupId = input.ReadString(); + break; + } + case 34: { + ExternalIdentityName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreResourceNames.g.cs new file mode 100644 index 000000000000..54cf682b92f1 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreResourceNames.g.cs @@ -0,0 +1,311 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the IdentityMappingStore resource. + public sealed partial class IdentityMappingStoreName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}. + /// + ProjectLocationIdentityMappingStore = 1, + } + + private static gax::PathTemplate s_projectLocationIdentityMappingStore = new gax::PathTemplate("projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static IdentityMappingStoreName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new IdentityMappingStoreName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The IdentityMappingStore ID. Must not be null or empty. + /// + /// + /// A new instance of constructed from the provided ids. + /// + public static IdentityMappingStoreName FromProjectLocationIdentityMappingStore(string projectId, string locationId, string identityMappingStoreId) => + new IdentityMappingStoreName(ResourceNameType.ProjectLocationIdentityMappingStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), identityMappingStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The IdentityMappingStore ID. Must not be null or empty. + /// + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}. + /// + public static string Format(string projectId, string locationId, string identityMappingStoreId) => + FormatProjectLocationIdentityMappingStore(projectId, locationId, identityMappingStoreId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The IdentityMappingStore ID. Must not be null or empty. + /// + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}. + /// + public static string FormatProjectLocationIdentityMappingStore(string projectId, string locationId, string identityMappingStoreId) => + s_projectLocationIdentityMappingStore.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static IdentityMappingStoreName Parse(string identityMappingStoreName) => + Parse(identityMappingStoreName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static IdentityMappingStoreName Parse(string identityMappingStoreName, bool allowUnparsed) => + TryParse(identityMappingStoreName, allowUnparsed, out IdentityMappingStoreName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing + /// failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string identityMappingStoreName, out IdentityMappingStoreName result) => + TryParse(identityMappingStoreName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing + /// failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string identityMappingStoreName, bool allowUnparsed, out IdentityMappingStoreName result) + { + gax::GaxPreconditions.CheckNotNull(identityMappingStoreName, nameof(identityMappingStoreName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationIdentityMappingStore.TryParseName(identityMappingStoreName, out resourceName)) + { + result = FromProjectLocationIdentityMappingStore(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(identityMappingStoreName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private IdentityMappingStoreName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string identityMappingStoreId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + IdentityMappingStoreId = identityMappingStoreId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of + /// pattern projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// + /// The IdentityMappingStore ID. Must not be null or empty. + /// + public IdentityMappingStoreName(string projectId, string locationId, string identityMappingStoreId) : this(ResourceNameType.ProjectLocationIdentityMappingStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), identityMappingStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The IdentityMappingStore ID. Will not be null, unless this instance contains an unparsed + /// resource name. + /// + public string IdentityMappingStoreId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationIdentityMappingStore: return s_projectLocationIdentityMappingStore.Expand(ProjectId, LocationId, IdentityMappingStoreId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as IdentityMappingStoreName); + + /// + public bool Equals(IdentityMappingStoreName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(IdentityMappingStoreName a, IdentityMappingStoreName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(IdentityMappingStoreName a, IdentityMappingStoreName b) => !(a == b); + } + + public partial class IdentityMappingStore + { + /// + /// -typed view over the resource name property. + /// + public gcdv::IdentityMappingStoreName IdentityMappingStoreName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::IdentityMappingStoreName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreService.g.cs new file mode 100644 index 000000000000..73b37755959f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreService.g.cs @@ -0,0 +1,3932 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/identity_mapping_store_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/identity_mapping_store_service.proto + public static partial class IdentityMappingStoreServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/identity_mapping_store_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static IdentityMappingStoreServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ckhnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9pZGVudGl0", + "eV9tYXBwaW5nX3N0b3JlX3NlcnZpY2UucHJvdG8SI2dvb2dsZS5jbG91ZC5k", + "aXNjb3ZlcnllbmdpbmU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wcGluZ1N0b3Jlc1JlcXVlc3QaRi5nb29nbGUuY2xvdWQu", + "ZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5MaXN0SWRlbnRpdHlNYXBwaW5nU3Rv", + "cmVzUmVzcG9uc2UiTtpBBnBhcmVudILT5JMCPxI9L3YxYmV0YS97cGFyZW50", + "PXByb2plY3RzLyovbG9jYXRpb25zLyp9L2lkZW50aXR5TWFwcGluZ1N0b3Jl", + "cxrPAcpBHmRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNvbdJBqgFodHRw", + "czovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Nsb3VkLXBsYXRmb3JtLGh0", + "dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5ZW5naW5l", + "LnJlYWR3cml0ZSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rp", + "c2NvdmVyeWVuZ2luZS5zZXJ2aW5nLnJlYWR3cml0ZUKnAgonY29tLmdvb2ds", + "ZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQiBJZGVudGl0eU1hcHBp", + "bmdTdG9yZVNlcnZpY2VQcm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rp", + "c2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlz", + "Y292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xv", + "dWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNj", + "b3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5", + "RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest.Parser, new[]{ "CmekConfigName", "DisableCmek", "Parent", "IdentityMappingStoreId", "IdentityMappingStore" }, new[]{ "CmekOptions" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Parser, new[]{ "InlineSource", "IdentityMappingStore" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource.Parser, new[]{ "IdentityMappingEntries" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsResponse.Parser, new[]{ "ErrorSamples" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Parser, new[]{ "InlineSource", "IdentityMappingStore", "Filter", "Force" }, new[]{ "Source", "Force" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource.Parser, new[]{ "IdentityMappingEntries" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest.Parser, new[]{ "IdentityMappingStore", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsResponse.Parser, new[]{ "IdentityMappingEntries", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresResponse.Parser, new[]{ "IdentityMappingStores", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntryOperationMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntryOperationMetadata.Parser, new[]{ "SuccessCount", "FailureCount", "TotalCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreMetadata.Parser, new[]{ "CreateTime", "UpdateTime" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for + /// [IdentityMappingStoreService.CreateIdentityMappingStore][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.CreateIdentityMappingStore] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateIdentityMappingStoreRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateIdentityMappingStoreRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIdentityMappingStoreRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIdentityMappingStoreRequest(CreateIdentityMappingStoreRequest other) : this() { + parent_ = other.parent_; + identityMappingStoreId_ = other.identityMappingStoreId_; + identityMappingStore_ = other.identityMappingStore_ != null ? other.identityMappingStore_.Clone() : null; + switch (other.CmekOptionsCase) { + case CmekOptionsOneofCase.CmekConfigName: + CmekConfigName = other.CmekConfigName; + break; + case CmekOptionsOneofCase.DisableCmek: + DisableCmek = other.DisableCmek; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateIdentityMappingStoreRequest Clone() { + return new CreateIdentityMappingStoreRequest(this); + } + + /// Field number for the "cmek_config_name" field. + public const int CmekConfigNameFieldNumber = 5; + /// + /// Resource name of the CmekConfig to use for protecting this Identity + /// Mapping Store. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CmekConfigName { + get { return HasCmekConfigName ? (string) cmekOptions_ : ""; } + set { + cmekOptions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + cmekOptionsCase_ = CmekOptionsOneofCase.CmekConfigName; + } + } + /// Gets whether the "cmek_config_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCmekConfigName { + get { return cmekOptionsCase_ == CmekOptionsOneofCase.CmekConfigName; } + } + /// Clears the value of the oneof if it's currently set to "cmek_config_name" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCmekConfigName() { + if (HasCmekConfigName) { + ClearCmekOptions(); + } + } + + /// Field number for the "disable_cmek" field. + public const int DisableCmekFieldNumber = 6; + /// + /// Identity Mapping Store without CMEK protections. If a default CmekConfig + /// is set for the project, setting this field will override the default + /// CmekConfig as well. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableCmek { + get { return HasDisableCmek ? (bool) cmekOptions_ : false; } + set { + cmekOptions_ = value; + cmekOptionsCase_ = CmekOptionsOneofCase.DisableCmek; + } + } + /// Gets whether the "disable_cmek" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDisableCmek { + get { return cmekOptionsCase_ == CmekOptionsOneofCase.DisableCmek; } + } + /// Clears the value of the oneof if it's currently set to "disable_cmek" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDisableCmek() { + if (HasDisableCmek) { + ClearCmekOptions(); + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "identity_mapping_store_id" field. + public const int IdentityMappingStoreIdFieldNumber = 2; + private string identityMappingStoreId_ = ""; + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IdentityMappingStoreId { + get { return identityMappingStoreId_; } + set { + identityMappingStoreId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "identity_mapping_store" field. + public const int IdentityMappingStoreFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore identityMappingStore_; + /// + /// Required. The Identity Mapping Store to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore IdentityMappingStore { + get { return identityMappingStore_; } + set { + identityMappingStore_ = value; + } + } + + private object cmekOptions_; + /// Enum of possible cases for the "cmek_options" oneof. + public enum CmekOptionsOneofCase { + None = 0, + CmekConfigName = 5, + DisableCmek = 6, + } + private CmekOptionsOneofCase cmekOptionsCase_ = CmekOptionsOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CmekOptionsOneofCase CmekOptionsCase { + get { return cmekOptionsCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCmekOptions() { + cmekOptionsCase_ = CmekOptionsOneofCase.None; + cmekOptions_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateIdentityMappingStoreRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateIdentityMappingStoreRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CmekConfigName != other.CmekConfigName) return false; + if (DisableCmek != other.DisableCmek) return false; + if (Parent != other.Parent) return false; + if (IdentityMappingStoreId != other.IdentityMappingStoreId) return false; + if (!object.Equals(IdentityMappingStore, other.IdentityMappingStore)) return false; + if (CmekOptionsCase != other.CmekOptionsCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCmekConfigName) hash ^= CmekConfigName.GetHashCode(); + if (HasDisableCmek) hash ^= DisableCmek.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (IdentityMappingStoreId.Length != 0) hash ^= IdentityMappingStoreId.GetHashCode(); + if (identityMappingStore_ != null) hash ^= IdentityMappingStore.GetHashCode(); + hash ^= (int) cmekOptionsCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (IdentityMappingStoreId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(IdentityMappingStoreId); + } + if (identityMappingStore_ != null) { + output.WriteRawTag(26); + output.WriteMessage(IdentityMappingStore); + } + if (HasCmekConfigName) { + output.WriteRawTag(42); + output.WriteString(CmekConfigName); + } + if (HasDisableCmek) { + output.WriteRawTag(48); + output.WriteBool(DisableCmek); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (IdentityMappingStoreId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(IdentityMappingStoreId); + } + if (identityMappingStore_ != null) { + output.WriteRawTag(26); + output.WriteMessage(IdentityMappingStore); + } + if (HasCmekConfigName) { + output.WriteRawTag(42); + output.WriteString(CmekConfigName); + } + if (HasDisableCmek) { + output.WriteRawTag(48); + output.WriteBool(DisableCmek); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCmekConfigName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CmekConfigName); + } + if (HasDisableCmek) { + size += 1 + 1; + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (IdentityMappingStoreId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentityMappingStoreId); + } + if (identityMappingStore_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IdentityMappingStore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateIdentityMappingStoreRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.IdentityMappingStoreId.Length != 0) { + IdentityMappingStoreId = other.IdentityMappingStoreId; + } + if (other.identityMappingStore_ != null) { + if (identityMappingStore_ == null) { + IdentityMappingStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore(); + } + IdentityMappingStore.MergeFrom(other.IdentityMappingStore); + } + switch (other.CmekOptionsCase) { + case CmekOptionsOneofCase.CmekConfigName: + CmekConfigName = other.CmekConfigName; + break; + case CmekOptionsOneofCase.DisableCmek: + DisableCmek = other.DisableCmek; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + IdentityMappingStoreId = input.ReadString(); + break; + } + case 26: { + if (identityMappingStore_ == null) { + IdentityMappingStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore(); + } + input.ReadMessage(IdentityMappingStore); + break; + } + case 42: { + CmekConfigName = input.ReadString(); + break; + } + case 48: { + DisableCmek = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + IdentityMappingStoreId = input.ReadString(); + break; + } + case 26: { + if (identityMappingStore_ == null) { + IdentityMappingStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore(); + } + input.ReadMessage(IdentityMappingStore); + break; + } + case 42: { + CmekConfigName = input.ReadString(); + break; + } + case 48: { + DisableCmek = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [IdentityMappingStoreService.GetIdentityMappingStore][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.GetIdentityMappingStore] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetIdentityMappingStoreRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetIdentityMappingStoreRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIdentityMappingStoreRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIdentityMappingStoreRequest(GetIdentityMappingStoreRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetIdentityMappingStoreRequest Clone() { + return new GetIdentityMappingStoreRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetIdentityMappingStoreRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetIdentityMappingStoreRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetIdentityMappingStoreRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [IdentityMappingStoreService.DeleteIdentityMappingStore][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteIdentityMappingStoreRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteIdentityMappingStoreRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIdentityMappingStoreRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIdentityMappingStoreRequest(DeleteIdentityMappingStoreRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIdentityMappingStoreRequest Clone() { + return new DeleteIdentityMappingStoreRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteIdentityMappingStoreRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteIdentityMappingStoreRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteIdentityMappingStoreRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [IdentityMappingStoreService.ImportIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ImportIdentityMappings] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImportIdentityMappingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImportIdentityMappingsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIdentityMappingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIdentityMappingsRequest(ImportIdentityMappingsRequest other) : this() { + identityMappingStore_ = other.identityMappingStore_; + switch (other.SourceCase) { + case SourceOneofCase.InlineSource: + InlineSource = other.InlineSource.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIdentityMappingsRequest Clone() { + return new ImportIdentityMappingsRequest(this); + } + + /// Field number for the "inline_source" field. + public const int InlineSourceFieldNumber = 2; + /// + /// The inline source to import identity mapping entries from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource InlineSource { + get { return sourceCase_ == SourceOneofCase.InlineSource ? (global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.InlineSource; + } + } + + /// Field number for the "identity_mapping_store" field. + public const int IdentityMappingStoreFieldNumber = 1; + private string identityMappingStore_ = ""; + /// + /// Required. The name of the Identity Mapping Store to import Identity Mapping + /// Entries to. Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IdentityMappingStore { + get { return identityMappingStore_; } + set { + identityMappingStore_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + private object source_; + /// Enum of possible cases for the "source" oneof. + public enum SourceOneofCase { + None = 0, + InlineSource = 2, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImportIdentityMappingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImportIdentityMappingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(InlineSource, other.InlineSource)) return false; + if (IdentityMappingStore != other.IdentityMappingStore) return false; + if (SourceCase != other.SourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.InlineSource) hash ^= InlineSource.GetHashCode(); + if (IdentityMappingStore.Length != 0) hash ^= IdentityMappingStore.GetHashCode(); + hash ^= (int) sourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IdentityMappingStore); + } + if (sourceCase_ == SourceOneofCase.InlineSource) { + output.WriteRawTag(18); + output.WriteMessage(InlineSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IdentityMappingStore); + } + if (sourceCase_ == SourceOneofCase.InlineSource) { + output.WriteRawTag(18); + output.WriteMessage(InlineSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.InlineSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InlineSource); + } + if (IdentityMappingStore.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentityMappingStore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImportIdentityMappingsRequest other) { + if (other == null) { + return; + } + if (other.IdentityMappingStore.Length != 0) { + IdentityMappingStore = other.IdentityMappingStore; + } + switch (other.SourceCase) { + case SourceOneofCase.InlineSource: + if (InlineSource == null) { + InlineSource = new global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource(); + } + InlineSource.MergeFrom(other.InlineSource); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IdentityMappingStore = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource(); + if (sourceCase_ == SourceOneofCase.InlineSource) { + subBuilder.MergeFrom(InlineSource); + } + input.ReadMessage(subBuilder); + InlineSource = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IdentityMappingStore = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Types.InlineSource(); + if (sourceCase_ == SourceOneofCase.InlineSource) { + subBuilder.MergeFrom(InlineSource); + } + input.ReadMessage(subBuilder); + InlineSource = subBuilder; + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ImportIdentityMappingsRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The inline source to import identity mapping entries from. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InlineSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InlineSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource(InlineSource other) : this() { + identityMappingEntries_ = other.identityMappingEntries_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource Clone() { + return new InlineSource(this); + } + + /// Field number for the "identity_mapping_entries" field. + public const int IdentityMappingEntriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_identityMappingEntries_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry.Parser); + private readonly pbc::RepeatedField identityMappingEntries_ = new pbc::RepeatedField(); + /// + /// A maximum of 10000 entries can be imported at one time + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IdentityMappingEntries { + get { return identityMappingEntries_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InlineSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InlineSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!identityMappingEntries_.Equals(other.identityMappingEntries_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= identityMappingEntries_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + identityMappingEntries_.WriteTo(output, _repeated_identityMappingEntries_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + identityMappingEntries_.WriteTo(ref output, _repeated_identityMappingEntries_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += identityMappingEntries_.CalculateSize(_repeated_identityMappingEntries_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InlineSource other) { + if (other == null) { + return; + } + identityMappingEntries_.Add(other.identityMappingEntries_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + identityMappingEntries_.AddEntriesFrom(input, _repeated_identityMappingEntries_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + identityMappingEntries_.AddEntriesFrom(ref input, _repeated_identityMappingEntries_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Response message for + /// [IdentityMappingStoreService.ImportIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ImportIdentityMappings] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImportIdentityMappingsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImportIdentityMappingsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIdentityMappingsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIdentityMappingsResponse(ImportIdentityMappingsResponse other) : this() { + errorSamples_ = other.errorSamples_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImportIdentityMappingsResponse Clone() { + return new ImportIdentityMappingsResponse(this); + } + + /// Field number for the "error_samples" field. + public const int ErrorSamplesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_errorSamples_codec + = pb::FieldCodec.ForMessage(10, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField errorSamples_ = new pbc::RepeatedField(); + /// + /// A sample of errors encountered while processing the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ErrorSamples { + get { return errorSamples_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImportIdentityMappingsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImportIdentityMappingsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!errorSamples_.Equals(other.errorSamples_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= errorSamples_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + errorSamples_.WriteTo(output, _repeated_errorSamples_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + errorSamples_.WriteTo(ref output, _repeated_errorSamples_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += errorSamples_.CalculateSize(_repeated_errorSamples_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImportIdentityMappingsResponse other) { + if (other == null) { + return; + } + errorSamples_.Add(other.errorSamples_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + errorSamples_.AddEntriesFrom(input, _repeated_errorSamples_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + errorSamples_.AddEntriesFrom(ref input, _repeated_errorSamples_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [IdentityMappingStoreService.PurgeIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.PurgeIdentityMappings] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PurgeIdentityMappingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PurgeIdentityMappingsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PurgeIdentityMappingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PurgeIdentityMappingsRequest(PurgeIdentityMappingsRequest other) : this() { + _hasBits0 = other._hasBits0; + identityMappingStore_ = other.identityMappingStore_; + filter_ = other.filter_; + force_ = other.force_; + switch (other.SourceCase) { + case SourceOneofCase.InlineSource: + InlineSource = other.InlineSource.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PurgeIdentityMappingsRequest Clone() { + return new PurgeIdentityMappingsRequest(this); + } + + /// Field number for the "inline_source" field. + public const int InlineSourceFieldNumber = 2; + /// + /// The inline source to purge identity mapping entries from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource InlineSource { + get { return sourceCase_ == SourceOneofCase.InlineSource ? (global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.InlineSource; + } + } + + /// Field number for the "identity_mapping_store" field. + public const int IdentityMappingStoreFieldNumber = 1; + private string identityMappingStore_ = ""; + /// + /// Required. The name of the Identity Mapping Store to purge Identity Mapping + /// Entries from. Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IdentityMappingStore { + get { return identityMappingStore_; } + set { + identityMappingStore_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 3; + private string filter_ = ""; + /// + /// Filter matching identity mappings to purge. + /// The eligible field for filtering is: + /// + /// * `update_time`: in ISO 8601 "zulu" format. + /// * `external_id` + /// + /// Examples: + /// + /// * Deleting all identity mappings updated in a time range: + /// `update_time > "2012-04-23T18:25:43.511Z" AND update_time < + /// "2012-04-23T18:30:43.511Z"` + /// * Deleting all identity mappings for a given external_id: + /// `external_id = "id1"` + /// * Deleting all identity mappings inside an identity mapping store: + /// `*` + /// + /// The filtering fields are assumed to have an implicit AND. + /// Should not be used with source. An error will be thrown, if both are + /// provided. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "force" field. + public const int ForceFieldNumber = 4; + private readonly static bool ForceDefaultValue = false; + + private bool force_; + /// + /// Actually performs the purge. If `force` is set to false, return the + /// expected purge count without deleting any identity mappings. This field is + /// only supported for purge with filter. For input source this field is + /// ignored and data will be purged regardless of the value of this field. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Force { + get { if ((_hasBits0 & 1) != 0) { return force_; } else { return ForceDefaultValue; } } + set { + _hasBits0 |= 1; + force_ = value; + } + } + /// Gets whether the "force" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasForce { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "force" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearForce() { + _hasBits0 &= ~1; + } + + private object source_; + /// Enum of possible cases for the "source" oneof. + public enum SourceOneofCase { + None = 0, + InlineSource = 2, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PurgeIdentityMappingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PurgeIdentityMappingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(InlineSource, other.InlineSource)) return false; + if (IdentityMappingStore != other.IdentityMappingStore) return false; + if (Filter != other.Filter) return false; + if (Force != other.Force) return false; + if (SourceCase != other.SourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.InlineSource) hash ^= InlineSource.GetHashCode(); + if (IdentityMappingStore.Length != 0) hash ^= IdentityMappingStore.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (HasForce) hash ^= Force.GetHashCode(); + hash ^= (int) sourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IdentityMappingStore); + } + if (sourceCase_ == SourceOneofCase.InlineSource) { + output.WriteRawTag(18); + output.WriteMessage(InlineSource); + } + if (Filter.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filter); + } + if (HasForce) { + output.WriteRawTag(32); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IdentityMappingStore); + } + if (sourceCase_ == SourceOneofCase.InlineSource) { + output.WriteRawTag(18); + output.WriteMessage(InlineSource); + } + if (Filter.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Filter); + } + if (HasForce) { + output.WriteRawTag(32); + output.WriteBool(Force); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.InlineSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InlineSource); + } + if (IdentityMappingStore.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentityMappingStore); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (HasForce) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PurgeIdentityMappingsRequest other) { + if (other == null) { + return; + } + if (other.IdentityMappingStore.Length != 0) { + IdentityMappingStore = other.IdentityMappingStore; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.HasForce) { + Force = other.Force; + } + switch (other.SourceCase) { + case SourceOneofCase.InlineSource: + if (InlineSource == null) { + InlineSource = new global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource(); + } + InlineSource.MergeFrom(other.InlineSource); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IdentityMappingStore = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource(); + if (sourceCase_ == SourceOneofCase.InlineSource) { + subBuilder.MergeFrom(InlineSource); + } + input.ReadMessage(subBuilder); + InlineSource = subBuilder; + break; + } + case 26: { + Filter = input.ReadString(); + break; + } + case 32: { + Force = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IdentityMappingStore = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Types.InlineSource(); + if (sourceCase_ == SourceOneofCase.InlineSource) { + subBuilder.MergeFrom(InlineSource); + } + input.ReadMessage(subBuilder); + InlineSource = subBuilder; + break; + } + case 26: { + Filter = input.ReadString(); + break; + } + case 32: { + Force = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the PurgeIdentityMappingsRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The inline source to purge identity mapping entries from. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InlineSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InlineSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource(InlineSource other) : this() { + identityMappingEntries_ = other.identityMappingEntries_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource Clone() { + return new InlineSource(this); + } + + /// Field number for the "identity_mapping_entries" field. + public const int IdentityMappingEntriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_identityMappingEntries_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry.Parser); + private readonly pbc::RepeatedField identityMappingEntries_ = new pbc::RepeatedField(); + /// + /// A maximum of 10000 entries can be purged at one time + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IdentityMappingEntries { + get { return identityMappingEntries_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InlineSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InlineSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!identityMappingEntries_.Equals(other.identityMappingEntries_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= identityMappingEntries_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + identityMappingEntries_.WriteTo(output, _repeated_identityMappingEntries_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + identityMappingEntries_.WriteTo(ref output, _repeated_identityMappingEntries_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += identityMappingEntries_.CalculateSize(_repeated_identityMappingEntries_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InlineSource other) { + if (other == null) { + return; + } + identityMappingEntries_.Add(other.identityMappingEntries_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + identityMappingEntries_.AddEntriesFrom(input, _repeated_identityMappingEntries_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + identityMappingEntries_.AddEntriesFrom(ref input, _repeated_identityMappingEntries_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Request message for + /// [IdentityMappingStoreService.ListIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappings] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIdentityMappingsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIdentityMappingsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingsRequest(ListIdentityMappingsRequest other) : this() { + identityMappingStore_ = other.identityMappingStore_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingsRequest Clone() { + return new ListIdentityMappingsRequest(this); + } + + /// Field number for the "identity_mapping_store" field. + public const int IdentityMappingStoreFieldNumber = 1; + private string identityMappingStore_ = ""; + /// + /// Required. The name of the Identity Mapping Store to list Identity Mapping + /// Entries in. Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IdentityMappingStore { + get { return identityMappingStore_; } + set { + identityMappingStore_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Maximum number of IdentityMappings to return. If unspecified, defaults + /// to 2000. The maximum allowed value is 10000. Values above 10000 will be + /// coerced to 10000. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// A page token, received from a previous `ListIdentityMappings` call. + /// Provide this to retrieve the subsequent page. + /// + /// When paginating, all other parameters provided to + /// `ListIdentityMappings` must match the call that provided the page + /// token. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIdentityMappingsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIdentityMappingsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IdentityMappingStore != other.IdentityMappingStore) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (IdentityMappingStore.Length != 0) hash ^= IdentityMappingStore.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IdentityMappingStore); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (IdentityMappingStore.Length != 0) { + output.WriteRawTag(10); + output.WriteString(IdentityMappingStore); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (IdentityMappingStore.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentityMappingStore); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIdentityMappingsRequest other) { + if (other == null) { + return; + } + if (other.IdentityMappingStore.Length != 0) { + IdentityMappingStore = other.IdentityMappingStore; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + IdentityMappingStore = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + IdentityMappingStore = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [IdentityMappingStoreService.ListIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappings] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIdentityMappingsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIdentityMappingsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingsResponse(ListIdentityMappingsResponse other) : this() { + identityMappingEntries_ = other.identityMappingEntries_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingsResponse Clone() { + return new ListIdentityMappingsResponse(this); + } + + /// Field number for the "identity_mapping_entries" field. + public const int IdentityMappingEntriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_identityMappingEntries_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry.Parser); + private readonly pbc::RepeatedField identityMappingEntries_ = new pbc::RepeatedField(); + /// + /// The Identity Mapping Entries. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IdentityMappingEntries { + get { return identityMappingEntries_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// A token that can be sent as `page_token` to retrieve the next page. If this + /// field is omitted, there are no subsequent pages. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIdentityMappingsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIdentityMappingsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!identityMappingEntries_.Equals(other.identityMappingEntries_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= identityMappingEntries_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + identityMappingEntries_.WriteTo(output, _repeated_identityMappingEntries_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + identityMappingEntries_.WriteTo(ref output, _repeated_identityMappingEntries_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += identityMappingEntries_.CalculateSize(_repeated_identityMappingEntries_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIdentityMappingsResponse other) { + if (other == null) { + return; + } + identityMappingEntries_.Add(other.identityMappingEntries_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + identityMappingEntries_.AddEntriesFrom(input, _repeated_identityMappingEntries_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + identityMappingEntries_.AddEntriesFrom(ref input, _repeated_identityMappingEntries_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [IdentityMappingStoreService.ListIdentityMappingStores][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIdentityMappingStoresRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIdentityMappingStoresRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingStoresRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingStoresRequest(ListIdentityMappingStoresRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingStoresRequest Clone() { + return new ListIdentityMappingStoresRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent of the Identity Mapping Stores to list. + /// Format: + /// `projects/{project}/locations/{location}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Maximum number of IdentityMappingStores to return. If unspecified, defaults + /// to 100. The maximum allowed value is 1000. Values above 1000 will be + /// coerced to 1000. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// A page token, received from a previous `ListIdentityMappingStores` call. + /// Provide this to retrieve the subsequent page. + /// + /// When paginating, all other parameters provided to + /// `ListIdentityMappingStores` must match the call that provided the page + /// token. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIdentityMappingStoresRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIdentityMappingStoresRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIdentityMappingStoresRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [IdentityMappingStoreService.ListIdentityMappingStores][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ListIdentityMappingStores] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListIdentityMappingStoresResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListIdentityMappingStoresResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingStoresResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingStoresResponse(ListIdentityMappingStoresResponse other) : this() { + identityMappingStores_ = other.identityMappingStores_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListIdentityMappingStoresResponse Clone() { + return new ListIdentityMappingStoresResponse(this); + } + + /// Field number for the "identity_mapping_stores" field. + public const int IdentityMappingStoresFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_identityMappingStores_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore.Parser); + private readonly pbc::RepeatedField identityMappingStores_ = new pbc::RepeatedField(); + /// + /// The Identity Mapping Stores. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField IdentityMappingStores { + get { return identityMappingStores_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// A token that can be sent as `page_token` to retrieve the next page. If this + /// field is omitted, there are no subsequent pages. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListIdentityMappingStoresResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListIdentityMappingStoresResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!identityMappingStores_.Equals(other.identityMappingStores_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= identityMappingStores_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + identityMappingStores_.WriteTo(output, _repeated_identityMappingStores_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + identityMappingStores_.WriteTo(ref output, _repeated_identityMappingStores_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += identityMappingStores_.CalculateSize(_repeated_identityMappingStores_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListIdentityMappingStoresResponse other) { + if (other == null) { + return; + } + identityMappingStores_.Add(other.identityMappingStores_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + identityMappingStores_.AddEntriesFrom(input, _repeated_identityMappingStores_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + identityMappingStores_.AddEntriesFrom(ref input, _repeated_identityMappingStores_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// IdentityMappingEntry LongRunningOperation metadata for + /// [IdentityMappingStoreService.ImportIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.ImportIdentityMappings] + /// and + /// [IdentityMappingStoreService.PurgeIdentityMappings][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.PurgeIdentityMappings] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IdentityMappingEntryOperationMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IdentityMappingEntryOperationMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingEntryOperationMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingEntryOperationMetadata(IdentityMappingEntryOperationMetadata other) : this() { + successCount_ = other.successCount_; + failureCount_ = other.failureCount_; + totalCount_ = other.totalCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IdentityMappingEntryOperationMetadata Clone() { + return new IdentityMappingEntryOperationMetadata(this); + } + + /// Field number for the "success_count" field. + public const int SuccessCountFieldNumber = 1; + private long successCount_; + /// + /// The number of IdentityMappingEntries that were successfully processed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long SuccessCount { + get { return successCount_; } + set { + successCount_ = value; + } + } + + /// Field number for the "failure_count" field. + public const int FailureCountFieldNumber = 2; + private long failureCount_; + /// + /// The number of IdentityMappingEntries that failed to be processed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long FailureCount { + get { return failureCount_; } + set { + failureCount_ = value; + } + } + + /// Field number for the "total_count" field. + public const int TotalCountFieldNumber = 3; + private long totalCount_; + /// + /// The total number of IdentityMappingEntries that were processed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TotalCount { + get { return totalCount_; } + set { + totalCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IdentityMappingEntryOperationMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IdentityMappingEntryOperationMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SuccessCount != other.SuccessCount) return false; + if (FailureCount != other.FailureCount) return false; + if (TotalCount != other.TotalCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (SuccessCount != 0L) hash ^= SuccessCount.GetHashCode(); + if (FailureCount != 0L) hash ^= FailureCount.GetHashCode(); + if (TotalCount != 0L) hash ^= TotalCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (SuccessCount != 0L) { + output.WriteRawTag(8); + output.WriteInt64(SuccessCount); + } + if (FailureCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(FailureCount); + } + if (TotalCount != 0L) { + output.WriteRawTag(24); + output.WriteInt64(TotalCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SuccessCount != 0L) { + output.WriteRawTag(8); + output.WriteInt64(SuccessCount); + } + if (FailureCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(FailureCount); + } + if (TotalCount != 0L) { + output.WriteRawTag(24); + output.WriteInt64(TotalCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (SuccessCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(SuccessCount); + } + if (FailureCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(FailureCount); + } + if (TotalCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TotalCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IdentityMappingEntryOperationMetadata other) { + if (other == null) { + return; + } + if (other.SuccessCount != 0L) { + SuccessCount = other.SuccessCount; + } + if (other.FailureCount != 0L) { + FailureCount = other.FailureCount; + } + if (other.TotalCount != 0L) { + TotalCount = other.TotalCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SuccessCount = input.ReadInt64(); + break; + } + case 16: { + FailureCount = input.ReadInt64(); + break; + } + case 24: { + TotalCount = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SuccessCount = input.ReadInt64(); + break; + } + case 16: { + FailureCount = input.ReadInt64(); + break; + } + case 24: { + TotalCount = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + /// + /// Metadata related to the progress of the + /// [IdentityMappingStoreService.DeleteIdentityMappingStore][google.cloud.discoveryengine.v1beta.IdentityMappingStoreService.DeleteIdentityMappingStore] + /// operation. This will be returned by the google.longrunning.Operation.metadata + /// field. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteIdentityMappingStoreMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteIdentityMappingStoreMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.MessageTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIdentityMappingStoreMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIdentityMappingStoreMetadata(DeleteIdentityMappingStoreMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteIdentityMappingStoreMetadata Clone() { + return new DeleteIdentityMappingStoreMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Operation create time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Operation last update time. If the operation is done, this is also the + /// finish time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteIdentityMappingStoreMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteIdentityMappingStoreMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteIdentityMappingStoreMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceClient.g.cs new file mode 100644 index 000000000000..bb9f4d4d6e66 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceClient.g.cs @@ -0,0 +1,1429 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using lro = Google.LongRunning; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using sc = System.Collections; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; +using wkt = Google.Protobuf.WellKnownTypes; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class IdentityMappingStoreServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static IdentityMappingStoreServiceSettings GetDefault() => new IdentityMappingStoreServiceSettings(); + + /// + /// Constructs a new object with default settings. + /// + public IdentityMappingStoreServiceSettings() + { + } + + private IdentityMappingStoreServiceSettings(IdentityMappingStoreServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + CreateIdentityMappingStoreSettings = existing.CreateIdentityMappingStoreSettings; + GetIdentityMappingStoreSettings = existing.GetIdentityMappingStoreSettings; + DeleteIdentityMappingStoreSettings = existing.DeleteIdentityMappingStoreSettings; + DeleteIdentityMappingStoreOperationsSettings = existing.DeleteIdentityMappingStoreOperationsSettings.Clone(); + ImportIdentityMappingsSettings = existing.ImportIdentityMappingsSettings; + ImportIdentityMappingsOperationsSettings = existing.ImportIdentityMappingsOperationsSettings.Clone(); + PurgeIdentityMappingsSettings = existing.PurgeIdentityMappingsSettings; + PurgeIdentityMappingsOperationsSettings = existing.PurgeIdentityMappingsOperationsSettings.Clone(); + ListIdentityMappingsSettings = existing.ListIdentityMappingsSettings; + ListIdentityMappingStoresSettings = existing.ListIdentityMappingStoresSettings; + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(IdentityMappingStoreServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.CreateIdentityMappingStore and + /// IdentityMappingStoreServiceClient.CreateIdentityMappingStoreAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings CreateIdentityMappingStoreSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.GetIdentityMappingStore and + /// IdentityMappingStoreServiceClient.GetIdentityMappingStoreAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings GetIdentityMappingStoreSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.DeleteIdentityMappingStore and + /// IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings DeleteIdentityMappingStoreSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// Long Running Operation settings for calls to IdentityMappingStoreServiceClient.DeleteIdentityMappingStore + /// and IdentityMappingStoreServiceClient.DeleteIdentityMappingStoreAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings DeleteIdentityMappingStoreOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.ImportIdentityMappings and + /// IdentityMappingStoreServiceClient.ImportIdentityMappingsAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ImportIdentityMappingsSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// Long Running Operation settings for calls to IdentityMappingStoreServiceClient.ImportIdentityMappings + /// and IdentityMappingStoreServiceClient.ImportIdentityMappingsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings ImportIdentityMappingsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.PurgeIdentityMappings and + /// IdentityMappingStoreServiceClient.PurgeIdentityMappingsAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings PurgeIdentityMappingsSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// Long Running Operation settings for calls to IdentityMappingStoreServiceClient.PurgeIdentityMappings + /// and IdentityMappingStoreServiceClient.PurgeIdentityMappingsAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings PurgeIdentityMappingsOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.ListIdentityMappings and + /// IdentityMappingStoreServiceClient.ListIdentityMappingsAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ListIdentityMappingsSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// IdentityMappingStoreServiceClient.ListIdentityMappingStores and + /// IdentityMappingStoreServiceClient.ListIdentityMappingStoresAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ListIdentityMappingStoresSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public IdentityMappingStoreServiceSettings Clone() => new IdentityMappingStoreServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of + /// credentials, endpoint etc. + /// + public sealed partial class IdentityMappingStoreServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public IdentityMappingStoreServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public IdentityMappingStoreServiceClientBuilder() : base(IdentityMappingStoreServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref IdentityMappingStoreServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override IdentityMappingStoreServiceClient Build() + { + IdentityMappingStoreServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private IdentityMappingStoreServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return IdentityMappingStoreServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return IdentityMappingStoreServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => IdentityMappingStoreServiceClient.ChannelPool; + } + + /// IdentityMappingStoreService client wrapper, for convenient use. + /// + /// Service for managing Identity Mapping Stores. + /// + public abstract partial class IdentityMappingStoreServiceClient + { + /// + /// The default endpoint for the IdentityMappingStoreService service, which is a host of + /// "discoveryengine.googleapis.com" and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default IdentityMappingStoreService scopes. + /// + /// The default IdentityMappingStoreService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(IdentityMappingStoreService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, + /// endpoint and settings. To specify custom credentials or other settings, use + /// . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new IdentityMappingStoreServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, + /// endpoint and settings. To specify custom credentials or other settings, use + /// . + /// + /// The created . + public static IdentityMappingStoreServiceClient Create() => new IdentityMappingStoreServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote + /// operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static IdentityMappingStoreServiceClient Create(grpccore::CallInvoker callInvoker, IdentityMappingStoreServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + IdentityMappingStoreService.IdentityMappingStoreServiceClient grpcClient = new IdentityMappingStoreService.IdentityMappingStoreServiceClient(callInvoker); + return new IdentityMappingStoreServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC IdentityMappingStoreService client + public virtual IdentityMappingStoreService.IdentityMappingStoreServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Creates a new Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IdentityMappingStore CreateIdentityMappingStore(CreateIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a new Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateIdentityMappingStoreAsync(CreateIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a new Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateIdentityMappingStoreAsync(CreateIdentityMappingStoreRequest request, st::CancellationToken cancellationToken) => + CreateIdentityMappingStoreAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a new Identity Mapping Store. + /// + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The Identity Mapping Store to create. + /// + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IdentityMappingStore CreateIdentityMappingStore(string parent, IdentityMappingStore identityMappingStore, string identityMappingStoreId, gaxgrpc::CallSettings callSettings = null) => + CreateIdentityMappingStore(new CreateIdentityMappingStoreRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + IdentityMappingStoreId = gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId)), + IdentityMappingStore = gax::GaxPreconditions.CheckNotNull(identityMappingStore, nameof(identityMappingStore)), + }, callSettings); + + /// + /// Creates a new Identity Mapping Store. + /// + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The Identity Mapping Store to create. + /// + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateIdentityMappingStoreAsync(string parent, IdentityMappingStore identityMappingStore, string identityMappingStoreId, gaxgrpc::CallSettings callSettings = null) => + CreateIdentityMappingStoreAsync(new CreateIdentityMappingStoreRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + IdentityMappingStoreId = gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId)), + IdentityMappingStore = gax::GaxPreconditions.CheckNotNull(identityMappingStore, nameof(identityMappingStore)), + }, callSettings); + + /// + /// Creates a new Identity Mapping Store. + /// + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The Identity Mapping Store to create. + /// + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateIdentityMappingStoreAsync(string parent, IdentityMappingStore identityMappingStore, string identityMappingStoreId, st::CancellationToken cancellationToken) => + CreateIdentityMappingStoreAsync(parent, identityMappingStore, identityMappingStoreId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a new Identity Mapping Store. + /// + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The Identity Mapping Store to create. + /// + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IdentityMappingStore CreateIdentityMappingStore(LocationName parent, IdentityMappingStore identityMappingStore, string identityMappingStoreId, gaxgrpc::CallSettings callSettings = null) => + CreateIdentityMappingStore(new CreateIdentityMappingStoreRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + IdentityMappingStoreId = gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId)), + IdentityMappingStore = gax::GaxPreconditions.CheckNotNull(identityMappingStore, nameof(identityMappingStore)), + }, callSettings); + + /// + /// Creates a new Identity Mapping Store. + /// + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The Identity Mapping Store to create. + /// + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateIdentityMappingStoreAsync(LocationName parent, IdentityMappingStore identityMappingStore, string identityMappingStoreId, gaxgrpc::CallSettings callSettings = null) => + CreateIdentityMappingStoreAsync(new CreateIdentityMappingStoreRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + IdentityMappingStoreId = gax::GaxPreconditions.CheckNotNullOrEmpty(identityMappingStoreId, nameof(identityMappingStoreId)), + IdentityMappingStore = gax::GaxPreconditions.CheckNotNull(identityMappingStore, nameof(identityMappingStore)), + }, callSettings); + + /// + /// Creates a new Identity Mapping Store. + /// + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The Identity Mapping Store to create. + /// + /// + /// Required. The ID of the Identity Mapping Store to create. + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 63 characters. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateIdentityMappingStoreAsync(LocationName parent, IdentityMappingStore identityMappingStore, string identityMappingStoreId, st::CancellationToken cancellationToken) => + CreateIdentityMappingStoreAsync(parent, identityMappingStore, identityMappingStoreId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IdentityMappingStore GetIdentityMappingStore(GetIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIdentityMappingStoreAsync(GetIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIdentityMappingStoreAsync(GetIdentityMappingStoreRequest request, st::CancellationToken cancellationToken) => + GetIdentityMappingStoreAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IdentityMappingStore GetIdentityMappingStore(string name, gaxgrpc::CallSettings callSettings = null) => + GetIdentityMappingStore(new GetIdentityMappingStoreRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIdentityMappingStoreAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetIdentityMappingStoreAsync(new GetIdentityMappingStoreRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIdentityMappingStoreAsync(string name, st::CancellationToken cancellationToken) => + GetIdentityMappingStoreAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual IdentityMappingStore GetIdentityMappingStore(IdentityMappingStoreName name, gaxgrpc::CallSettings callSettings = null) => + GetIdentityMappingStore(new GetIdentityMappingStoreRequest + { + IdentityMappingStoreName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetIdentityMappingStoreAsync(IdentityMappingStoreName name, gaxgrpc::CallSettings callSettings = null) => + GetIdentityMappingStoreAsync(new GetIdentityMappingStoreRequest + { + IdentityMappingStoreName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to get. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetIdentityMappingStoreAsync(IdentityMappingStoreName name, st::CancellationToken cancellationToken) => + GetIdentityMappingStoreAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteIdentityMappingStore(DeleteIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIdentityMappingStoreAsync(DeleteIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIdentityMappingStoreAsync(DeleteIdentityMappingStoreRequest request, st::CancellationToken cancellationToken) => + DeleteIdentityMappingStoreAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for DeleteIdentityMappingStore. + public virtual lro::OperationsClient DeleteIdentityMappingStoreOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// DeleteIdentityMappingStore. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceDeleteIdentityMappingStore(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteIdentityMappingStoreOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// DeleteIdentityMappingStore. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceDeleteIdentityMappingStoreAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), DeleteIdentityMappingStoreOperationsClient, callSettings); + + /// + /// Deletes the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteIdentityMappingStore(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteIdentityMappingStore(new DeleteIdentityMappingStoreRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIdentityMappingStoreAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteIdentityMappingStoreAsync(new DeleteIdentityMappingStoreRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIdentityMappingStoreAsync(string name, st::CancellationToken cancellationToken) => + DeleteIdentityMappingStoreAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation DeleteIdentityMappingStore(IdentityMappingStoreName name, gaxgrpc::CallSettings callSettings = null) => + DeleteIdentityMappingStore(new DeleteIdentityMappingStoreRequest + { + IdentityMappingStoreName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIdentityMappingStoreAsync(IdentityMappingStoreName name, gaxgrpc::CallSettings callSettings = null) => + DeleteIdentityMappingStoreAsync(new DeleteIdentityMappingStoreRequest + { + IdentityMappingStoreName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes the Identity Mapping Store. + /// + /// + /// Required. The name of the Identity Mapping Store to delete. + /// Format: + /// `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> DeleteIdentityMappingStoreAsync(IdentityMappingStoreName name, st::CancellationToken cancellationToken) => + DeleteIdentityMappingStoreAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation ImportIdentityMappings(ImportIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIdentityMappingsAsync(ImportIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> ImportIdentityMappingsAsync(ImportIdentityMappingsRequest request, st::CancellationToken cancellationToken) => + ImportIdentityMappingsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for ImportIdentityMappings. + public virtual lro::OperationsClient ImportIdentityMappingsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// ImportIdentityMappings. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceImportIdentityMappings(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ImportIdentityMappingsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// ImportIdentityMappings. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceImportIdentityMappingsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), ImportIdentityMappingsOperationsClient, callSettings); + + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation PurgeIdentityMappings(PurgeIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> PurgeIdentityMappingsAsync(PurgeIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> PurgeIdentityMappingsAsync(PurgeIdentityMappingsRequest request, st::CancellationToken cancellationToken) => + PurgeIdentityMappingsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for PurgeIdentityMappings. + public virtual lro::OperationsClient PurgeIdentityMappingsOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of PurgeIdentityMappings + /// . + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOncePurgeIdentityMappings(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), PurgeIdentityMappingsOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// PurgeIdentityMappings. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOncePurgeIdentityMappingsAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), PurgeIdentityMappingsOperationsClient, callSettings); + + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListIdentityMappings(ListIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListIdentityMappingsAsync(ListIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all Identity Mapping Stores. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListIdentityMappingStores(ListIdentityMappingStoresRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all Identity Mapping Stores. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListIdentityMappingStoresAsync(ListIdentityMappingStoresRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all Identity Mapping Stores. + /// + /// + /// Required. The parent of the Identity Mapping Stores to list. + /// Format: + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListIdentityMappingStores(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListIdentityMappingStores(request, callSettings); + } + + /// + /// Lists all Identity Mapping Stores. + /// + /// + /// Required. The parent of the Identity Mapping Stores to list. + /// Format: + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListIdentityMappingStoresAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListIdentityMappingStoresAsync(request, callSettings); + } + + /// + /// Lists all Identity Mapping Stores. + /// + /// + /// Required. The parent of the Identity Mapping Stores to list. + /// Format: + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListIdentityMappingStores(LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListIdentityMappingStores(request, callSettings); + } + + /// + /// Lists all Identity Mapping Stores. + /// + /// + /// Required. The parent of the Identity Mapping Stores to list. + /// Format: + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListIdentityMappingStoresAsync(LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListIdentityMappingStoresRequest request = new ListIdentityMappingStoresRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListIdentityMappingStoresAsync(request, callSettings); + } + } + + /// IdentityMappingStoreService client wrapper implementation, for convenient use. + /// + /// Service for managing Identity Mapping Stores. + /// + public sealed partial class IdentityMappingStoreServiceClientImpl : IdentityMappingStoreServiceClient + { + private readonly gaxgrpc::ApiCall _callCreateIdentityMappingStore; + + private readonly gaxgrpc::ApiCall _callGetIdentityMappingStore; + + private readonly gaxgrpc::ApiCall _callDeleteIdentityMappingStore; + + private readonly gaxgrpc::ApiCall _callImportIdentityMappings; + + private readonly gaxgrpc::ApiCall _callPurgeIdentityMappings; + + private readonly gaxgrpc::ApiCall _callListIdentityMappings; + + private readonly gaxgrpc::ApiCall _callListIdentityMappingStores; + + /// + /// Constructs a client wrapper for the IdentityMappingStoreService service, with the specified gRPC client and + /// settings. + /// + /// The underlying gRPC client. + /// + /// The base used within this client. + /// + /// Optional to use within this client. + public IdentityMappingStoreServiceClientImpl(IdentityMappingStoreService.IdentityMappingStoreServiceClient grpcClient, IdentityMappingStoreServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + IdentityMappingStoreServiceSettings effectiveSettings = settings ?? IdentityMappingStoreServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + DeleteIdentityMappingStoreOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.DeleteIdentityMappingStoreOperationsSettings, logger); + ImportIdentityMappingsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.ImportIdentityMappingsOperationsSettings, logger); + PurgeIdentityMappingsOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.PurgeIdentityMappingsOperationsSettings, logger); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callCreateIdentityMappingStore = clientHelper.BuildApiCall("CreateIdentityMappingStore", grpcClient.CreateIdentityMappingStoreAsync, grpcClient.CreateIdentityMappingStore, effectiveSettings.CreateIdentityMappingStoreSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateIdentityMappingStore); + Modify_CreateIdentityMappingStoreApiCall(ref _callCreateIdentityMappingStore); + _callGetIdentityMappingStore = clientHelper.BuildApiCall("GetIdentityMappingStore", grpcClient.GetIdentityMappingStoreAsync, grpcClient.GetIdentityMappingStore, effectiveSettings.GetIdentityMappingStoreSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetIdentityMappingStore); + Modify_GetIdentityMappingStoreApiCall(ref _callGetIdentityMappingStore); + _callDeleteIdentityMappingStore = clientHelper.BuildApiCall("DeleteIdentityMappingStore", grpcClient.DeleteIdentityMappingStoreAsync, grpcClient.DeleteIdentityMappingStore, effectiveSettings.DeleteIdentityMappingStoreSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteIdentityMappingStore); + Modify_DeleteIdentityMappingStoreApiCall(ref _callDeleteIdentityMappingStore); + _callImportIdentityMappings = clientHelper.BuildApiCall("ImportIdentityMappings", grpcClient.ImportIdentityMappingsAsync, grpcClient.ImportIdentityMappings, effectiveSettings.ImportIdentityMappingsSettings).WithGoogleRequestParam("identity_mapping_store", request => request.IdentityMappingStore); + Modify_ApiCall(ref _callImportIdentityMappings); + Modify_ImportIdentityMappingsApiCall(ref _callImportIdentityMappings); + _callPurgeIdentityMappings = clientHelper.BuildApiCall("PurgeIdentityMappings", grpcClient.PurgeIdentityMappingsAsync, grpcClient.PurgeIdentityMappings, effectiveSettings.PurgeIdentityMappingsSettings).WithGoogleRequestParam("identity_mapping_store", request => request.IdentityMappingStore); + Modify_ApiCall(ref _callPurgeIdentityMappings); + Modify_PurgeIdentityMappingsApiCall(ref _callPurgeIdentityMappings); + _callListIdentityMappings = clientHelper.BuildApiCall("ListIdentityMappings", grpcClient.ListIdentityMappingsAsync, grpcClient.ListIdentityMappings, effectiveSettings.ListIdentityMappingsSettings).WithGoogleRequestParam("identity_mapping_store", request => request.IdentityMappingStore); + Modify_ApiCall(ref _callListIdentityMappings); + Modify_ListIdentityMappingsApiCall(ref _callListIdentityMappings); + _callListIdentityMappingStores = clientHelper.BuildApiCall("ListIdentityMappingStores", grpcClient.ListIdentityMappingStoresAsync, grpcClient.ListIdentityMappingStores, effectiveSettings.ListIdentityMappingStoresSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListIdentityMappingStores); + Modify_ListIdentityMappingStoresApiCall(ref _callListIdentityMappingStores); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_CreateIdentityMappingStoreApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetIdentityMappingStoreApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteIdentityMappingStoreApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ImportIdentityMappingsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_PurgeIdentityMappingsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListIdentityMappingsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListIdentityMappingStoresApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(IdentityMappingStoreService.IdentityMappingStoreServiceClient grpcClient, IdentityMappingStoreServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC IdentityMappingStoreService client + public override IdentityMappingStoreService.IdentityMappingStoreServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_CreateIdentityMappingStoreRequest(ref CreateIdentityMappingStoreRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetIdentityMappingStoreRequest(ref GetIdentityMappingStoreRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteIdentityMappingStoreRequest(ref DeleteIdentityMappingStoreRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ImportIdentityMappingsRequest(ref ImportIdentityMappingsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_PurgeIdentityMappingsRequest(ref PurgeIdentityMappingsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListIdentityMappingsRequest(ref ListIdentityMappingsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListIdentityMappingStoresRequest(ref ListIdentityMappingStoresRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Creates a new Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override IdentityMappingStore CreateIdentityMappingStore(CreateIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateIdentityMappingStoreRequest(ref request, ref callSettings); + return _callCreateIdentityMappingStore.Sync(request, callSettings); + } + + /// + /// Creates a new Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateIdentityMappingStoreAsync(CreateIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateIdentityMappingStoreRequest(ref request, ref callSettings); + return _callCreateIdentityMappingStore.Async(request, callSettings); + } + + /// + /// Gets the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override IdentityMappingStore GetIdentityMappingStore(GetIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIdentityMappingStoreRequest(ref request, ref callSettings); + return _callGetIdentityMappingStore.Sync(request, callSettings); + } + + /// + /// Gets the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetIdentityMappingStoreAsync(GetIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetIdentityMappingStoreRequest(ref request, ref callSettings); + return _callGetIdentityMappingStore.Async(request, callSettings); + } + + /// The long-running operations client for DeleteIdentityMappingStore. + public override lro::OperationsClient DeleteIdentityMappingStoreOperationsClient { get; } + + /// + /// Deletes the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation DeleteIdentityMappingStore(DeleteIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteIdentityMappingStoreRequest(ref request, ref callSettings); + return new lro::Operation(_callDeleteIdentityMappingStore.Sync(request, callSettings), DeleteIdentityMappingStoreOperationsClient); + } + + /// + /// Deletes the Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> DeleteIdentityMappingStoreAsync(DeleteIdentityMappingStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteIdentityMappingStoreRequest(ref request, ref callSettings); + return new lro::Operation(await _callDeleteIdentityMappingStore.Async(request, callSettings).ConfigureAwait(false), DeleteIdentityMappingStoreOperationsClient); + } + + /// The long-running operations client for ImportIdentityMappings. + public override lro::OperationsClient ImportIdentityMappingsOperationsClient { get; } + + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation ImportIdentityMappings(ImportIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ImportIdentityMappingsRequest(ref request, ref callSettings); + return new lro::Operation(_callImportIdentityMappings.Sync(request, callSettings), ImportIdentityMappingsOperationsClient); + } + + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> ImportIdentityMappingsAsync(ImportIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ImportIdentityMappingsRequest(ref request, ref callSettings); + return new lro::Operation(await _callImportIdentityMappings.Async(request, callSettings).ConfigureAwait(false), ImportIdentityMappingsOperationsClient); + } + + /// The long-running operations client for PurgeIdentityMappings. + public override lro::OperationsClient PurgeIdentityMappingsOperationsClient { get; } + + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation PurgeIdentityMappings(PurgeIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_PurgeIdentityMappingsRequest(ref request, ref callSettings); + return new lro::Operation(_callPurgeIdentityMappings.Sync(request, callSettings), PurgeIdentityMappingsOperationsClient); + } + + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> PurgeIdentityMappingsAsync(PurgeIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_PurgeIdentityMappingsRequest(ref request, ref callSettings); + return new lro::Operation(await _callPurgeIdentityMappings.Async(request, callSettings).ConfigureAwait(false), PurgeIdentityMappingsOperationsClient); + } + + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListIdentityMappings(ListIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIdentityMappingsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListIdentityMappings, request, callSettings); + } + + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListIdentityMappingsAsync(ListIdentityMappingsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIdentityMappingsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListIdentityMappings, request, callSettings); + } + + /// + /// Lists all Identity Mapping Stores. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListIdentityMappingStores(ListIdentityMappingStoresRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIdentityMappingStoresRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListIdentityMappingStores, request, callSettings); + } + + /// + /// Lists all Identity Mapping Stores. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListIdentityMappingStoresAsync(ListIdentityMappingStoresRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListIdentityMappingStoresRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListIdentityMappingStores, request, callSettings); + } + } + + public partial class ListIdentityMappingsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListIdentityMappingStoresRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListIdentityMappingsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => IdentityMappingEntries.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public partial class ListIdentityMappingStoresResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => IdentityMappingStores.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public static partial class IdentityMappingStoreService + { + public partial class IdentityMappingStoreServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// A new Operations client for the same target as this client. + public virtual lro::Operations.OperationsClient CreateOperationsClient() => + new lro::Operations.OperationsClient(CallInvoker); + } + } + + public static partial class IdentityMappingStoreService + { + public partial class IdentityMappingStoreServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceGrpc.g.cs new file mode 100644 index 000000000000..ad90d4e48bc0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceGrpc.g.cs @@ -0,0 +1,650 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/identity_mapping_store_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing Identity Mapping Stores. + /// + public static partial class IdentityMappingStoreService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.IdentityMappingStoreService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_CreateIdentityMappingStoreRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_IdentityMappingStore = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetIdentityMappingStoreRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_DeleteIdentityMappingStoreRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_longrunning_Operation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.LongRunning.Operation.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ImportIdentityMappingsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_PurgeIdentityMappingsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingStoresRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingStoresResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresResponse.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateIdentityMappingStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateIdentityMappingStore", + __Marshaller_google_cloud_discoveryengine_v1beta_CreateIdentityMappingStoreRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_IdentityMappingStore); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetIdentityMappingStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetIdentityMappingStore", + __Marshaller_google_cloud_discoveryengine_v1beta_GetIdentityMappingStoreRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_IdentityMappingStore); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteIdentityMappingStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteIdentityMappingStore", + __Marshaller_google_cloud_discoveryengine_v1beta_DeleteIdentityMappingStoreRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ImportIdentityMappings = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ImportIdentityMappings", + __Marshaller_google_cloud_discoveryengine_v1beta_ImportIdentityMappingsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_PurgeIdentityMappings = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "PurgeIdentityMappings", + __Marshaller_google_cloud_discoveryengine_v1beta_PurgeIdentityMappingsRequest, + __Marshaller_google_longrunning_Operation); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListIdentityMappings = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListIdentityMappings", + __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingsRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListIdentityMappingStores = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListIdentityMappingStores", + __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingStoresRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListIdentityMappingStoresResponse); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStoreServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of IdentityMappingStoreService + [grpc::BindServiceMethod(typeof(IdentityMappingStoreService), "BindService")] + public abstract partial class IdentityMappingStoreServiceBase + { + /// + /// Creates a new Identity Mapping Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets the Identity Mapping Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes the Identity Mapping Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ImportIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task PurgeIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists all Identity Mapping Stores. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListIdentityMappingStores(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for IdentityMappingStoreService + public partial class IdentityMappingStoreServiceClient : grpc::ClientBase + { + /// Creates a new client for IdentityMappingStoreService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public IdentityMappingStoreServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for IdentityMappingStoreService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public IdentityMappingStoreServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected IdentityMappingStoreServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected IdentityMappingStoreServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Creates a new Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore CreateIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateIdentityMappingStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a new Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore CreateIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateIdentityMappingStore, null, options, request); + } + /// + /// Creates a new Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateIdentityMappingStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateIdentityMappingStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a new Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateIdentityMappingStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateIdentityMappingStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateIdentityMappingStore, null, options, request); + } + /// + /// Gets the Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore GetIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIdentityMappingStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingStore GetIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetIdentityMappingStore, null, options, request); + } + /// + /// Gets the Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIdentityMappingStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetIdentityMappingStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetIdentityMappingStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetIdentityMappingStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetIdentityMappingStore, null, options, request); + } + /// + /// Deletes the Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeleteIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteIdentityMappingStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes the Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation DeleteIdentityMappingStore(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteIdentityMappingStore, null, options, request); + } + /// + /// Deletes the Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteIdentityMappingStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteIdentityMappingStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes the Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteIdentityMappingStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteIdentityMappingStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteIdentityMappingStore, null, options, request); + } + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ImportIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ImportIdentityMappings(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation ImportIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ImportIdentityMappings, null, options, request); + } + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ImportIdentityMappingsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ImportIdentityMappingsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Imports a list of Identity Mapping Entries to an Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ImportIdentityMappingsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportIdentityMappingsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ImportIdentityMappings, null, options, request); + } + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation PurgeIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return PurgeIdentityMappings(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation PurgeIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_PurgeIdentityMappings, null, options, request); + } + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall PurgeIdentityMappingsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return PurgeIdentityMappingsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Purges specified or all Identity Mapping Entries from an Identity Mapping + /// Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall PurgeIdentityMappingsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeIdentityMappingsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_PurgeIdentityMappings, null, options, request); + } + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsResponse ListIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIdentityMappings(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsResponse ListIdentityMappings(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListIdentityMappings, null, options, request); + } + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIdentityMappingsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIdentityMappingsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists Identity Mappings in an Identity Mapping Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIdentityMappingsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListIdentityMappings, null, options, request); + } + /// + /// Lists all Identity Mapping Stores. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresResponse ListIdentityMappingStores(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIdentityMappingStores(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all Identity Mapping Stores. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresResponse ListIdentityMappingStores(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListIdentityMappingStores, null, options, request); + } + /// + /// Lists all Identity Mapping Stores. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIdentityMappingStoresAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListIdentityMappingStoresAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all Identity Mapping Stores. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListIdentityMappingStoresAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListIdentityMappingStoresRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListIdentityMappingStores, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override IdentityMappingStoreServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new IdentityMappingStoreServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(IdentityMappingStoreServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_CreateIdentityMappingStore, serviceImpl.CreateIdentityMappingStore) + .AddMethod(__Method_GetIdentityMappingStore, serviceImpl.GetIdentityMappingStore) + .AddMethod(__Method_DeleteIdentityMappingStore, serviceImpl.DeleteIdentityMappingStore) + .AddMethod(__Method_ImportIdentityMappings, serviceImpl.ImportIdentityMappings) + .AddMethod(__Method_PurgeIdentityMappings, serviceImpl.PurgeIdentityMappings) + .AddMethod(__Method_ListIdentityMappings, serviceImpl.ListIdentityMappings) + .AddMethod(__Method_ListIdentityMappingStores, serviceImpl.ListIdentityMappingStores).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, IdentityMappingStoreServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_CreateIdentityMappingStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateIdentityMappingStore)); + serviceBinder.AddMethod(__Method_GetIdentityMappingStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetIdentityMappingStore)); + serviceBinder.AddMethod(__Method_DeleteIdentityMappingStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteIdentityMappingStore)); + serviceBinder.AddMethod(__Method_ImportIdentityMappings, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ImportIdentityMappings)); + serviceBinder.AddMethod(__Method_PurgeIdentityMappings, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PurgeIdentityMappings)); + serviceBinder.AddMethod(__Method_ListIdentityMappings, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListIdentityMappings)); + serviceBinder.AddMethod(__Method_ListIdentityMappingStores, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListIdentityMappingStores)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceResourceNames.g.cs new file mode 100644 index 000000000000..dee089838631 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/IdentityMappingStoreServiceResourceNames.g.cs @@ -0,0 +1,117 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class CreateIdentityMappingStoreRequest + { + /// + /// -typed view over the resource name property. + /// + public LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public gcdv::CmekConfigName CmekConfigNameAsCmekConfigName + { + get => string.IsNullOrEmpty(CmekConfigName) ? null : gcdv::CmekConfigName.Parse(CmekConfigName, allowUnparsed: true); + set => CmekConfigName = value?.ToString() ?? ""; + } + } + + public partial class GetIdentityMappingStoreRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::IdentityMappingStoreName IdentityMappingStoreName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::IdentityMappingStoreName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class DeleteIdentityMappingStoreRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::IdentityMappingStoreName IdentityMappingStoreName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::IdentityMappingStoreName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ImportIdentityMappingsRequest + { + /// + /// -typed view over the resource name + /// property. + /// + public IdentityMappingStoreName IdentityMappingStoreAsIdentityMappingStoreName + { + get => string.IsNullOrEmpty(IdentityMappingStore) ? null : IdentityMappingStoreName.Parse(IdentityMappingStore, allowUnparsed: true); + set => IdentityMappingStore = value?.ToString() ?? ""; + } + } + + public partial class PurgeIdentityMappingsRequest + { + /// + /// -typed view over the resource name + /// property. + /// + public IdentityMappingStoreName IdentityMappingStoreAsIdentityMappingStoreName + { + get => string.IsNullOrEmpty(IdentityMappingStore) ? null : IdentityMappingStoreName.Parse(IdentityMappingStore, allowUnparsed: true); + set => IdentityMappingStore = value?.ToString() ?? ""; + } + } + + public partial class ListIdentityMappingsRequest + { + /// + /// -typed view over the resource name + /// property. + /// + public IdentityMappingStoreName IdentityMappingStoreAsIdentityMappingStoreName + { + get => string.IsNullOrEmpty(IdentityMappingStore) ? null : IdentityMappingStoreName.Parse(IdentityMappingStore, allowUnparsed: true); + set => IdentityMappingStore = value?.ToString() ?? ""; + } + } + + public partial class ListIdentityMappingStoresRequest + { + /// + /// -typed view over the resource name property. + /// + public LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ImportConfig.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ImportConfig.g.cs index 3ccd16623e43..7c511da326d2 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ImportConfig.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ImportConfig.g.cs @@ -68,139 +68,141 @@ static ImportConfigReflection() { "dF9pZBgBIAEoCRIYCgtpbnN0YW5jZV9pZBgCIAEoCUID4EECEhUKCHRhYmxl", "X2lkGAMgASgJQgPgQQISUwoQYmlndGFibGVfb3B0aW9ucxgEIAEoCzI0Lmdv", "b2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkJpZ3RhYmxlT3B0", - "aW9uc0ID4EECIoMBCg9GaGlyU3RvcmVTb3VyY2USPwoKZmhpcl9zdG9yZRgB", + "aW9uc0ID4EECIrYBCg9GaGlyU3RvcmVTb3VyY2USPwoKZmhpcl9zdG9yZRgB", "IAEoCUIr4EEC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gASgIQgPgQQEimQEKDkNsb3VkU3FsU291cmNlEhIKCnByb2plY3Rf", + "aWQYASABKAkSGAoLaW5zdGFuY2VfaWQYAiABKAlCA+BBAhIYCgtkYXRhYmFz", + "ZV9pZBgDIAEoCUID4EECEhUKCHRhYmxlX2lkGAQgASgJQgPgQQISFwoPZ2Nz", + "X3N0YWdpbmdfZGlyGAUgASgJEg8KB29mZmxvYWQYBiABKAgioAEKDUFsbG95", + "RGJTb3VyY2USEgoKcHJvamVjdF9pZBgBIAEoCRIYCgtsb2NhdGlvbl9pZBgC", + "IAEoCUID4EECEhcKCmNsdXN0ZXJfaWQYAyABKAlCA+BBAhIYCgtkYXRhYmFz", + "ZV9pZBgEIAEoCUID4EECEhUKCHRhYmxlX2lkGAUgASgJQgPgQQISFwoPZ2Nz", + "X3N0YWdpbmdfZGlyGAYgASgJInQKD0ZpcmVzdG9yZVNvdXJjZRISCgpwcm9q", + "ZWN0X2lkGAEgASgJEhgKC2RhdGFiYXNlX2lkGAIgASgJQgPgQQISGgoNY29s", + "bGVjdGlvbl9pZBgDIAEoCUID4EECEhcKD2djc19zdGFnaW5nX2RpchgEIAEo", + "CSI4ChFJbXBvcnRFcnJvckNvbmZpZxIUCgpnY3NfcHJlZml4GAEgASgJSABC", + "DQoLZGVzdGluYXRpb24ihwQKF0ltcG9ydFVzZXJFdmVudHNSZXF1ZXN0EmIK", + "DWlubGluZV9zb3VyY2UYAiABKAsySS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5", + "ZW5naW5lLnYxYmV0YS5JbXBvcnRVc2VyRXZlbnRzUmVxdWVzdC5JbmxpbmVT", + "b3VyY2VIABJECgpnY3Nfc291cmNlGAMgASgLMi4uZ29vZ2xlLmNsb3VkLmRp", + "c2NvdmVyeWVuZ2luZS52MWJldGEuR2NzU291cmNlSAASTgoPYmlncXVlcnlf", + "c291cmNlGAQgASgLMjMuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52", + "MWJldGEuQmlnU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FibGVfc291cmNlGA8gASgLMjMuZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", + "eWVuZ2luZS52MWJldGEuQmlndGFibGVTb3VyY2VIABI9CgZwYXJlbnQYASAB", + "KAlCLeBBAvpBJwolZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29tL0Jy", + "YW5jaBJMCgxlcnJvcl9jb25maWcYBSABKAsyNi5nb29nbGUuY2xvdWQuZGlz", + "Y292ZXJ5ZW5naW5lLnYxYmV0YS5JbXBvcnRFcnJvckNvbmZpZxJrChNyZWNv", + "bmNpbGlhdGlvbl9tb2RlGAYgASgOMk4uZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", + "eWVuZ2luZS52MWJldGEuSW1wb3J0RG9jdW1lbnRzUmVxdWVzdC5SZWNvbmNp", + "bGlhdGlvbk1vZGUSLwoLdXBkYXRlX21hc2sYByABKAsyGi5nb29nbGUucHJv", + "dG9idWYuRmllbGRNYXNrEhkKEWF1dG9fZ2VuZXJhdGVfaWRzGAggASgIEhAK", + "CGlkX2ZpZWxkGAkgASgJEiIKFWZvcmNlX3JlZnJlc2hfY29udGVudBgQIAEo", + "CEID4EEBGlUKDElubGluZVNvdXJjZRJFCglkb2N1bWVudHMYASADKAsyLS5n", + "b29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5Eb2N1bWVudEID", + "4EECIlQKElJlY29uY2lsaWF0aW9uTW9kZRIjCh9SRUNPTkNJTElBVElPTl9N", + "T0RFX1VOU1BFQ0lGSUVEEAASDwoLSU5DUkVNRU5UQUwQARIICgRGVUxMEAJC", + "CAoGc291cmNlIpIBChdJbXBvcnREb2N1bWVudHNSZXNwb25zZRIpCg1lcnJv", + "cl9zYW1wbGVzGAEgAygLMhIuZ29vZ2xlLnJwYy5TdGF0dXMSTAoMZXJyb3Jf", + "Y29uZmlnGAIgASgLMjYuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52", + "MWJldGEuSW1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AEoA0KYAgonY29tLmdvb2ds", + "ZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQhFJbXBvcnRDb25maWdQ", + "cm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9h", + "cGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKi", + "Ag9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5n", + "aW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFi", + "ZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFi", + "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CompletionReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.UserEventReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, global::Google.Type.DateReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -211,7 +213,7 @@ static ImportConfigReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BigtableOptions.Types.BigtableColumn), global::Google.Cloud.DiscoveryEngine.V1Beta.BigtableOptions.Types.BigtableColumn.Parser, new[]{ "Qualifier", "FieldName", "Encoding", "Type" }, null, null, null, null), null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BigtableSource), global::Google.Cloud.DiscoveryEngine.V1Beta.BigtableSource.Parser, new[]{ "ProjectId", "InstanceId", "TableId", "BigtableOptions" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.FhirStoreSource), global::Google.Cloud.DiscoveryEngine.V1Beta.FhirStoreSource.Parser, new[]{ "FhirStore", "GcsStagingDir", "ResourceTypes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.FhirStoreSource), global::Google.Cloud.DiscoveryEngine.V1Beta.FhirStoreSource.Parser, new[]{ "FhirStore", "GcsStagingDir", "ResourceTypes", "UpdateFromLatestPredefinedSchema" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CloudSqlSource), global::Google.Cloud.DiscoveryEngine.V1Beta.CloudSqlSource.Parser, new[]{ "ProjectId", "InstanceId", "DatabaseId", "TableId", "GcsStagingDir", "Offload" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AlloyDbSource), global::Google.Cloud.DiscoveryEngine.V1Beta.AlloyDbSource.Parser, new[]{ "ProjectId", "LocationId", "ClusterId", "DatabaseId", "TableId", "GcsStagingDir" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.FirestoreSource), global::Google.Cloud.DiscoveryEngine.V1Beta.FirestoreSource.Parser, new[]{ "ProjectId", "DatabaseId", "CollectionId", "GcsStagingDir" }, null, null, null, null), @@ -220,7 +222,7 @@ static ImportConfigReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsResponse.Parser, new[]{ "ErrorSamples", "ErrorConfig", "JoinedEventsCount", "UnjoinedEventsCount" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportUserEventsMetadata.Parser, new[]{ "CreateTime", "UpdateTime", "SuccessCount", "FailureCount" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsMetadata.Parser, new[]{ "CreateTime", "UpdateTime", "SuccessCount", "FailureCount", "TotalCount" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Parser, new[]{ "InlineSource", "GcsSource", "BigquerySource", "FhirStoreSource", "SpannerSource", "CloudSqlSource", "FirestoreSource", "AlloyDbSource", "BigtableSource", "Parent", "ErrorConfig", "ReconciliationMode", "UpdateMask", "AutoGenerateIds", "IdField" }, new[]{ "Source" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Types.ReconciliationMode) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Types.InlineSource.Parser, new[]{ "Documents" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Parser, new[]{ "InlineSource", "GcsSource", "BigquerySource", "FhirStoreSource", "SpannerSource", "CloudSqlSource", "FirestoreSource", "AlloyDbSource", "BigtableSource", "Parent", "ErrorConfig", "ReconciliationMode", "UpdateMask", "AutoGenerateIds", "IdField", "ForceRefreshContent" }, new[]{ "Source" }, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Types.ReconciliationMode) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsRequest.Types.InlineSource.Parser, new[]{ "Documents" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportDocumentsResponse.Parser, new[]{ "ErrorSamples", "ErrorConfig" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest.Parser, new[]{ "InlineSource", "GcsSource", "Parent" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest.Types.InlineSource.Parser, new[]{ "Entries" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesResponse.Parser, new[]{ "ErrorSamples", "ImportedEntriesCount", "FailedEntriesCount" }, null, null, null, null), @@ -1583,7 +1585,7 @@ public static partial class Types { /// The type of values in a Bigtable column or column family. /// The values are expected to be encoded using /// [HBase - /// Bytes.toBytes](https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/util/Bytes.html) + /// Bytes.toBytes](https://hbase.apache.org/1.4/apidocs/org/apache/hadoop/hbase/util/Bytes.html) /// function when the encoding value is set to `BINARY`. /// public enum Type { @@ -2684,6 +2686,7 @@ public FhirStoreSource(FhirStoreSource other) : this() { fhirStore_ = other.fhirStore_; gcsStagingDir_ = other.gcsStagingDir_; resourceTypes_ = other.resourceTypes_.Clone(); + updateFromLatestPredefinedSchema_ = other.updateFromLatestPredefinedSchema_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2744,6 +2747,29 @@ public string GcsStagingDir { get { return resourceTypes_; } } + /// Field number for the "update_from_latest_predefined_schema" field. + public const int UpdateFromLatestPredefinedSchemaFieldNumber = 4; + private bool updateFromLatestPredefinedSchema_; + /// + /// Optional. Whether to update the DataStore schema to the latest predefined + /// schema. + /// + /// If true, the DataStore schema will be updated to include any FHIR fields + /// or resource types that have been added since the last import and + /// corresponding FHIR resources will be imported from the FHIR store. + /// + /// Note this field cannot be used in conjunction with `resource_types`. It + /// should be used after initial import. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool UpdateFromLatestPredefinedSchema { + get { return updateFromLatestPredefinedSchema_; } + set { + updateFromLatestPredefinedSchema_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2762,6 +2788,7 @@ public bool Equals(FhirStoreSource other) { if (FhirStore != other.FhirStore) return false; if (GcsStagingDir != other.GcsStagingDir) return false; if(!resourceTypes_.Equals(other.resourceTypes_)) return false; + if (UpdateFromLatestPredefinedSchema != other.UpdateFromLatestPredefinedSchema) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2772,6 +2799,7 @@ public override int GetHashCode() { if (FhirStore.Length != 0) hash ^= FhirStore.GetHashCode(); if (GcsStagingDir.Length != 0) hash ^= GcsStagingDir.GetHashCode(); hash ^= resourceTypes_.GetHashCode(); + if (UpdateFromLatestPredefinedSchema != false) hash ^= UpdateFromLatestPredefinedSchema.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2799,6 +2827,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(GcsStagingDir); } resourceTypes_.WriteTo(output, _repeated_resourceTypes_codec); + if (UpdateFromLatestPredefinedSchema != false) { + output.WriteRawTag(32); + output.WriteBool(UpdateFromLatestPredefinedSchema); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2818,6 +2850,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(GcsStagingDir); } resourceTypes_.WriteTo(ref output, _repeated_resourceTypes_codec); + if (UpdateFromLatestPredefinedSchema != false) { + output.WriteRawTag(32); + output.WriteBool(UpdateFromLatestPredefinedSchema); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2835,6 +2871,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(GcsStagingDir); } size += resourceTypes_.CalculateSize(_repeated_resourceTypes_codec); + if (UpdateFromLatestPredefinedSchema != false) { + size += 1 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2854,6 +2893,9 @@ public void MergeFrom(FhirStoreSource other) { GcsStagingDir = other.GcsStagingDir; } resourceTypes_.Add(other.resourceTypes_); + if (other.UpdateFromLatestPredefinedSchema != false) { + UpdateFromLatestPredefinedSchema = other.UpdateFromLatestPredefinedSchema; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -2885,6 +2927,10 @@ public void MergeFrom(pb::CodedInputStream input) { resourceTypes_.AddEntriesFrom(input, _repeated_resourceTypes_codec); break; } + case 32: { + UpdateFromLatestPredefinedSchema = input.ReadBool(); + break; + } } } #endif @@ -2916,6 +2962,10 @@ public void MergeFrom(pb::CodedInputStream input) { resourceTypes_.AddEntriesFrom(ref input, _repeated_resourceTypes_codec); break; } + case 32: { + UpdateFromLatestPredefinedSchema = input.ReadBool(); + break; + } } } } @@ -5386,8 +5436,8 @@ public ImportUserEventsMetadata Clone() { public const int UpdateTimeFieldNumber = 2; private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; /// - /// Operation last update time. If the operation is done, this is also the - /// finish time. + /// Output only. Operation last update time. If the operation is done, this is + /// also the finish time. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -6087,6 +6137,7 @@ public ImportDocumentsRequest(ImportDocumentsRequest other) : this() { updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; autoGenerateIds_ = other.autoGenerateIds_; idField_ = other.idField_; + forceRefreshContent_ = other.forceRefreshContent_; switch (other.SourceCase) { case SourceOneofCase.InlineSource: InlineSource = other.InlineSource.Clone(); @@ -6401,7 +6452,6 @@ public bool AutoGenerateIds { /// must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. /// * [SpannerSource][google.cloud.discoveryengine.v1beta.SpannerSource]. /// * [CloudSqlSource][google.cloud.discoveryengine.v1beta.CloudSqlSource]. - /// * [FirestoreSource][google.cloud.discoveryengine.v1beta.FirestoreSource]. /// * [BigtableSource][google.cloud.discoveryengine.v1beta.BigtableSource]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6413,6 +6463,25 @@ public string IdField { } } + /// Field number for the "force_refresh_content" field. + public const int ForceRefreshContentFieldNumber = 16; + private bool forceRefreshContent_; + /// + /// Optional. Whether to force refresh the unstructured content of the + /// documents. + /// + /// If set to `true`, the content part of the documents will be refreshed + /// regardless of the update status of the referencing content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ForceRefreshContent { + get { return forceRefreshContent_; } + set { + forceRefreshContent_ = value; + } + } + private object source_; /// Enum of possible cases for the "source" oneof. public enum SourceOneofCase { @@ -6471,6 +6540,7 @@ public bool Equals(ImportDocumentsRequest other) { if (!object.Equals(UpdateMask, other.UpdateMask)) return false; if (AutoGenerateIds != other.AutoGenerateIds) return false; if (IdField != other.IdField) return false; + if (ForceRefreshContent != other.ForceRefreshContent) return false; if (SourceCase != other.SourceCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6494,6 +6564,7 @@ public override int GetHashCode() { if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); if (AutoGenerateIds != false) hash ^= AutoGenerateIds.GetHashCode(); if (IdField.Length != 0) hash ^= IdField.GetHashCode(); + if (ForceRefreshContent != false) hash ^= ForceRefreshContent.GetHashCode(); hash ^= (int) sourceCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -6573,6 +6644,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(122); output.WriteMessage(BigtableSource); } + if (ForceRefreshContent != false) { + output.WriteRawTag(128, 1); + output.WriteBool(ForceRefreshContent); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6643,6 +6718,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(122); output.WriteMessage(BigtableSource); } + if (ForceRefreshContent != false) { + output.WriteRawTag(128, 1); + output.WriteBool(ForceRefreshContent); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6698,6 +6777,9 @@ public int CalculateSize() { if (IdField.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(IdField); } + if (ForceRefreshContent != false) { + size += 2 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6734,6 +6816,9 @@ public void MergeFrom(ImportDocumentsRequest other) { if (other.IdField.Length != 0) { IdField = other.IdField; } + if (other.ForceRefreshContent != false) { + ForceRefreshContent = other.ForceRefreshContent; + } switch (other.SourceCase) { case SourceOneofCase.InlineSource: if (InlineSource == null) { @@ -6921,6 +7006,10 @@ public void MergeFrom(pb::CodedInputStream input) { BigtableSource = subBuilder; break; } + case 128: { + ForceRefreshContent = input.ReadBool(); + break; + } } } #endif @@ -7051,6 +7140,10 @@ public void MergeFrom(pb::CodedInputStream input) { BigtableSource = subBuilder; break; } + case 128: { + ForceRefreshContent = input.ReadBool(); + break; + } } } } @@ -7077,6 +7170,9 @@ public enum ReconciliationMode { /// /// Calculates diff and replaces the entire document dataset. Existing /// documents may be deleted if they are not present in the source location. + /// When using this mode, there won't be any downtime on the dataset + /// targeted. Any document that should remain unchanged or that should be + /// updated will continue serving while the operation is running. /// [pbr::OriginalName("FULL")] Full = 2, } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfig.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfig.g.cs new file mode 100644 index 000000000000..111a7bdec85b --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfig.g.cs @@ -0,0 +1,793 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/license_config.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/license_config.proto + public static partial class LicenseConfigReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/license_config.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LicenseConfigReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cjhnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9saWNlbnNl", + "X2NvbmZpZy5wcm90bxIjZ29vZ2xlLmNsb3VkLmR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CgZBQ1RJVkUQARILCgdFWFBJUkVE", + "EAISDwoLTk9UX1NUQVJURUQQAxINCglXSVRIRFJBV04QBBIQCgxERUFDVElW", + "QVRJTkcQBTqaAepBlgEKLGRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNv", + "bS9MaWNlbnNlQ29uZmlnEkdwcm9qZWN0cy97cHJvamVjdH0vbG9jYXRpb25z", + "L3tsb2NhdGlvbn0vbGljZW5zZUNvbmZpZ3Mve2xpY2Vuc2VfY29uZmlnfSoO", + "bGljZW5zZUNvbmZpZ3MyDWxpY2Vuc2VDb25maWdCmQIKJ2NvbS5nb29nbGUu", + "Y2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YUISTGljZW5zZUNvbmZpZ1By", + "b3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2Fw", + "aXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqIC", + "D0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdp", + "bmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJl", + "dGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIG", + "cHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Type.DateReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Parser, new[]{ "Name", "LicenseCount", "SubscriptionTier", "State", "AutoRenew", "StartDate", "EndDate", "SubscriptionTerm", "FreeTrial", "GeminiBundle", "EarlyTerminated", "EarlyTerminationDate" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State) }, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Information about users' licenses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LicenseConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LicenseConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LicenseConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LicenseConfig(LicenseConfig other) : this() { + name_ = other.name_; + licenseCount_ = other.licenseCount_; + subscriptionTier_ = other.subscriptionTier_; + state_ = other.state_; + autoRenew_ = other.autoRenew_; + startDate_ = other.startDate_ != null ? other.startDate_.Clone() : null; + endDate_ = other.endDate_ != null ? other.endDate_.Clone() : null; + subscriptionTerm_ = other.subscriptionTerm_; + freeTrial_ = other.freeTrial_; + geminiBundle_ = other.geminiBundle_; + earlyTerminated_ = other.earlyTerminated_; + earlyTerminationDate_ = other.earlyTerminationDate_ != null ? other.earlyTerminationDate_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LicenseConfig Clone() { + return new LicenseConfig(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. Identifier. The fully qualified resource name of the license + /// config. Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "license_count" field. + public const int LicenseCountFieldNumber = 2; + private long licenseCount_; + /// + /// Required. Number of licenses purchased. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LicenseCount { + get { return licenseCount_; } + set { + licenseCount_ = value; + } + } + + /// Field number for the "subscription_tier" field. + public const int SubscriptionTierFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier subscriptionTier_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified; + /// + /// Required. Subscription tier information for the license config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier SubscriptionTier { + get { return subscriptionTier_; } + set { + subscriptionTier_ = value; + } + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State state_ = global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State.Unspecified; + /// + /// Output only. The state of the license config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "auto_renew" field. + public const int AutoRenewFieldNumber = 5; + private bool autoRenew_; + /// + /// Optional. Whether the license config should be auto renewed when it reaches + /// the end date. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AutoRenew { + get { return autoRenew_; } + set { + autoRenew_ = value; + } + } + + /// Field number for the "start_date" field. + public const int StartDateFieldNumber = 6; + private global::Google.Type.Date startDate_; + /// + /// Required. The start date. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Type.Date StartDate { + get { return startDate_; } + set { + startDate_ = value; + } + } + + /// Field number for the "end_date" field. + public const int EndDateFieldNumber = 7; + private global::Google.Type.Date endDate_; + /// + /// Optional. The planed end date. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Type.Date EndDate { + get { return endDate_; } + set { + endDate_ = value; + } + } + + /// Field number for the "subscription_term" field. + public const int SubscriptionTermFieldNumber = 8; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm subscriptionTerm_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm.Unspecified; + /// + /// Required. Subscription term. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm SubscriptionTerm { + get { return subscriptionTerm_; } + set { + subscriptionTerm_ = value; + } + } + + /// Field number for the "free_trial" field. + public const int FreeTrialFieldNumber = 9; + private bool freeTrial_; + /// + /// Optional. Whether the license config is for free trial. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FreeTrial { + get { return freeTrial_; } + set { + freeTrial_ = value; + } + } + + /// Field number for the "gemini_bundle" field. + public const int GeminiBundleFieldNumber = 11; + private bool geminiBundle_; + /// + /// Output only. Whether the license config is for Gemini bundle. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool GeminiBundle { + get { return geminiBundle_; } + set { + geminiBundle_ = value; + } + } + + /// Field number for the "early_terminated" field. + public const int EarlyTerminatedFieldNumber = 12; + private bool earlyTerminated_; + /// + /// Output only. Indication of whether the subscription is terminated earlier + /// than the expiration date. This is usually terminated by pipeline once the + /// subscription gets terminated from subsv3. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EarlyTerminated { + get { return earlyTerminated_; } + set { + earlyTerminated_ = value; + } + } + + /// Field number for the "early_termination_date" field. + public const int EarlyTerminationDateFieldNumber = 13; + private global::Google.Type.Date earlyTerminationDate_; + /// + /// Output only. The date when the subscription is terminated earlier than the + /// expiration date. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Type.Date EarlyTerminationDate { + get { return earlyTerminationDate_; } + set { + earlyTerminationDate_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LicenseConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LicenseConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (LicenseCount != other.LicenseCount) return false; + if (SubscriptionTier != other.SubscriptionTier) return false; + if (State != other.State) return false; + if (AutoRenew != other.AutoRenew) return false; + if (!object.Equals(StartDate, other.StartDate)) return false; + if (!object.Equals(EndDate, other.EndDate)) return false; + if (SubscriptionTerm != other.SubscriptionTerm) return false; + if (FreeTrial != other.FreeTrial) return false; + if (GeminiBundle != other.GeminiBundle) return false; + if (EarlyTerminated != other.EarlyTerminated) return false; + if (!object.Equals(EarlyTerminationDate, other.EarlyTerminationDate)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (LicenseCount != 0L) hash ^= LicenseCount.GetHashCode(); + if (SubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) hash ^= SubscriptionTier.GetHashCode(); + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State.Unspecified) hash ^= State.GetHashCode(); + if (AutoRenew != false) hash ^= AutoRenew.GetHashCode(); + if (startDate_ != null) hash ^= StartDate.GetHashCode(); + if (endDate_ != null) hash ^= EndDate.GetHashCode(); + if (SubscriptionTerm != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm.Unspecified) hash ^= SubscriptionTerm.GetHashCode(); + if (FreeTrial != false) hash ^= FreeTrial.GetHashCode(); + if (GeminiBundle != false) hash ^= GeminiBundle.GetHashCode(); + if (EarlyTerminated != false) hash ^= EarlyTerminated.GetHashCode(); + if (earlyTerminationDate_ != null) hash ^= EarlyTerminationDate.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (LicenseCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(LicenseCount); + } + if (SubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) SubscriptionTier); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) State); + } + if (AutoRenew != false) { + output.WriteRawTag(40); + output.WriteBool(AutoRenew); + } + if (startDate_ != null) { + output.WriteRawTag(50); + output.WriteMessage(StartDate); + } + if (endDate_ != null) { + output.WriteRawTag(58); + output.WriteMessage(EndDate); + } + if (SubscriptionTerm != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm.Unspecified) { + output.WriteRawTag(64); + output.WriteEnum((int) SubscriptionTerm); + } + if (FreeTrial != false) { + output.WriteRawTag(72); + output.WriteBool(FreeTrial); + } + if (GeminiBundle != false) { + output.WriteRawTag(88); + output.WriteBool(GeminiBundle); + } + if (EarlyTerminated != false) { + output.WriteRawTag(96); + output.WriteBool(EarlyTerminated); + } + if (earlyTerminationDate_ != null) { + output.WriteRawTag(106); + output.WriteMessage(EarlyTerminationDate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (LicenseCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(LicenseCount); + } + if (SubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) SubscriptionTier); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) State); + } + if (AutoRenew != false) { + output.WriteRawTag(40); + output.WriteBool(AutoRenew); + } + if (startDate_ != null) { + output.WriteRawTag(50); + output.WriteMessage(StartDate); + } + if (endDate_ != null) { + output.WriteRawTag(58); + output.WriteMessage(EndDate); + } + if (SubscriptionTerm != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm.Unspecified) { + output.WriteRawTag(64); + output.WriteEnum((int) SubscriptionTerm); + } + if (FreeTrial != false) { + output.WriteRawTag(72); + output.WriteBool(FreeTrial); + } + if (GeminiBundle != false) { + output.WriteRawTag(88); + output.WriteBool(GeminiBundle); + } + if (EarlyTerminated != false) { + output.WriteRawTag(96); + output.WriteBool(EarlyTerminated); + } + if (earlyTerminationDate_ != null) { + output.WriteRawTag(106); + output.WriteMessage(EarlyTerminationDate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (LicenseCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LicenseCount); + } + if (SubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SubscriptionTier); + } + if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); + } + if (AutoRenew != false) { + size += 1 + 1; + } + if (startDate_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartDate); + } + if (endDate_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EndDate); + } + if (SubscriptionTerm != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SubscriptionTerm); + } + if (FreeTrial != false) { + size += 1 + 1; + } + if (GeminiBundle != false) { + size += 1 + 1; + } + if (EarlyTerminated != false) { + size += 1 + 1; + } + if (earlyTerminationDate_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EarlyTerminationDate); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LicenseConfig other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.LicenseCount != 0L) { + LicenseCount = other.LicenseCount; + } + if (other.SubscriptionTier != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier.Unspecified) { + SubscriptionTier = other.SubscriptionTier; + } + if (other.State != global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State.Unspecified) { + State = other.State; + } + if (other.AutoRenew != false) { + AutoRenew = other.AutoRenew; + } + if (other.startDate_ != null) { + if (startDate_ == null) { + StartDate = new global::Google.Type.Date(); + } + StartDate.MergeFrom(other.StartDate); + } + if (other.endDate_ != null) { + if (endDate_ == null) { + EndDate = new global::Google.Type.Date(); + } + EndDate.MergeFrom(other.EndDate); + } + if (other.SubscriptionTerm != global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm.Unspecified) { + SubscriptionTerm = other.SubscriptionTerm; + } + if (other.FreeTrial != false) { + FreeTrial = other.FreeTrial; + } + if (other.GeminiBundle != false) { + GeminiBundle = other.GeminiBundle; + } + if (other.EarlyTerminated != false) { + EarlyTerminated = other.EarlyTerminated; + } + if (other.earlyTerminationDate_ != null) { + if (earlyTerminationDate_ == null) { + EarlyTerminationDate = new global::Google.Type.Date(); + } + EarlyTerminationDate.MergeFrom(other.EarlyTerminationDate); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + LicenseCount = input.ReadInt64(); + break; + } + case 24: { + SubscriptionTier = (global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier) input.ReadEnum(); + break; + } + case 32: { + State = (global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State) input.ReadEnum(); + break; + } + case 40: { + AutoRenew = input.ReadBool(); + break; + } + case 50: { + if (startDate_ == null) { + StartDate = new global::Google.Type.Date(); + } + input.ReadMessage(StartDate); + break; + } + case 58: { + if (endDate_ == null) { + EndDate = new global::Google.Type.Date(); + } + input.ReadMessage(EndDate); + break; + } + case 64: { + SubscriptionTerm = (global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm) input.ReadEnum(); + break; + } + case 72: { + FreeTrial = input.ReadBool(); + break; + } + case 88: { + GeminiBundle = input.ReadBool(); + break; + } + case 96: { + EarlyTerminated = input.ReadBool(); + break; + } + case 106: { + if (earlyTerminationDate_ == null) { + EarlyTerminationDate = new global::Google.Type.Date(); + } + input.ReadMessage(EarlyTerminationDate); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + LicenseCount = input.ReadInt64(); + break; + } + case 24: { + SubscriptionTier = (global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTier) input.ReadEnum(); + break; + } + case 32: { + State = (global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Types.State) input.ReadEnum(); + break; + } + case 40: { + AutoRenew = input.ReadBool(); + break; + } + case 50: { + if (startDate_ == null) { + StartDate = new global::Google.Type.Date(); + } + input.ReadMessage(StartDate); + break; + } + case 58: { + if (endDate_ == null) { + EndDate = new global::Google.Type.Date(); + } + input.ReadMessage(EndDate); + break; + } + case 64: { + SubscriptionTerm = (global::Google.Cloud.DiscoveryEngine.V1Beta.SubscriptionTerm) input.ReadEnum(); + break; + } + case 72: { + FreeTrial = input.ReadBool(); + break; + } + case 88: { + GeminiBundle = input.ReadBool(); + break; + } + case 96: { + EarlyTerminated = input.ReadBool(); + break; + } + case 106: { + if (earlyTerminationDate_ == null) { + EarlyTerminationDate = new global::Google.Type.Date(); + } + input.ReadMessage(EarlyTerminationDate); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the LicenseConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// License config state enumeration. + /// + public enum State { + /// + /// Default value. The license config does not exist. + /// + [pbr::OriginalName("STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// The license config is effective and being used. + /// + [pbr::OriginalName("ACTIVE")] Active = 1, + /// + /// The license config has expired. + /// + [pbr::OriginalName("EXPIRED")] Expired = 2, + /// + /// The license config has not started yet, and its start date is in the + /// future. + /// + [pbr::OriginalName("NOT_STARTED")] NotStarted = 3, + /// + /// This is when a sub license config has returned all its seats back to + /// BillingAccountLicenseConfig that it belongs to. + /// Similar to EXPIRED. + /// + [pbr::OriginalName("WITHDRAWN")] Withdrawn = 4, + /// + /// The license config is terminated earlier than the expiration date and it + /// is deactivating. The customer will still have access in this state. It + /// will be converted to EXPIRED after the deactivating period ends (14 days) + /// or when the end date is reached, whichever comes first. + /// + [pbr::OriginalName("DEACTIVATING")] Deactivating = 5, + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigResourceNames.g.cs new file mode 100644 index 000000000000..4c2be8b615b1 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigResourceNames.g.cs @@ -0,0 +1,290 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the LicenseConfig resource. + public sealed partial class LicenseConfigName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/licenseConfigs/{license_config} + /// . + /// + ProjectLocationLicenseConfig = 1, + } + + private static gax::PathTemplate s_projectLocationLicenseConfig = new gax::PathTemplate("projects/{project}/locations/{location}/licenseConfigs/{license_config}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static LicenseConfigName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new LicenseConfigName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/licenseConfigs/{license_config}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The LicenseConfig ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static LicenseConfigName FromProjectLocationLicenseConfig(string projectId, string locationId, string licenseConfigId) => + new LicenseConfigName(ResourceNameType.ProjectLocationLicenseConfig, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), licenseConfigId: gax::GaxPreconditions.CheckNotNullOrEmpty(licenseConfigId, nameof(licenseConfigId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/licenseConfigs/{license_config}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The LicenseConfig ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/licenseConfigs/{license_config}. + /// + public static string Format(string projectId, string locationId, string licenseConfigId) => + FormatProjectLocationLicenseConfig(projectId, locationId, licenseConfigId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/licenseConfigs/{license_config}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The LicenseConfig ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/licenseConfigs/{license_config}. + /// + public static string FormatProjectLocationLicenseConfig(string projectId, string locationId, string licenseConfigId) => + s_projectLocationLicenseConfig.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(licenseConfigId, nameof(licenseConfigId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/licenseConfigs/{license_config} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static LicenseConfigName Parse(string licenseConfigName) => Parse(licenseConfigName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/licenseConfigs/{license_config} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static LicenseConfigName Parse(string licenseConfigName, bool allowUnparsed) => + TryParse(licenseConfigName, allowUnparsed, out LicenseConfigName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/licenseConfigs/{license_config} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string licenseConfigName, out LicenseConfigName result) => + TryParse(licenseConfigName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/licenseConfigs/{license_config} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string licenseConfigName, bool allowUnparsed, out LicenseConfigName result) + { + gax::GaxPreconditions.CheckNotNull(licenseConfigName, nameof(licenseConfigName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationLicenseConfig.TryParseName(licenseConfigName, out resourceName)) + { + result = FromProjectLocationLicenseConfig(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(licenseConfigName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private LicenseConfigName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string licenseConfigId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LicenseConfigId = licenseConfigId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/licenseConfigs/{license_config} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The LicenseConfig ID. Must not be null or empty. + public LicenseConfigName(string projectId, string locationId, string licenseConfigId) : this(ResourceNameType.ProjectLocationLicenseConfig, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), licenseConfigId: gax::GaxPreconditions.CheckNotNullOrEmpty(licenseConfigId, nameof(licenseConfigId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The LicenseConfig ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string LicenseConfigId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationLicenseConfig: return s_projectLocationLicenseConfig.Expand(ProjectId, LocationId, LicenseConfigId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as LicenseConfigName); + + /// + public bool Equals(LicenseConfigName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(LicenseConfigName a, LicenseConfigName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(LicenseConfigName a, LicenseConfigName b) => !(a == b); + } + + public partial class LicenseConfig + { + /// + /// -typed view over the resource name property. + /// + public gcdv::LicenseConfigName LicenseConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::LicenseConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigService.g.cs new file mode 100644 index 000000000000..f64dd3286956 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigService.g.cs @@ -0,0 +1,2645 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/license_config_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/license_config_service.proto + public static partial class LicenseConfigServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/license_config_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LicenseConfigServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CkBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9saWNlbnNl", + "X2NvbmZpZ19zZXJ2aWNlLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5", + "ZW5naW5lLnYxYmV0YRocZ29vZ2xlL2FwaS9hbm5vdGF0aW9ucy5wcm90bxoX", + "Z29vZ2xlL2FwaS9jbGllbnQucHJvdG8aH2dvb2dsZS9hcGkvZmllbGRfYmVo", + "YXZpb3IucHJvdG8aGWdvb2dsZS9hcGkvcmVzb3VyY2UucHJvdG8aOGdvb2ds", + "ZS9jbG91ZC9kaXNjb3ZlcnllbmdpbmUvdjFiZXRhL2xpY2Vuc2VfY29uZmln", + "LnByb3RvGiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90byLOAQoa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lQ29uZmlnUmVzcG9uc2UixAHaQUhiaWxsaW5nX2FjY291bnRfbGlj", + "ZW5zZV9jb25maWcsbGljZW5zZV9jb25maWcsZnVsbF9yZXRyYWN0LGxpY2Vu", + "c2VfY291bnSC0+STAnMibi92MWJldGEve2JpbGxpbmdfYWNjb3VudF9saWNl", + "bnNlX2NvbmZpZz1iaWxsaW5nQWNjb3VudHMvKi9iaWxsaW5nQWNjb3VudExp", + "Y2Vuc2VDb25maWdzLyp9OnJldHJhY3RMaWNlbnNlQ29uZmlnOgEqGs8BykEe", + "ZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29t0kGqAWh0dHBzOi8vd3d3", + "Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm0saHR0cHM6Ly93", + "d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUucmVhZHdy", + "aXRlLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5", + "ZW5naW5lLnNlcnZpbmcucmVhZHdyaXRlQqACCidjb20uZ29vZ2xlLmNsb3Vk", + "LmRpc2NvdmVyeWVuZ2luZS52MWJldGFCGUxpY2Vuc2VDb25maWdTZXJ2aWNl", + "UHJvdG9QAVpRY2xvdWQuZ29vZ2xlLmNvbS9nby9kaXNjb3ZlcnllbmdpbmUv", + "YXBpdjFiZXRhL2Rpc2NvdmVyeWVuZ2luZXBiO2Rpc2NvdmVyeWVuZ2luZXBi", + "ogIPRElTQ09WRVJZRU5HSU5FqgIjR29vZ2xlLkNsb3VkLkRpc2NvdmVyeUVu", + "Z2luZS5WMUJldGHKAiNHb29nbGVcQ2xvdWRcRGlzY292ZXJ5RW5naW5lXFYx", + "YmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRh", + "YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest.Parser, new[]{ "Parent", "LicenseConfig", "LicenseConfigId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest.Parser, new[]{ "LicenseConfig", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsResponse.Parser, new[]{ "LicenseConfigs", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest.Parser, new[]{ "BillingAccountLicenseConfig", "ProjectNumber", "Location", "LicenseCount", "LicenseConfigId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse.Parser, new[]{ "LicenseConfig" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest.Parser, new[]{ "BillingAccountLicenseConfig", "LicenseConfig", "FullRetract", "LicenseCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse.Parser, new[]{ "LicenseConfig" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for + /// [LicenseConfigService.CreateLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.CreateLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateLicenseConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateLicenseConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateLicenseConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateLicenseConfigRequest(CreateLicenseConfigRequest other) : this() { + parent_ = other.parent_; + licenseConfig_ = other.licenseConfig_ != null ? other.licenseConfig_.Clone() : null; + licenseConfigId_ = other.licenseConfigId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateLicenseConfigRequest Clone() { + return new CreateLicenseConfigRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig licenseConfig_; + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = value; + } + } + + /// Field number for the "license_config_id" field. + public const int LicenseConfigIdFieldNumber = 3; + private string licenseConfigId_ = ""; + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LicenseConfigId { + get { return licenseConfigId_; } + set { + licenseConfigId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateLicenseConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateLicenseConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(LicenseConfig, other.LicenseConfig)) return false; + if (LicenseConfigId != other.LicenseConfigId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (licenseConfig_ != null) hash ^= LicenseConfig.GetHashCode(); + if (LicenseConfigId.Length != 0) hash ^= LicenseConfigId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (licenseConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(LicenseConfig); + } + if (LicenseConfigId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LicenseConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (licenseConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(LicenseConfig); + } + if (LicenseConfigId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(LicenseConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (licenseConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LicenseConfig); + } + if (LicenseConfigId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LicenseConfigId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateLicenseConfigRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.licenseConfig_ != null) { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + LicenseConfig.MergeFrom(other.LicenseConfig); + } + if (other.LicenseConfigId.Length != 0) { + LicenseConfigId = other.LicenseConfigId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + case 26: { + LicenseConfigId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + case 26: { + LicenseConfigId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [LicenseConfigService.UpdateLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.UpdateLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateLicenseConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateLicenseConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateLicenseConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateLicenseConfigRequest(UpdateLicenseConfigRequest other) : this() { + licenseConfig_ = other.licenseConfig_ != null ? other.licenseConfig_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateLicenseConfigRequest Clone() { + return new UpdateLicenseConfigRequest(this); + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig licenseConfig_; + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Optional. Indicates which fields in the provided + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// If an unsupported or unknown field is provided, an INVALID_ARGUMENT error + /// is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateLicenseConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateLicenseConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(LicenseConfig, other.LicenseConfig)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (licenseConfig_ != null) hash ^= LicenseConfig.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (licenseConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(LicenseConfig); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (licenseConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(LicenseConfig); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (licenseConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LicenseConfig); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateLicenseConfigRequest other) { + if (other == null) { + return; + } + if (other.licenseConfig_ != null) { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + LicenseConfig.MergeFrom(other.LicenseConfig); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [LicenseConfigService.GetLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.GetLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetLicenseConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetLicenseConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicenseConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicenseConfigRequest(GetLicenseConfigRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetLicenseConfigRequest Clone() { + return new GetLicenseConfigRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetLicenseConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetLicenseConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetLicenseConfigRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [LicenseConfigService.ListLicenseConfigs][google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListLicenseConfigsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListLicenseConfigsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsRequest(ListLicenseConfigsRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsRequest Clone() { + return new ListLicenseConfigsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. Not supported. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. Not supported. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// Optional. The filter to apply to the list results. + /// + /// The supported fields are: + /// + /// * `subscription_tier` + /// * `state` + /// + /// Examples: + /// + /// * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all + /// active search license configs. + /// * `state=ACTIVE` - Lists all active license configs. + /// + /// The filter string should be a comma-separated list of field=value pairs. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListLicenseConfigsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListLicenseConfigsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListLicenseConfigsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [LicenseConfigService.ListLicenseConfigs][google.cloud.discoveryengine.v1beta.LicenseConfigService.ListLicenseConfigs] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListLicenseConfigsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListLicenseConfigsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsResponse(ListLicenseConfigsResponse other) : this() { + licenseConfigs_ = other.licenseConfigs_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsResponse Clone() { + return new ListLicenseConfigsResponse(this); + } + + /// Field number for the "license_configs" field. + public const int LicenseConfigsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_licenseConfigs_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Parser); + private readonly pbc::RepeatedField licenseConfigs_ = new pbc::RepeatedField(); + /// + /// All the customer's + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField LicenseConfigs { + get { return licenseConfigs_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// Not supported. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListLicenseConfigsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListLicenseConfigsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!licenseConfigs_.Equals(other.licenseConfigs_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= licenseConfigs_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + licenseConfigs_.WriteTo(output, _repeated_licenseConfigs_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + licenseConfigs_.WriteTo(ref output, _repeated_licenseConfigs_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += licenseConfigs_.CalculateSize(_repeated_licenseConfigs_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListLicenseConfigsResponse other) { + if (other == null) { + return; + } + licenseConfigs_.Add(other.licenseConfigs_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + licenseConfigs_.AddEntriesFrom(input, _repeated_licenseConfigs_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + licenseConfigs_.AddEntriesFrom(ref input, _repeated_licenseConfigs_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [LicenseConfigService.DistributeLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DistributeLicenseConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DistributeLicenseConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DistributeLicenseConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DistributeLicenseConfigRequest(DistributeLicenseConfigRequest other) : this() { + billingAccountLicenseConfig_ = other.billingAccountLicenseConfig_; + projectNumber_ = other.projectNumber_; + location_ = other.location_; + licenseCount_ = other.licenseCount_; + licenseConfigId_ = other.licenseConfigId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DistributeLicenseConfigRequest Clone() { + return new DistributeLicenseConfigRequest(this); + } + + /// Field number for the "billing_account_license_config" field. + public const int BillingAccountLicenseConfigFieldNumber = 1; + private string billingAccountLicenseConfig_ = ""; + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BillingAccountLicenseConfig { + get { return billingAccountLicenseConfig_; } + set { + billingAccountLicenseConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "project_number" field. + public const int ProjectNumberFieldNumber = 2; + private long projectNumber_; + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ProjectNumber { + get { return projectNumber_; } + set { + projectNumber_ = value; + } + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 3; + private string location_ = ""; + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "license_count" field. + public const int LicenseCountFieldNumber = 4; + private long licenseCount_; + /// + /// Required. The number of licenses to distribute. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LicenseCount { + get { return licenseCount_; } + set { + licenseCount_ = value; + } + } + + /// Field number for the "license_config_id" field. + public const int LicenseConfigIdFieldNumber = 5; + private string licenseConfigId_ = ""; + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LicenseConfigId { + get { return licenseConfigId_; } + set { + licenseConfigId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DistributeLicenseConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DistributeLicenseConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BillingAccountLicenseConfig != other.BillingAccountLicenseConfig) return false; + if (ProjectNumber != other.ProjectNumber) return false; + if (Location != other.Location) return false; + if (LicenseCount != other.LicenseCount) return false; + if (LicenseConfigId != other.LicenseConfigId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BillingAccountLicenseConfig.Length != 0) hash ^= BillingAccountLicenseConfig.GetHashCode(); + if (ProjectNumber != 0L) hash ^= ProjectNumber.GetHashCode(); + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (LicenseCount != 0L) hash ^= LicenseCount.GetHashCode(); + if (LicenseConfigId.Length != 0) hash ^= LicenseConfigId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BillingAccountLicenseConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(BillingAccountLicenseConfig); + } + if (ProjectNumber != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ProjectNumber); + } + if (Location.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Location); + } + if (LicenseCount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(LicenseCount); + } + if (LicenseConfigId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LicenseConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BillingAccountLicenseConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(BillingAccountLicenseConfig); + } + if (ProjectNumber != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ProjectNumber); + } + if (Location.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Location); + } + if (LicenseCount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(LicenseCount); + } + if (LicenseConfigId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LicenseConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BillingAccountLicenseConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BillingAccountLicenseConfig); + } + if (ProjectNumber != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ProjectNumber); + } + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (LicenseCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LicenseCount); + } + if (LicenseConfigId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LicenseConfigId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DistributeLicenseConfigRequest other) { + if (other == null) { + return; + } + if (other.BillingAccountLicenseConfig.Length != 0) { + BillingAccountLicenseConfig = other.BillingAccountLicenseConfig; + } + if (other.ProjectNumber != 0L) { + ProjectNumber = other.ProjectNumber; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.LicenseCount != 0L) { + LicenseCount = other.LicenseCount; + } + if (other.LicenseConfigId.Length != 0) { + LicenseConfigId = other.LicenseConfigId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + BillingAccountLicenseConfig = input.ReadString(); + break; + } + case 16: { + ProjectNumber = input.ReadInt64(); + break; + } + case 26: { + Location = input.ReadString(); + break; + } + case 32: { + LicenseCount = input.ReadInt64(); + break; + } + case 42: { + LicenseConfigId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + BillingAccountLicenseConfig = input.ReadString(); + break; + } + case 16: { + ProjectNumber = input.ReadInt64(); + break; + } + case 26: { + Location = input.ReadString(); + break; + } + case 32: { + LicenseCount = input.ReadInt64(); + break; + } + case 42: { + LicenseConfigId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [LicenseConfigService.DistributeLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.DistributeLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DistributeLicenseConfigResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DistributeLicenseConfigResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DistributeLicenseConfigResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DistributeLicenseConfigResponse(DistributeLicenseConfigResponse other) : this() { + licenseConfig_ = other.licenseConfig_ != null ? other.licenseConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DistributeLicenseConfigResponse Clone() { + return new DistributeLicenseConfigResponse(this); + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig licenseConfig_; + /// + /// The updated or created LicenseConfig. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DistributeLicenseConfigResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DistributeLicenseConfigResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(LicenseConfig, other.LicenseConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (licenseConfig_ != null) hash ^= LicenseConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (licenseConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(LicenseConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (licenseConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(LicenseConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (licenseConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LicenseConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DistributeLicenseConfigResponse other) { + if (other == null) { + return; + } + if (other.licenseConfig_ != null) { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + LicenseConfig.MergeFrom(other.LicenseConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [LicenseConfigService.RetractLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RetractLicenseConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RetractLicenseConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetractLicenseConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetractLicenseConfigRequest(RetractLicenseConfigRequest other) : this() { + billingAccountLicenseConfig_ = other.billingAccountLicenseConfig_; + licenseConfig_ = other.licenseConfig_; + fullRetract_ = other.fullRetract_; + licenseCount_ = other.licenseCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetractLicenseConfigRequest Clone() { + return new RetractLicenseConfigRequest(this); + } + + /// Field number for the "billing_account_license_config" field. + public const int BillingAccountLicenseConfigFieldNumber = 1; + private string billingAccountLicenseConfig_ = ""; + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BillingAccountLicenseConfig { + get { return billingAccountLicenseConfig_; } + set { + billingAccountLicenseConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 2; + private string licenseConfig_ = ""; + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "full_retract" field. + public const int FullRetractFieldNumber = 3; + private bool fullRetract_; + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FullRetract { + get { return fullRetract_; } + set { + fullRetract_ = value; + } + } + + /// Field number for the "license_count" field. + public const int LicenseCountFieldNumber = 4; + private long licenseCount_; + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LicenseCount { + get { return licenseCount_; } + set { + licenseCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RetractLicenseConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RetractLicenseConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BillingAccountLicenseConfig != other.BillingAccountLicenseConfig) return false; + if (LicenseConfig != other.LicenseConfig) return false; + if (FullRetract != other.FullRetract) return false; + if (LicenseCount != other.LicenseCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (BillingAccountLicenseConfig.Length != 0) hash ^= BillingAccountLicenseConfig.GetHashCode(); + if (LicenseConfig.Length != 0) hash ^= LicenseConfig.GetHashCode(); + if (FullRetract != false) hash ^= FullRetract.GetHashCode(); + if (LicenseCount != 0L) hash ^= LicenseCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (BillingAccountLicenseConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(BillingAccountLicenseConfig); + } + if (LicenseConfig.Length != 0) { + output.WriteRawTag(18); + output.WriteString(LicenseConfig); + } + if (FullRetract != false) { + output.WriteRawTag(24); + output.WriteBool(FullRetract); + } + if (LicenseCount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(LicenseCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (BillingAccountLicenseConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(BillingAccountLicenseConfig); + } + if (LicenseConfig.Length != 0) { + output.WriteRawTag(18); + output.WriteString(LicenseConfig); + } + if (FullRetract != false) { + output.WriteRawTag(24); + output.WriteBool(FullRetract); + } + if (LicenseCount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(LicenseCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (BillingAccountLicenseConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BillingAccountLicenseConfig); + } + if (LicenseConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LicenseConfig); + } + if (FullRetract != false) { + size += 1 + 1; + } + if (LicenseCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LicenseCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RetractLicenseConfigRequest other) { + if (other == null) { + return; + } + if (other.BillingAccountLicenseConfig.Length != 0) { + BillingAccountLicenseConfig = other.BillingAccountLicenseConfig; + } + if (other.LicenseConfig.Length != 0) { + LicenseConfig = other.LicenseConfig; + } + if (other.FullRetract != false) { + FullRetract = other.FullRetract; + } + if (other.LicenseCount != 0L) { + LicenseCount = other.LicenseCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + BillingAccountLicenseConfig = input.ReadString(); + break; + } + case 18: { + LicenseConfig = input.ReadString(); + break; + } + case 24: { + FullRetract = input.ReadBool(); + break; + } + case 32: { + LicenseCount = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + BillingAccountLicenseConfig = input.ReadString(); + break; + } + case 18: { + LicenseConfig = input.ReadString(); + break; + } + case 24: { + FullRetract = input.ReadBool(); + break; + } + case 32: { + LicenseCount = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [LicenseConfigService.RetractLicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RetractLicenseConfigResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RetractLicenseConfigResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.MessageTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetractLicenseConfigResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetractLicenseConfigResponse(RetractLicenseConfigResponse other) : this() { + licenseConfig_ = other.licenseConfig_ != null ? other.licenseConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetractLicenseConfigResponse Clone() { + return new RetractLicenseConfigResponse(this); + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig licenseConfig_; + /// + /// The updated LicenseConfig. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RetractLicenseConfigResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RetractLicenseConfigResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(LicenseConfig, other.LicenseConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (licenseConfig_ != null) hash ^= LicenseConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (licenseConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(LicenseConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (licenseConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(LicenseConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (licenseConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LicenseConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RetractLicenseConfigResponse other) { + if (other == null) { + return; + } + if (other.licenseConfig_ != null) { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + LicenseConfig.MergeFrom(other.LicenseConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (licenseConfig_ == null) { + LicenseConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig(); + } + input.ReadMessage(LicenseConfig); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceClient.g.cs new file mode 100644 index 000000000000..3c2824ba38e0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceClient.g.cs @@ -0,0 +1,1740 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using sc = System.Collections; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; +using wkt = Google.Protobuf.WellKnownTypes; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class LicenseConfigServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static LicenseConfigServiceSettings GetDefault() => new LicenseConfigServiceSettings(); + + /// Constructs a new object with default settings. + public LicenseConfigServiceSettings() + { + } + + private LicenseConfigServiceSettings(LicenseConfigServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + CreateLicenseConfigSettings = existing.CreateLicenseConfigSettings; + UpdateLicenseConfigSettings = existing.UpdateLicenseConfigSettings; + GetLicenseConfigSettings = existing.GetLicenseConfigSettings; + ListLicenseConfigsSettings = existing.ListLicenseConfigsSettings; + DistributeLicenseConfigSettings = existing.DistributeLicenseConfigSettings; + RetractLicenseConfigSettings = existing.RetractLicenseConfigSettings; + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(LicenseConfigServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// LicenseConfigServiceClient.CreateLicenseConfig and + /// LicenseConfigServiceClient.CreateLicenseConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings CreateLicenseConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// LicenseConfigServiceClient.UpdateLicenseConfig and + /// LicenseConfigServiceClient.UpdateLicenseConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings UpdateLicenseConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// LicenseConfigServiceClient.GetLicenseConfig and LicenseConfigServiceClient.GetLicenseConfigAsync + /// . + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings GetLicenseConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// LicenseConfigServiceClient.ListLicenseConfigs and + /// LicenseConfigServiceClient.ListLicenseConfigsAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ListLicenseConfigsSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// LicenseConfigServiceClient.DistributeLicenseConfig and + /// LicenseConfigServiceClient.DistributeLicenseConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings DistributeLicenseConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// LicenseConfigServiceClient.RetractLicenseConfig and + /// LicenseConfigServiceClient.RetractLicenseConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings RetractLicenseConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public LicenseConfigServiceSettings Clone() => new LicenseConfigServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, + /// endpoint etc. + /// + public sealed partial class LicenseConfigServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public LicenseConfigServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public LicenseConfigServiceClientBuilder() : base(LicenseConfigServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref LicenseConfigServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override LicenseConfigServiceClient Build() + { + LicenseConfigServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private LicenseConfigServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return LicenseConfigServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return LicenseConfigServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => LicenseConfigServiceClient.ChannelPool; + } + + /// LicenseConfigService client wrapper, for convenient use. + /// + /// Service for managing license config related resources. + /// + public abstract partial class LicenseConfigServiceClient + { + /// + /// The default endpoint for the LicenseConfigService service, which is a host of + /// "discoveryengine.googleapis.com" and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default LicenseConfigService scopes. + /// + /// The default LicenseConfigService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(LicenseConfigService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint + /// and settings. To specify custom credentials or other settings, use + /// . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new LicenseConfigServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use + /// . + /// + /// The created . + public static LicenseConfigServiceClient Create() => new LicenseConfigServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote + /// operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static LicenseConfigServiceClient Create(grpccore::CallInvoker callInvoker, LicenseConfigServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + LicenseConfigService.LicenseConfigServiceClient grpcClient = new LicenseConfigService.LicenseConfigServiceClient(callInvoker); + return new LicenseConfigServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC LicenseConfigService client + public virtual LicenseConfigService.LicenseConfigServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig CreateLicenseConfig(CreateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateLicenseConfigAsync(CreateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateLicenseConfigAsync(CreateLicenseConfigRequest request, st::CancellationToken cancellationToken) => + CreateLicenseConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig CreateLicenseConfig(string parent, LicenseConfig licenseConfig, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateLicenseConfig(new CreateLicenseConfigRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + LicenseConfig = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateLicenseConfigAsync(string parent, LicenseConfig licenseConfig, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateLicenseConfigAsync(new CreateLicenseConfigRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + LicenseConfig = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateLicenseConfigAsync(string parent, LicenseConfig licenseConfig, string licenseConfigId, st::CancellationToken cancellationToken) => + CreateLicenseConfigAsync(parent, licenseConfig, licenseConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig CreateLicenseConfig(LocationName parent, LicenseConfig licenseConfig, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateLicenseConfig(new CreateLicenseConfigRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + LicenseConfig = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateLicenseConfigAsync(LocationName parent, LicenseConfig licenseConfig, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateLicenseConfigAsync(new CreateLicenseConfigRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + LicenseConfig = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// + /// Required. The parent resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// create. + /// + /// + /// Optional. The ID to use for the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], which + /// will become the final component of the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]'s + /// resource name. We are using the tier (product edition) name as the license + /// config id such as `search` or `search_and_assistant`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateLicenseConfigAsync(LocationName parent, LicenseConfig licenseConfig, string licenseConfigId, st::CancellationToken cancellationToken) => + CreateLicenseConfigAsync(parent, licenseConfig, licenseConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig UpdateLicenseConfig(UpdateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateLicenseConfigAsync(UpdateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateLicenseConfigAsync(UpdateLicenseConfigRequest request, st::CancellationToken cancellationToken) => + UpdateLicenseConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// + /// Optional. Indicates which fields in the provided + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// If an unsupported or unknown field is provided, an INVALID_ARGUMENT error + /// is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig UpdateLicenseConfig(LicenseConfig licenseConfig, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateLicenseConfig(new UpdateLicenseConfigRequest + { + LicenseConfig = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// + /// Optional. Indicates which fields in the provided + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// If an unsupported or unknown field is provided, an INVALID_ARGUMENT error + /// is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateLicenseConfigAsync(LicenseConfig licenseConfig, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateLicenseConfigAsync(new UpdateLicenseConfigRequest + { + LicenseConfig = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// + /// Required. The + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// + /// Optional. Indicates which fields in the provided + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] to + /// update. + /// + /// If an unsupported or unknown field is provided, an INVALID_ARGUMENT error + /// is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateLicenseConfigAsync(LicenseConfig licenseConfig, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateLicenseConfigAsync(licenseConfig, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig GetLicenseConfig(GetLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetLicenseConfigAsync(GetLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetLicenseConfigAsync(GetLicenseConfigRequest request, st::CancellationToken cancellationToken) => + GetLicenseConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig GetLicenseConfig(string name, gaxgrpc::CallSettings callSettings = null) => + GetLicenseConfig(new GetLicenseConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetLicenseConfigAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetLicenseConfigAsync(new GetLicenseConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetLicenseConfigAsync(string name, st::CancellationToken cancellationToken) => + GetLicenseConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual LicenseConfig GetLicenseConfig(LicenseConfigName name, gaxgrpc::CallSettings callSettings = null) => + GetLicenseConfig(new GetLicenseConfigRequest + { + LicenseConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetLicenseConfigAsync(LicenseConfigName name, gaxgrpc::CallSettings callSettings = null) => + GetLicenseConfigAsync(new GetLicenseConfigRequest + { + LicenseConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], such as + /// `projects/{project}/locations/{location}/licenseConfigs/*`. + /// + /// If the caller does not have permission to access the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig], + /// regardless of whether or not it exists, a PERMISSION_DENIED error is + /// returned. + /// + /// If the requested + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] does not + /// exist, a NOT_FOUND error is returned. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetLicenseConfigAsync(LicenseConfigName name, st::CancellationToken cancellationToken) => + GetLicenseConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListLicenseConfigs(ListLicenseConfigsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListLicenseConfigsAsync(ListLicenseConfigsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListLicenseConfigs(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListLicenseConfigs(request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListLicenseConfigsAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListLicenseConfigsAsync(request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListLicenseConfigs(LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListLicenseConfigs(request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListLicenseConfigsAsync(LocationName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListLicenseConfigsRequest request = new ListLicenseConfigsRequest + { + ParentAsLocationName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListLicenseConfigsAsync(request, callSettings); + } + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual DistributeLicenseConfigResponse DistributeLicenseConfig(DistributeLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DistributeLicenseConfigAsync(DistributeLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DistributeLicenseConfigAsync(DistributeLicenseConfigRequest request, st::CancellationToken cancellationToken) => + DistributeLicenseConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + /// + /// Required. The number of licenses to distribute. + /// + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual DistributeLicenseConfigResponse DistributeLicenseConfig(string billingAccountLicenseConfig, long projectNumber, string location, long licenseCount, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + DistributeLicenseConfig(new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfig = gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + ProjectNumber = projectNumber, + Location = gax::GaxPreconditions.CheckNotNullOrEmpty(location, nameof(location)), + LicenseCount = licenseCount, + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + /// + /// Required. The number of licenses to distribute. + /// + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DistributeLicenseConfigAsync(string billingAccountLicenseConfig, long projectNumber, string location, long licenseCount, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + DistributeLicenseConfigAsync(new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfig = gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + ProjectNumber = projectNumber, + Location = gax::GaxPreconditions.CheckNotNullOrEmpty(location, nameof(location)), + LicenseCount = licenseCount, + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + /// + /// Required. The number of licenses to distribute. + /// + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DistributeLicenseConfigAsync(string billingAccountLicenseConfig, long projectNumber, string location, long licenseCount, string licenseConfigId, st::CancellationToken cancellationToken) => + DistributeLicenseConfigAsync(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + /// + /// Required. The number of licenses to distribute. + /// + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual DistributeLicenseConfigResponse DistributeLicenseConfig(BillingAccountLicenseConfigName billingAccountLicenseConfig, long projectNumber, string location, long licenseCount, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + DistributeLicenseConfig(new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = gax::GaxPreconditions.CheckNotNull(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + ProjectNumber = projectNumber, + Location = gax::GaxPreconditions.CheckNotNullOrEmpty(location, nameof(location)), + LicenseCount = licenseCount, + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + /// + /// Required. The number of licenses to distribute. + /// + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DistributeLicenseConfigAsync(BillingAccountLicenseConfigName billingAccountLicenseConfig, long projectNumber, string location, long licenseCount, string licenseConfigId, gaxgrpc::CallSettings callSettings = null) => + DistributeLicenseConfigAsync(new DistributeLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = gax::GaxPreconditions.CheckNotNull(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + ProjectNumber = projectNumber, + Location = gax::GaxPreconditions.CheckNotNullOrEmpty(location, nameof(location)), + LicenseCount = licenseCount, + LicenseConfigId = licenseConfigId ?? "", + }, callSettings); + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. The target GCP project number to distribute the license config + /// to. + /// + /// + /// Required. The target GCP project region to distribute the license config + /// to. + /// + /// + /// Required. The number of licenses to distribute. + /// + /// + /// Optional. Distribute seats to this license config instead of creating a new + /// one. If not specified, a new license config will be created from the + /// billing account license config. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DistributeLicenseConfigAsync(BillingAccountLicenseConfigName billingAccountLicenseConfig, long projectNumber, string location, long licenseCount, string licenseConfigId, st::CancellationToken cancellationToken) => + DistributeLicenseConfigAsync(billingAccountLicenseConfig, projectNumber, location, licenseCount, licenseConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual RetractLicenseConfigResponse RetractLicenseConfig(RetractLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task RetractLicenseConfigAsync(RetractLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task RetractLicenseConfigAsync(RetractLicenseConfigRequest request, st::CancellationToken cancellationToken) => + RetractLicenseConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual RetractLicenseConfigResponse RetractLicenseConfig(string billingAccountLicenseConfig, string licenseConfig, bool fullRetract, long licenseCount, gaxgrpc::CallSettings callSettings = null) => + RetractLicenseConfig(new RetractLicenseConfigRequest + { + BillingAccountLicenseConfig = gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + LicenseConfig = gax::GaxPreconditions.CheckNotNullOrEmpty(licenseConfig, nameof(licenseConfig)), + FullRetract = fullRetract, + LicenseCount = licenseCount, + }, callSettings); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task RetractLicenseConfigAsync(string billingAccountLicenseConfig, string licenseConfig, bool fullRetract, long licenseCount, gaxgrpc::CallSettings callSettings = null) => + RetractLicenseConfigAsync(new RetractLicenseConfigRequest + { + BillingAccountLicenseConfig = gax::GaxPreconditions.CheckNotNullOrEmpty(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + LicenseConfig = gax::GaxPreconditions.CheckNotNullOrEmpty(licenseConfig, nameof(licenseConfig)), + FullRetract = fullRetract, + LicenseCount = licenseCount, + }, callSettings); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task RetractLicenseConfigAsync(string billingAccountLicenseConfig, string licenseConfig, bool fullRetract, long licenseCount, st::CancellationToken cancellationToken) => + RetractLicenseConfigAsync(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual RetractLicenseConfigResponse RetractLicenseConfig(BillingAccountLicenseConfigName billingAccountLicenseConfig, LicenseConfigName licenseConfig, bool fullRetract, long licenseCount, gaxgrpc::CallSettings callSettings = null) => + RetractLicenseConfig(new RetractLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = gax::GaxPreconditions.CheckNotNull(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + LicenseConfigAsLicenseConfigName = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + FullRetract = fullRetract, + LicenseCount = licenseCount, + }, callSettings); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task RetractLicenseConfigAsync(BillingAccountLicenseConfigName billingAccountLicenseConfig, LicenseConfigName licenseConfig, bool fullRetract, long licenseCount, gaxgrpc::CallSettings callSettings = null) => + RetractLicenseConfigAsync(new RetractLicenseConfigRequest + { + BillingAccountLicenseConfigAsBillingAccountLicenseConfigName = gax::GaxPreconditions.CheckNotNull(billingAccountLicenseConfig, nameof(billingAccountLicenseConfig)), + LicenseConfigAsLicenseConfigName = gax::GaxPreconditions.CheckNotNull(licenseConfig, nameof(licenseConfig)), + FullRetract = fullRetract, + LicenseCount = licenseCount, + }, callSettings); + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// + /// Required. Full resource name of [BillingAccountLicenseConfig][]. + /// + /// Format: + /// `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. + /// + /// + /// Required. Full resource name of + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// Format: + /// `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. + /// + /// + /// Optional. If set to true, retract the entire license config. Otherwise, + /// retract the specified license count. + /// + /// + /// Optional. The number of licenses to retract. Only used when full_retract is + /// false. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task RetractLicenseConfigAsync(BillingAccountLicenseConfigName billingAccountLicenseConfig, LicenseConfigName licenseConfig, bool fullRetract, long licenseCount, st::CancellationToken cancellationToken) => + RetractLicenseConfigAsync(billingAccountLicenseConfig, licenseConfig, fullRetract, licenseCount, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + } + + /// LicenseConfigService client wrapper implementation, for convenient use. + /// + /// Service for managing license config related resources. + /// + public sealed partial class LicenseConfigServiceClientImpl : LicenseConfigServiceClient + { + private readonly gaxgrpc::ApiCall _callCreateLicenseConfig; + + private readonly gaxgrpc::ApiCall _callUpdateLicenseConfig; + + private readonly gaxgrpc::ApiCall _callGetLicenseConfig; + + private readonly gaxgrpc::ApiCall _callListLicenseConfigs; + + private readonly gaxgrpc::ApiCall _callDistributeLicenseConfig; + + private readonly gaxgrpc::ApiCall _callRetractLicenseConfig; + + /// + /// Constructs a client wrapper for the LicenseConfigService service, with the specified gRPC client and + /// settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public LicenseConfigServiceClientImpl(LicenseConfigService.LicenseConfigServiceClient grpcClient, LicenseConfigServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + LicenseConfigServiceSettings effectiveSettings = settings ?? LicenseConfigServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callCreateLicenseConfig = clientHelper.BuildApiCall("CreateLicenseConfig", grpcClient.CreateLicenseConfigAsync, grpcClient.CreateLicenseConfig, effectiveSettings.CreateLicenseConfigSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateLicenseConfig); + Modify_CreateLicenseConfigApiCall(ref _callCreateLicenseConfig); + _callUpdateLicenseConfig = clientHelper.BuildApiCall("UpdateLicenseConfig", grpcClient.UpdateLicenseConfigAsync, grpcClient.UpdateLicenseConfig, effectiveSettings.UpdateLicenseConfigSettings).WithGoogleRequestParam("license_config.name", request => request.LicenseConfig?.Name); + Modify_ApiCall(ref _callUpdateLicenseConfig); + Modify_UpdateLicenseConfigApiCall(ref _callUpdateLicenseConfig); + _callGetLicenseConfig = clientHelper.BuildApiCall("GetLicenseConfig", grpcClient.GetLicenseConfigAsync, grpcClient.GetLicenseConfig, effectiveSettings.GetLicenseConfigSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetLicenseConfig); + Modify_GetLicenseConfigApiCall(ref _callGetLicenseConfig); + _callListLicenseConfigs = clientHelper.BuildApiCall("ListLicenseConfigs", grpcClient.ListLicenseConfigsAsync, grpcClient.ListLicenseConfigs, effectiveSettings.ListLicenseConfigsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListLicenseConfigs); + Modify_ListLicenseConfigsApiCall(ref _callListLicenseConfigs); + _callDistributeLicenseConfig = clientHelper.BuildApiCall("DistributeLicenseConfig", grpcClient.DistributeLicenseConfigAsync, grpcClient.DistributeLicenseConfig, effectiveSettings.DistributeLicenseConfigSettings).WithGoogleRequestParam("billing_account_license_config", request => request.BillingAccountLicenseConfig); + Modify_ApiCall(ref _callDistributeLicenseConfig); + Modify_DistributeLicenseConfigApiCall(ref _callDistributeLicenseConfig); + _callRetractLicenseConfig = clientHelper.BuildApiCall("RetractLicenseConfig", grpcClient.RetractLicenseConfigAsync, grpcClient.RetractLicenseConfig, effectiveSettings.RetractLicenseConfigSettings).WithGoogleRequestParam("billing_account_license_config", request => request.BillingAccountLicenseConfig); + Modify_ApiCall(ref _callRetractLicenseConfig); + Modify_RetractLicenseConfigApiCall(ref _callRetractLicenseConfig); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_CreateLicenseConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateLicenseConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_GetLicenseConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListLicenseConfigsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DistributeLicenseConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_RetractLicenseConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(LicenseConfigService.LicenseConfigServiceClient grpcClient, LicenseConfigServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC LicenseConfigService client + public override LicenseConfigService.LicenseConfigServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_CreateLicenseConfigRequest(ref CreateLicenseConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateLicenseConfigRequest(ref UpdateLicenseConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_GetLicenseConfigRequest(ref GetLicenseConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListLicenseConfigsRequest(ref ListLicenseConfigsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DistributeLicenseConfigRequest(ref DistributeLicenseConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_RetractLicenseConfigRequest(ref RetractLicenseConfigRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override LicenseConfig CreateLicenseConfig(CreateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateLicenseConfigRequest(ref request, ref callSettings); + return _callCreateLicenseConfig.Sync(request, callSettings); + } + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateLicenseConfigAsync(CreateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateLicenseConfigRequest(ref request, ref callSettings); + return _callCreateLicenseConfig.Async(request, callSettings); + } + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override LicenseConfig UpdateLicenseConfig(UpdateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateLicenseConfigRequest(ref request, ref callSettings); + return _callUpdateLicenseConfig.Sync(request, callSettings); + } + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateLicenseConfigAsync(UpdateLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateLicenseConfigRequest(ref request, ref callSettings); + return _callUpdateLicenseConfig.Async(request, callSettings); + } + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override LicenseConfig GetLicenseConfig(GetLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetLicenseConfigRequest(ref request, ref callSettings); + return _callGetLicenseConfig.Sync(request, callSettings); + } + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetLicenseConfigAsync(GetLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetLicenseConfigRequest(ref request, ref callSettings); + return _callGetLicenseConfig.Async(request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListLicenseConfigs(ListLicenseConfigsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListLicenseConfigsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListLicenseConfigs, request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListLicenseConfigsAsync(ListLicenseConfigsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListLicenseConfigsRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListLicenseConfigs, request, callSettings); + } + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override DistributeLicenseConfigResponse DistributeLicenseConfig(DistributeLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DistributeLicenseConfigRequest(ref request, ref callSettings); + return _callDistributeLicenseConfig.Sync(request, callSettings); + } + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DistributeLicenseConfigAsync(DistributeLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DistributeLicenseConfigRequest(ref request, ref callSettings); + return _callDistributeLicenseConfig.Async(request, callSettings); + } + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override RetractLicenseConfigResponse RetractLicenseConfig(RetractLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_RetractLicenseConfigRequest(ref request, ref callSettings); + return _callRetractLicenseConfig.Sync(request, callSettings); + } + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task RetractLicenseConfigAsync(RetractLicenseConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_RetractLicenseConfigRequest(ref request, ref callSettings); + return _callRetractLicenseConfig.Async(request, callSettings); + } + } + + public partial class ListLicenseConfigsRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListLicenseConfigsResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => LicenseConfigs.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public static partial class LicenseConfigService + { + public partial class LicenseConfigServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceGrpc.g.cs new file mode 100644 index 000000000000..5eeb9974d05a --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceGrpc.g.cs @@ -0,0 +1,623 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/license_config_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing license config related resources. + /// + public static partial class LicenseConfigService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.LicenseConfigService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_CreateLicenseConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_LicenseConfig = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateLicenseConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetLicenseConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_DistributeLicenseConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_DistributeLicenseConfigResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_RetractLicenseConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_RetractLicenseConfigResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateLicenseConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateLicenseConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_CreateLicenseConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_LicenseConfig); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateLicenseConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateLicenseConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_UpdateLicenseConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_LicenseConfig); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetLicenseConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetLicenseConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_GetLicenseConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_LicenseConfig); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListLicenseConfigs = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListLicenseConfigs", + __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DistributeLicenseConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DistributeLicenseConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_DistributeLicenseConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_DistributeLicenseConfigResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_RetractLicenseConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "RetractLicenseConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_RetractLicenseConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_RetractLicenseConfigResponse); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of LicenseConfigService + [grpc::BindServiceMethod(typeof(LicenseConfigService), "BindService")] + public abstract partial class LicenseConfigServiceBase + { + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListLicenseConfigs(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DistributeLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task RetractLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for LicenseConfigService + public partial class LicenseConfigServiceClient : grpc::ClientBase + { + /// Creates a new client for LicenseConfigService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public LicenseConfigServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for LicenseConfigService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public LicenseConfigServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected LicenseConfigServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected LicenseConfigServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig CreateLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateLicenseConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig CreateLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateLicenseConfig, null, options, request); + } + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateLicenseConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] This + /// method should only be used for creating NotebookLm licenses or Gemini + /// Enterprise free trial licenses. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateLicenseConfig, null, options, request); + } + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig UpdateLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateLicenseConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig UpdateLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateLicenseConfig, null, options, request); + } + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateLicenseConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateLicenseConfig, null, options, request); + } + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig GetLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetLicenseConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig GetLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetLicenseConfig, null, options, request); + } + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetLicenseConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetLicenseConfig, null, options, request); + } + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsResponse ListLicenseConfigs(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListLicenseConfigs(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsResponse ListLicenseConfigs(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListLicenseConfigs, null, options, request); + } + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListLicenseConfigsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListLicenseConfigsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s + /// associated with the project. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListLicenseConfigsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListLicenseConfigs, null, options, request); + } + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse DistributeLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DistributeLicenseConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse DistributeLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DistributeLicenseConfig, null, options, request); + } + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DistributeLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DistributeLicenseConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Distributes a + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from + /// billing account level to project level. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DistributeLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DistributeLicenseConfig, null, options, request); + } + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse RetractLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return RetractLicenseConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse RetractLicenseConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_RetractLicenseConfig, null, options, request); + } + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall RetractLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return RetractLicenseConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// This method is called from the billing account side to retract the + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from the + /// given project back to the billing account. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall RetractLicenseConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_RetractLicenseConfig, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override LicenseConfigServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new LicenseConfigServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(LicenseConfigServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_CreateLicenseConfig, serviceImpl.CreateLicenseConfig) + .AddMethod(__Method_UpdateLicenseConfig, serviceImpl.UpdateLicenseConfig) + .AddMethod(__Method_GetLicenseConfig, serviceImpl.GetLicenseConfig) + .AddMethod(__Method_ListLicenseConfigs, serviceImpl.ListLicenseConfigs) + .AddMethod(__Method_DistributeLicenseConfig, serviceImpl.DistributeLicenseConfig) + .AddMethod(__Method_RetractLicenseConfig, serviceImpl.RetractLicenseConfig).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, LicenseConfigServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_CreateLicenseConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateLicenseConfig)); + serviceBinder.AddMethod(__Method_UpdateLicenseConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateLicenseConfig)); + serviceBinder.AddMethod(__Method_GetLicenseConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetLicenseConfig)); + serviceBinder.AddMethod(__Method_ListLicenseConfigs, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListLicenseConfigs)); + serviceBinder.AddMethod(__Method_DistributeLicenseConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DistributeLicenseConfig)); + serviceBinder.AddMethod(__Method_RetractLicenseConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.RetractLicenseConfig)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceResourceNames.g.cs new file mode 100644 index 000000000000..d29576706ed4 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/LicenseConfigServiceResourceNames.g.cs @@ -0,0 +1,92 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class CreateLicenseConfigRequest + { + /// + /// -typed view over the resource name property. + /// + public LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class GetLicenseConfigRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::LicenseConfigName LicenseConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::LicenseConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + + public partial class ListLicenseConfigsRequest + { + /// + /// -typed view over the resource name property. + /// + public LocationName ParentAsLocationName + { + get => string.IsNullOrEmpty(Parent) ? null : LocationName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DistributeLicenseConfigRequest + { + /// + /// -typed view over the + /// resource name property. + /// + public BillingAccountLicenseConfigName BillingAccountLicenseConfigAsBillingAccountLicenseConfigName + { + get => string.IsNullOrEmpty(BillingAccountLicenseConfig) ? null : BillingAccountLicenseConfigName.Parse(BillingAccountLicenseConfig, allowUnparsed: true); + set => BillingAccountLicenseConfig = value?.ToString() ?? ""; + } + } + + public partial class RetractLicenseConfigRequest + { + /// + /// -typed view over the + /// resource name property. + /// + public BillingAccountLicenseConfigName BillingAccountLicenseConfigAsBillingAccountLicenseConfigName + { + get => string.IsNullOrEmpty(BillingAccountLicenseConfig) ? null : BillingAccountLicenseConfigName.Parse(BillingAccountLicenseConfig, allowUnparsed: true); + set => BillingAccountLicenseConfig = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public LicenseConfigName LicenseConfigAsLicenseConfigName + { + get => string.IsNullOrEmpty(LicenseConfig) ? null : LicenseConfigName.Parse(LicenseConfig, allowUnparsed: true); + set => LicenseConfig = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Logging.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Logging.g.cs new file mode 100644 index 000000000000..34ca0c590bc3 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Logging.g.cs @@ -0,0 +1,299 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/logging.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/logging.proto + public static partial class LoggingReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/logging.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LoggingReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjFnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9sb2dnaW5n", + "LnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YRof", + "Z29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2FwaS9y", + "ZXNvdXJjZS5wcm90byJhChNPYnNlcnZhYmlsaXR5Q29uZmlnEiIKFW9ic2Vy", + "dmFiaWxpdHlfZW5hYmxlZBgBIAEoCEID4EEBEiYKGXNlbnNpdGl2ZV9sb2dn", + "aW5nX2VuYWJsZWQYAiABKAhCA+BBAUKTAgonY29tLmdvb2dsZS5jbG91ZC5k", + "aXNjb3ZlcnllbmdpbmUudjFiZXRhQgxMb2dnaW5nUHJvdG9QAVpRY2xvdWQu", + "Z29vZ2xlLmNvbS9nby9kaXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rpc2Nv", + "dmVyeWVuZ2luZXBiO2Rpc2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZRU5H", + "SU5FqgIjR29vZ2xlLkNsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHKAiNH", + "b29nbGVcQ2xvdWRcRGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6", + "Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig.Parser, new[]{ "ObservabilityEnabled", "SensitiveLoggingEnabled" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Observability config for a resource. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ObservabilityConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ObservabilityConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.LoggingReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObservabilityConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObservabilityConfig(ObservabilityConfig other) : this() { + observabilityEnabled_ = other.observabilityEnabled_; + sensitiveLoggingEnabled_ = other.sensitiveLoggingEnabled_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObservabilityConfig Clone() { + return new ObservabilityConfig(this); + } + + /// Field number for the "observability_enabled" field. + public const int ObservabilityEnabledFieldNumber = 1; + private bool observabilityEnabled_; + /// + /// Optional. Enables observability. If `false`, all other flags are ignored. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ObservabilityEnabled { + get { return observabilityEnabled_; } + set { + observabilityEnabled_ = value; + } + } + + /// Field number for the "sensitive_logging_enabled" field. + public const int SensitiveLoggingEnabledFieldNumber = 2; + private bool sensitiveLoggingEnabled_; + /// + /// Optional. Enables sensitive logging. Sensitive logging includes customer + /// core content (e.g. prompts, responses). If `false`, will sanitize all + /// sensitive fields. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SensitiveLoggingEnabled { + get { return sensitiveLoggingEnabled_; } + set { + sensitiveLoggingEnabled_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ObservabilityConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ObservabilityConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ObservabilityEnabled != other.ObservabilityEnabled) return false; + if (SensitiveLoggingEnabled != other.SensitiveLoggingEnabled) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ObservabilityEnabled != false) hash ^= ObservabilityEnabled.GetHashCode(); + if (SensitiveLoggingEnabled != false) hash ^= SensitiveLoggingEnabled.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ObservabilityEnabled != false) { + output.WriteRawTag(8); + output.WriteBool(ObservabilityEnabled); + } + if (SensitiveLoggingEnabled != false) { + output.WriteRawTag(16); + output.WriteBool(SensitiveLoggingEnabled); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ObservabilityEnabled != false) { + output.WriteRawTag(8); + output.WriteBool(ObservabilityEnabled); + } + if (SensitiveLoggingEnabled != false) { + output.WriteRawTag(16); + output.WriteBool(SensitiveLoggingEnabled); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ObservabilityEnabled != false) { + size += 1 + 1; + } + if (SensitiveLoggingEnabled != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ObservabilityConfig other) { + if (other == null) { + return; + } + if (other.ObservabilityEnabled != false) { + ObservabilityEnabled = other.ObservabilityEnabled; + } + if (other.SensitiveLoggingEnabled != false) { + SensitiveLoggingEnabled = other.SensitiveLoggingEnabled; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ObservabilityEnabled = input.ReadBool(); + break; + } + case 16: { + SensitiveLoggingEnabled = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ObservabilityEnabled = input.ReadBool(); + break; + } + case 16: { + SensitiveLoggingEnabled = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PackageApiMetadata.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PackageApiMetadata.g.cs index 48a531e5ab95..6e19aca66eaa 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PackageApiMetadata.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PackageApiMetadata.g.cs @@ -39,20 +39,27 @@ internal static class PackageApiMetadata }, { "google.longrunning.Operations.GetOperation", - // { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}", "additionalBindings": [ { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/evaluations/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/operations/*}" } ] } - proto::ByteString.FromBase64("Ek4vdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29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cy8qL29wZXJhdGlvbnMvKn1aShJIL3YxYmV0YS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2RhdGFTdG9yZXMvKi9tb2RlbHMvKi9vcGVyYXRpb25zLyp9WkESPy92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9kYXRhU3RvcmVzLyovb3BlcmF0aW9ucy8qfVpCEkAvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovZXZhbHVhdGlvbnMvKi9vcGVyYXRpb25zLyp9WjQSMi92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9vcGVyYXRpb25zLyp9WkYSRC92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9zYW1wbGVRdWVyeVNldHMvKi9vcGVyYXRpb25zLyp9WigSJi92MWJldGEve25hbWU9cHJvamVjdHMvKi9vcGVyYXRpb25zLyp9") + // { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}", "additionalBindings": [ { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/assistants/*/agents/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/evaluations/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/identityMappingStores/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}" }, { "get": "/v1beta/{name=projects/*/operations/*}" } ] } + proto::ByteString.FromBase64("Ek4vdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhQ29ubmVjdG9yL29wZXJhdGlvbnMvKn1aWhJYL3YxYmV0YS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2NvbGxlY3Rpb25zLyovZGF0YVN0b3Jlcy8qL2JyYW5jaGVzLyovb3BlcmF0aW9ucy8qfVpYElYvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhU3RvcmVzLyovbW9kZWxzLyovb3BlcmF0aW9ucy8qfVpPEk0vdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhU3RvcmVzLyovb3BlcmF0aW9ucy8qfVpZElcvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhU3RvcmVzLyovc2NoZW1hcy8qL29wZXJhdGlvbnMvKn1aYBJeL3YxYmV0YS97bmFtZT1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2NvbGxlY3Rpb25zLyovZGF0YVN0b3Jlcy8qL3NpdGVTZWFyY2hFbmdpbmUvb3BlcmF0aW9ucy8qfVpsEmovdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9k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Lyovb3BlcmF0aW9ucy8qfQ==") }, { "google.longrunning.Operations.ListOperations", - // { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataConnector}/operations", "additionalBindings": [ { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/models/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*}/operations" }, { "get": "/v1beta/{name=projects/*}/operations" } ] } - proto::ByteString.FromBase64("EkwvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhQ29ubmVjdG9yfS9vcGVyYXRpb25zWlgSVi92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9jb2xsZWN0aW9ucy8qL2RhdGFTdG9yZXMvKi9icmFuY2hlcy8qfS9vcGVyYXRpb25zWlYSVC92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9jb2xsZWN0aW9ucy8qL2RhdGFTdG9yZXMvKi9tb2RlbHMvKn0vb3BlcmF0aW9uc1pXElUvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyov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nector}/operations", "additionalBindings": [ { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/collections/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/models/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/dataStores/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*/identityMappingStores/*}/operations" }, { "get": "/v1beta/{name=projects/*/locations/*}/operations" }, { "get": "/v1beta/{name=projects/*}/operations" } ] } + proto::ByteString.FromBase64("EkwvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhQ29ubmVjdG9yfS9vcGVyYXRpb25zWlgSVi92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9jb2xsZWN0aW9ucy8qL2RhdGFTdG9yZXMvKi9icmFuY2hlcy8qfS9vcGVyYXRpb25zWlYSVC92MWJldGEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9jb2xsZWN0aW9ucy8qL2RhdGFTdG9yZXMvKi9tb2RlbHMvKn0vb3BlcmF0aW9uc1pXElUvdjFiZXRhL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29sbGVjdGlvbnMvKi9kYXRhU3RvcmVzLyovc2NoZ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dHMvKn0vb3BlcmF0aW9ucw==") }, }); private static scg::IEnumerable GetFileDescriptors() { + yield return AclConfigReflection.Descriptor; + yield return AclConfigServiceReflection.Descriptor; + yield return AgentGatewaySettingReflection.Descriptor; yield return AnswerReflection.Descriptor; + yield return AssistAnswerReflection.Descriptor; + yield return AssistantReflection.Descriptor; + yield return AssistantServiceReflection.Descriptor; yield return ChunkReflection.Descriptor; + yield return CmekConfigServiceReflection.Descriptor; yield return CommonReflection.Descriptor; yield return CompletionReflection.Descriptor; yield return CompletionServiceReflection.Descriptor; @@ -70,14 +77,21 @@ internal static class PackageApiMetadata yield return EngineServiceReflection.Descriptor; yield return EvaluationReflection.Descriptor; yield return EvaluationServiceReflection.Descriptor; + yield return FeedbackReflection.Descriptor; yield return GroundedGenerationServiceReflection.Descriptor; yield return GroundingReflection.Descriptor; + yield return IdentityMappingStoreReflection.Descriptor; + yield return IdentityMappingStoreServiceReflection.Descriptor; yield return ImportConfigReflection.Descriptor; + yield return LicenseConfigReflection.Descriptor; + yield return LicenseConfigServiceReflection.Descriptor; + yield return LoggingReflection.Descriptor; yield return ProjectReflection.Descriptor; yield return ProjectServiceReflection.Descriptor; yield return PurgeConfigReflection.Descriptor; yield return RankServiceReflection.Descriptor; yield return RecommendationServiceReflection.Descriptor; + yield return SafetyReflection.Descriptor; yield return SampleQueryReflection.Descriptor; yield return SampleQueryServiceReflection.Descriptor; yield return SampleQuerySetReflection.Descriptor; @@ -94,6 +108,10 @@ internal static class PackageApiMetadata yield return SiteSearchEngineServiceReflection.Descriptor; yield return UserEventReflection.Descriptor; yield return UserEventServiceReflection.Descriptor; + yield return UserLicenseReflection.Descriptor; + yield return UserLicenseServiceReflection.Descriptor; + yield return UserStoreReflection.Descriptor; + yield return UserStoreServiceReflection.Descriptor; yield return gcl::LocationsReflection.Descriptor; yield return lro::OperationsReflection.Descriptor; } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Project.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Project.g.cs index 99d07deee6e6..132535b7a836 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Project.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Project.g.cs @@ -27,34 +27,93 @@ static ProjectReflection() { "CjFnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9wcm9qZWN0", "LnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YRof", "Z29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2FwaS9y", - "ZXNvdXJjZS5wcm90bxofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90", - "byLpBQoHUHJvamVjdBIRCgRuYW1lGAEgASgJQgPgQQMSNAoLY3JlYXRlX3Rp", - "bWUYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgPgQQMSQgoZ", - "cHJvdmlzaW9uX2NvbXBsZXRpb25fdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90", - "b2J1Zi5UaW1lc3RhbXBCA+BBAxJhChFzZXJ2aWNlX3Rlcm1zX21hcBgEIAMo", - "CzJBLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLlByb2pl", - "Y3QuU2VydmljZVRlcm1zTWFwRW50cnlCA+BBAxq5AgoMU2VydmljZVRlcm1z", - "EgoKAmlkGAEgASgJEg8KB3ZlcnNpb24YAiABKAkSTgoFc3RhdGUYBCABKA4y", - "Py5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5Qcm9qZWN0", - "LlNlcnZpY2VUZXJtcy5TdGF0ZRIvCgthY2NlcHRfdGltZRgFIAEoCzIaLmdv", - "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lLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuUHJvamVjdC5TZXJ2", + "aWNlVGVybXM6AjgBOj/qQTwKJmRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlz", + "LmNvbS9Qcm9qZWN0EhJwcm9qZWN0cy97cHJvamVjdH1CkwIKJ2NvbS5nb29n", + "bGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YUIMUHJvamVjdFByb3Rv", + "UAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2FwaXYx", + "YmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJ", + "U0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUu", + "VjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHq", + "AiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJv", + "dG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.LoggingReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Parser, new[]{ "Name", "CreateTime", "ProvisionCompletionTime", "ServiceTermsMap" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms.Parser, new[]{ "Id", "Version", "State", "AcceptTime", "DeclineTime" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms.Types.State) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Parser, new[]{ "Name", "CreateTime", "ProvisionCompletionTime", "ServiceTermsMap", "CustomerProvidedConfig", "ConfigurableBillingStatus" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms.Parser, new[]{ "Id", "Version", "State", "AcceptTime", "DeclineTime" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms.Types.State) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Parser, new[]{ "NotebooklmConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Parser, new[]{ "ModelArmorConfig", "OptOutNotebookSharing", "DataProtectionPolicy", "ObservabilityConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig.Parser, new[]{ "UserPromptTemplate", "ResponseTemplate" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Parser, new[]{ "SensitiveDataProtectionPolicy" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy.Parser, new[]{ "Policy" }, null, null, null, null)})})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Parser, new[]{ "EffectiveSearchQpmThreshold", "EffectiveIndexingCoreThreshold", "StartTime", "TerminateTime", "SearchQpmThresholdNextUpdateTime", "IndexingCoreThresholdNextUpdateTime", "UpdateType", "AgentSearchTokenSubscriptionStatuses" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.AgentSearchTokenSubscriptionStatus), global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.AgentSearchTokenSubscriptionStatus.Parser, new[]{ "ModelVersion", "EffectiveTpmThreshold", "TpmThresholdNextUpdateTime", "StartTime", "TerminateTime", "UpdateType" }, null, null, null, null)}), null, }) })); } @@ -104,6 +163,8 @@ public Project(Project other) : this() { createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; provisionCompletionTime_ = other.provisionCompletionTime_ != null ? other.provisionCompletionTime_.Clone() : null; serviceTermsMap_ = other.serviceTermsMap_.Clone(); + customerProvidedConfig_ = other.customerProvidedConfig_ != null ? other.customerProvidedConfig_.Clone() : null; + configurableBillingStatus_ = other.configurableBillingStatus_ != null ? other.configurableBillingStatus_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -178,6 +239,36 @@ public string Name { get { return serviceTermsMap_; } } + /// Field number for the "customer_provided_config" field. + public const int CustomerProvidedConfigFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig customerProvidedConfig_; + /// + /// Optional. Customer provided configurations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig CustomerProvidedConfig { + get { return customerProvidedConfig_; } + set { + customerProvidedConfig_ = value; + } + } + + /// Field number for the "configurable_billing_status" field. + public const int ConfigurableBillingStatusFieldNumber = 10; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus configurableBillingStatus_; + /// + /// Output only. The current status of the project's configurable billing. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus ConfigurableBillingStatus { + get { return configurableBillingStatus_; } + set { + configurableBillingStatus_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -197,6 +288,8 @@ public bool Equals(Project other) { if (!object.Equals(CreateTime, other.CreateTime)) return false; if (!object.Equals(ProvisionCompletionTime, other.ProvisionCompletionTime)) return false; if (!ServiceTermsMap.Equals(other.ServiceTermsMap)) return false; + if (!object.Equals(CustomerProvidedConfig, other.CustomerProvidedConfig)) return false; + if (!object.Equals(ConfigurableBillingStatus, other.ConfigurableBillingStatus)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -208,6 +301,8 @@ public override int GetHashCode() { if (createTime_ != null) hash ^= CreateTime.GetHashCode(); if (provisionCompletionTime_ != null) hash ^= ProvisionCompletionTime.GetHashCode(); hash ^= ServiceTermsMap.GetHashCode(); + if (customerProvidedConfig_ != null) hash ^= CustomerProvidedConfig.GetHashCode(); + if (configurableBillingStatus_ != null) hash ^= ConfigurableBillingStatus.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -239,6 +334,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(ProvisionCompletionTime); } serviceTermsMap_.WriteTo(output, _map_serviceTermsMap_codec); + if (customerProvidedConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(CustomerProvidedConfig); + } + if (configurableBillingStatus_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ConfigurableBillingStatus); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -262,6 +365,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(ProvisionCompletionTime); } serviceTermsMap_.WriteTo(ref output, _map_serviceTermsMap_codec); + if (customerProvidedConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(CustomerProvidedConfig); + } + if (configurableBillingStatus_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ConfigurableBillingStatus); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -282,6 +393,12 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProvisionCompletionTime); } size += serviceTermsMap_.CalculateSize(_map_serviceTermsMap_codec); + if (customerProvidedConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CustomerProvidedConfig); + } + if (configurableBillingStatus_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConfigurableBillingStatus); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -310,6 +427,18 @@ public void MergeFrom(Project other) { ProvisionCompletionTime.MergeFrom(other.ProvisionCompletionTime); } serviceTermsMap_.MergeFrom(other.serviceTermsMap_); + if (other.customerProvidedConfig_ != null) { + if (customerProvidedConfig_ == null) { + CustomerProvidedConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig(); + } + CustomerProvidedConfig.MergeFrom(other.CustomerProvidedConfig); + } + if (other.configurableBillingStatus_ != null) { + if (configurableBillingStatus_ == null) { + ConfigurableBillingStatus = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus(); + } + ConfigurableBillingStatus.MergeFrom(other.ConfigurableBillingStatus); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -351,6 +480,20 @@ public void MergeFrom(pb::CodedInputStream input) { serviceTermsMap_.AddEntriesFrom(input, _map_serviceTermsMap_codec); break; } + case 50: { + if (customerProvidedConfig_ == null) { + CustomerProvidedConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig(); + } + input.ReadMessage(CustomerProvidedConfig); + break; + } + case 82: { + if (configurableBillingStatus_ == null) { + ConfigurableBillingStatus = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus(); + } + input.ReadMessage(ConfigurableBillingStatus); + break; + } } } #endif @@ -392,6 +535,20 @@ public void MergeFrom(pb::CodedInputStream input) { serviceTermsMap_.AddEntriesFrom(ref input, _map_serviceTermsMap_codec); break; } + case 50: { + if (customerProvidedConfig_ == null) { + CustomerProvidedConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig(); + } + input.ReadMessage(CustomerProvidedConfig); + break; + } + case 82: { + if (configurableBillingStatus_ == null) { + ConfigurableBillingStatus = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus(); + } + input.ReadMessage(ConfigurableBillingStatus); + break; + } } } } @@ -825,6 +982,2308 @@ public enum State { } + /// + /// Customer provided configurations. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomerProvidedConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomerProvidedConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerProvidedConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerProvidedConfig(CustomerProvidedConfig other) : this() { + notebooklmConfig_ = other.notebooklmConfig_ != null ? other.notebooklmConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomerProvidedConfig Clone() { + return new CustomerProvidedConfig(this); + } + + /// Field number for the "notebooklm_config" field. + public const int NotebooklmConfigFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig notebooklmConfig_; + /// + /// Optional. Configuration for NotebookLM settings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig NotebooklmConfig { + get { return notebooklmConfig_; } + set { + notebooklmConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomerProvidedConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomerProvidedConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(NotebooklmConfig, other.NotebooklmConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (notebooklmConfig_ != null) hash ^= NotebooklmConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (notebooklmConfig_ != null) { + output.WriteRawTag(26); + output.WriteMessage(NotebooklmConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (notebooklmConfig_ != null) { + output.WriteRawTag(26); + output.WriteMessage(NotebooklmConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (notebooklmConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NotebooklmConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomerProvidedConfig other) { + if (other == null) { + return; + } + if (other.notebooklmConfig_ != null) { + if (notebooklmConfig_ == null) { + NotebooklmConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig(); + } + NotebooklmConfig.MergeFrom(other.NotebooklmConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 26: { + if (notebooklmConfig_ == null) { + NotebooklmConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig(); + } + input.ReadMessage(NotebooklmConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 26: { + if (notebooklmConfig_ == null) { + NotebooklmConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig(); + } + input.ReadMessage(NotebooklmConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CustomerProvidedConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Configuration for NotebookLM. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NotebooklmConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotebooklmConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotebooklmConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotebooklmConfig(NotebooklmConfig other) : this() { + modelArmorConfig_ = other.modelArmorConfig_ != null ? other.modelArmorConfig_.Clone() : null; + optOutNotebookSharing_ = other.optOutNotebookSharing_; + dataProtectionPolicy_ = other.dataProtectionPolicy_ != null ? other.dataProtectionPolicy_.Clone() : null; + observabilityConfig_ = other.observabilityConfig_ != null ? other.observabilityConfig_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NotebooklmConfig Clone() { + return new NotebooklmConfig(this); + } + + /// Field number for the "model_armor_config" field. + public const int ModelArmorConfigFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig modelArmorConfig_; + /// + /// Model Armor configuration to be used for sanitizing user prompts and + /// LLM responses. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig ModelArmorConfig { + get { return modelArmorConfig_; } + set { + modelArmorConfig_ = value; + } + } + + /// Field number for the "opt_out_notebook_sharing" field. + public const int OptOutNotebookSharingFieldNumber = 2; + private bool optOutNotebookSharing_; + /// + /// Optional. Whether to disable the notebook sharing feature for the + /// project. Default to false if not specified. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool OptOutNotebookSharing { + get { return optOutNotebookSharing_; } + set { + optOutNotebookSharing_ = value; + } + } + + /// Field number for the "data_protection_policy" field. + public const int DataProtectionPolicyFieldNumber = 5; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy dataProtectionPolicy_; + /// + /// Optional. Specifies the data protection policy for NotebookLM. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy DataProtectionPolicy { + get { return dataProtectionPolicy_; } + set { + dataProtectionPolicy_ = value; + } + } + + /// Field number for the "observability_config" field. + public const int ObservabilityConfigFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig observabilityConfig_; + /// + /// Optional. Observability config for NotebookLM. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig ObservabilityConfig { + get { return observabilityConfig_; } + set { + observabilityConfig_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NotebooklmConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NotebooklmConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ModelArmorConfig, other.ModelArmorConfig)) return false; + if (OptOutNotebookSharing != other.OptOutNotebookSharing) return false; + if (!object.Equals(DataProtectionPolicy, other.DataProtectionPolicy)) return false; + if (!object.Equals(ObservabilityConfig, other.ObservabilityConfig)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (modelArmorConfig_ != null) hash ^= ModelArmorConfig.GetHashCode(); + if (OptOutNotebookSharing != false) hash ^= OptOutNotebookSharing.GetHashCode(); + if (dataProtectionPolicy_ != null) hash ^= DataProtectionPolicy.GetHashCode(); + if (observabilityConfig_ != null) hash ^= ObservabilityConfig.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (modelArmorConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ModelArmorConfig); + } + if (OptOutNotebookSharing != false) { + output.WriteRawTag(16); + output.WriteBool(OptOutNotebookSharing); + } + if (dataProtectionPolicy_ != null) { + output.WriteRawTag(42); + output.WriteMessage(DataProtectionPolicy); + } + if (observabilityConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ObservabilityConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (modelArmorConfig_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ModelArmorConfig); + } + if (OptOutNotebookSharing != false) { + output.WriteRawTag(16); + output.WriteBool(OptOutNotebookSharing); + } + if (dataProtectionPolicy_ != null) { + output.WriteRawTag(42); + output.WriteMessage(DataProtectionPolicy); + } + if (observabilityConfig_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ObservabilityConfig); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (modelArmorConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModelArmorConfig); + } + if (OptOutNotebookSharing != false) { + size += 1 + 1; + } + if (dataProtectionPolicy_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DataProtectionPolicy); + } + if (observabilityConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObservabilityConfig); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NotebooklmConfig other) { + if (other == null) { + return; + } + if (other.modelArmorConfig_ != null) { + if (modelArmorConfig_ == null) { + ModelArmorConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig(); + } + ModelArmorConfig.MergeFrom(other.ModelArmorConfig); + } + if (other.OptOutNotebookSharing != false) { + OptOutNotebookSharing = other.OptOutNotebookSharing; + } + if (other.dataProtectionPolicy_ != null) { + if (dataProtectionPolicy_ == null) { + DataProtectionPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy(); + } + DataProtectionPolicy.MergeFrom(other.DataProtectionPolicy); + } + if (other.observabilityConfig_ != null) { + if (observabilityConfig_ == null) { + ObservabilityConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig(); + } + ObservabilityConfig.MergeFrom(other.ObservabilityConfig); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (modelArmorConfig_ == null) { + ModelArmorConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig(); + } + input.ReadMessage(ModelArmorConfig); + break; + } + case 16: { + OptOutNotebookSharing = input.ReadBool(); + break; + } + case 42: { + if (dataProtectionPolicy_ == null) { + DataProtectionPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy(); + } + input.ReadMessage(DataProtectionPolicy); + break; + } + case 50: { + if (observabilityConfig_ == null) { + ObservabilityConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig(); + } + input.ReadMessage(ObservabilityConfig); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (modelArmorConfig_ == null) { + ModelArmorConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.ModelArmorConfig(); + } + input.ReadMessage(ModelArmorConfig); + break; + } + case 16: { + OptOutNotebookSharing = input.ReadBool(); + break; + } + case 42: { + if (dataProtectionPolicy_ == null) { + DataProtectionPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy(); + } + input.ReadMessage(DataProtectionPolicy); + break; + } + case 50: { + if (observabilityConfig_ == null) { + ObservabilityConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ObservabilityConfig(); + } + input.ReadMessage(ObservabilityConfig); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the NotebooklmConfig message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Configuration for customer defined Model Armor templates to be used for + /// sanitizing user prompts and LLM responses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ModelArmorConfig : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ModelArmorConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorConfig(ModelArmorConfig other) : this() { + userPromptTemplate_ = other.userPromptTemplate_; + responseTemplate_ = other.responseTemplate_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModelArmorConfig Clone() { + return new ModelArmorConfig(this); + } + + /// Field number for the "user_prompt_template" field. + public const int UserPromptTemplateFieldNumber = 1; + private string userPromptTemplate_ = ""; + /// + /// Optional. The resource name of the Model Armor Template for + /// sanitizing user prompts. Format: + /// projects/{project}/locations/{location}/templates/{template_id} + /// If not specified, no sanitization will be applied to the user prompt. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserPromptTemplate { + get { return userPromptTemplate_; } + set { + userPromptTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "response_template" field. + public const int ResponseTemplateFieldNumber = 2; + private string responseTemplate_ = ""; + /// + /// Optional. The resource name of the Model Armor Template for + /// sanitizing LLM responses. Format: + /// projects/{project}/locations/{location}/templates/{template_id} + /// If not specified, no sanitization will be applied to the LLM + /// response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResponseTemplate { + get { return responseTemplate_; } + set { + responseTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ModelArmorConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ModelArmorConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserPromptTemplate != other.UserPromptTemplate) return false; + if (ResponseTemplate != other.ResponseTemplate) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (UserPromptTemplate.Length != 0) hash ^= UserPromptTemplate.GetHashCode(); + if (ResponseTemplate.Length != 0) hash ^= ResponseTemplate.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (UserPromptTemplate.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserPromptTemplate); + } + if (ResponseTemplate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ResponseTemplate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (UserPromptTemplate.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserPromptTemplate); + } + if (ResponseTemplate.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ResponseTemplate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (UserPromptTemplate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPromptTemplate); + } + if (ResponseTemplate.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ResponseTemplate); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ModelArmorConfig other) { + if (other == null) { + return; + } + if (other.UserPromptTemplate.Length != 0) { + UserPromptTemplate = other.UserPromptTemplate; + } + if (other.ResponseTemplate.Length != 0) { + ResponseTemplate = other.ResponseTemplate; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + UserPromptTemplate = input.ReadString(); + break; + } + case 18: { + ResponseTemplate = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + UserPromptTemplate = input.ReadString(); + break; + } + case 18: { + ResponseTemplate = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Data protection policy config for NotebookLM. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DataProtectionPolicy : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DataProtectionPolicy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataProtectionPolicy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataProtectionPolicy(DataProtectionPolicy other) : this() { + sensitiveDataProtectionPolicy_ = other.sensitiveDataProtectionPolicy_ != null ? other.sensitiveDataProtectionPolicy_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataProtectionPolicy Clone() { + return new DataProtectionPolicy(this); + } + + /// Field number for the "sensitive_data_protection_policy" field. + public const int SensitiveDataProtectionPolicyFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy sensitiveDataProtectionPolicy_; + /// + /// Optional. The sensitive data protection policy. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy SensitiveDataProtectionPolicy { + get { return sensitiveDataProtectionPolicy_; } + set { + sensitiveDataProtectionPolicy_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DataProtectionPolicy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DataProtectionPolicy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SensitiveDataProtectionPolicy, other.SensitiveDataProtectionPolicy)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sensitiveDataProtectionPolicy_ != null) hash ^= SensitiveDataProtectionPolicy.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (sensitiveDataProtectionPolicy_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SensitiveDataProtectionPolicy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (sensitiveDataProtectionPolicy_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SensitiveDataProtectionPolicy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sensitiveDataProtectionPolicy_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SensitiveDataProtectionPolicy); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DataProtectionPolicy other) { + if (other == null) { + return; + } + if (other.sensitiveDataProtectionPolicy_ != null) { + if (sensitiveDataProtectionPolicy_ == null) { + SensitiveDataProtectionPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy(); + } + SensitiveDataProtectionPolicy.MergeFrom(other.SensitiveDataProtectionPolicy); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (sensitiveDataProtectionPolicy_ == null) { + SensitiveDataProtectionPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy(); + } + input.ReadMessage(SensitiveDataProtectionPolicy); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (sensitiveDataProtectionPolicy_ == null) { + SensitiveDataProtectionPolicy = new global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Types.SensitiveDataProtectionPolicy(); + } + input.ReadMessage(SensitiveDataProtectionPolicy); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the DataProtectionPolicy message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specifies a Sensitive Data Protection + /// (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) + /// policy. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SensitiveDataProtectionPolicy : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SensitiveDataProtectionPolicy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.CustomerProvidedConfig.Types.NotebooklmConfig.Types.DataProtectionPolicy.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SensitiveDataProtectionPolicy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SensitiveDataProtectionPolicy(SensitiveDataProtectionPolicy other) : this() { + policy_ = other.policy_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SensitiveDataProtectionPolicy Clone() { + return new SensitiveDataProtectionPolicy(this); + } + + /// Field number for the "policy" field. + public const int PolicyFieldNumber = 1; + private string policy_ = ""; + /// + /// Optional. The Sensitive Data Protection policy resource name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Policy { + get { return policy_; } + set { + policy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SensitiveDataProtectionPolicy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SensitiveDataProtectionPolicy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Policy != other.Policy) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Policy.Length != 0) hash ^= Policy.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Policy.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Policy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Policy.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Policy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Policy.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Policy); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SensitiveDataProtectionPolicy other) { + if (other == null) { + return; + } + if (other.Policy.Length != 0) { + Policy = other.Policy; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Policy = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Policy = input.ReadString(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + } + #endregion + + } + + } + #endregion + + } + + /// + /// Represents the currently effective configurable billing parameters. + /// These values are derived from the customer's subscription history stored + /// internally and reflect the thresholds actively being used for billing + /// purposes at the time of the GetProject call. This includes the start_time + /// of the subscription and may differ from the values in + /// `customer_provided_config` due to billing rules + /// (e.g., scale-downs taking effect only at the start of a new month). + /// We also include the update type to indicate the type of update performed on + /// the configurable billing configuration in the UpdateProject operation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConfigurableBillingStatus : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConfigurableBillingStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Descriptor.NestedTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConfigurableBillingStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConfigurableBillingStatus(ConfigurableBillingStatus other) : this() { + effectiveSearchQpmThreshold_ = other.effectiveSearchQpmThreshold_; + effectiveIndexingCoreThreshold_ = other.effectiveIndexingCoreThreshold_; + startTime_ = other.startTime_ != null ? other.startTime_.Clone() : null; + terminateTime_ = other.terminateTime_ != null ? other.terminateTime_.Clone() : null; + searchQpmThresholdNextUpdateTime_ = other.searchQpmThresholdNextUpdateTime_ != null ? other.searchQpmThresholdNextUpdateTime_.Clone() : null; + indexingCoreThresholdNextUpdateTime_ = other.indexingCoreThresholdNextUpdateTime_ != null ? other.indexingCoreThresholdNextUpdateTime_.Clone() : null; + updateType_ = other.updateType_; + agentSearchTokenSubscriptionStatuses_ = other.agentSearchTokenSubscriptionStatuses_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConfigurableBillingStatus Clone() { + return new ConfigurableBillingStatus(this); + } + + /// Field number for the "effective_search_qpm_threshold" field. + public const int EffectiveSearchQpmThresholdFieldNumber = 1; + private long effectiveSearchQpmThreshold_; + /// + /// Optional. The currently effective Search QPM threshold in queries per + /// minute. This is the threshold against which QPM usage is compared for + /// overage calculations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EffectiveSearchQpmThreshold { + get { return effectiveSearchQpmThreshold_; } + set { + effectiveSearchQpmThreshold_ = value; + } + } + + /// Field number for the "effective_indexing_core_threshold" field. + public const int EffectiveIndexingCoreThresholdFieldNumber = 2; + private long effectiveIndexingCoreThreshold_; + /// + /// Optional. The currently effective Indexing Core threshold. + /// This is the threshold against which Indexing Core usage is compared + /// for overage calculations. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EffectiveIndexingCoreThreshold { + get { return effectiveIndexingCoreThreshold_; } + set { + effectiveIndexingCoreThreshold_ = value; + } + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp startTime_; + /// + /// Optional. The start time of the currently active billing subscription. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// Field number for the "terminate_time" field. + public const int TerminateTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp terminateTime_; + /// + /// Output only. The latest terminate effective time of search qpm and + /// indexing core subscriptions. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp TerminateTime { + get { return terminateTime_; } + set { + terminateTime_ = value; + } + } + + /// Field number for the "search_qpm_threshold_next_update_time" field. + public const int SearchQpmThresholdNextUpdateTimeFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Timestamp searchQpmThresholdNextUpdateTime_; + /// + /// Output only. The earliest next update time for the search QPM + /// subscription threshold. This is based on the next_update_time returned by + /// the underlying Cloud Billing Subscription V3 API. This field is populated + /// only if an update QPM subscription threshold request is succeeded. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp SearchQpmThresholdNextUpdateTime { + get { return searchQpmThresholdNextUpdateTime_; } + set { + searchQpmThresholdNextUpdateTime_ = value; + } + } + + /// Field number for the "indexing_core_threshold_next_update_time" field. + public const int IndexingCoreThresholdNextUpdateTimeFieldNumber = 6; + private global::Google.Protobuf.WellKnownTypes.Timestamp indexingCoreThresholdNextUpdateTime_; + /// + /// Output only. The earliest next update time for the indexing core + /// subscription threshold. This is based on the next_update_time returned by + /// the underlying Cloud Billing Subscription V3 API. This field is populated + /// only if an update indexing core subscription threshold + /// request is succeeded. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp IndexingCoreThresholdNextUpdateTime { + get { return indexingCoreThresholdNextUpdateTime_; } + set { + indexingCoreThresholdNextUpdateTime_ = value; + } + } + + /// Field number for the "update_type" field. + public const int UpdateTypeFieldNumber = 7; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType updateType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified; + /// + /// Output only. The type of update performed in this operation. + /// This field is populated in the response of UpdateProject. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType UpdateType { + get { return updateType_; } + set { + updateType_ = value; + } + } + + /// Field number for the "agent_search_token_subscription_statuses" field. + public const int AgentSearchTokenSubscriptionStatusesFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_agentSearchTokenSubscriptionStatuses_codec + = pb::FieldCodec.ForMessage(66, global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.AgentSearchTokenSubscriptionStatus.Parser); + private readonly pbc::RepeatedField agentSearchTokenSubscriptionStatuses_ = new pbc::RepeatedField(); + /// + /// Output only. Per-model Agent Search TPM subscription status. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AgentSearchTokenSubscriptionStatuses { + get { return agentSearchTokenSubscriptionStatuses_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConfigurableBillingStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConfigurableBillingStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EffectiveSearchQpmThreshold != other.EffectiveSearchQpmThreshold) return false; + if (EffectiveIndexingCoreThreshold != other.EffectiveIndexingCoreThreshold) return false; + if (!object.Equals(StartTime, other.StartTime)) return false; + if (!object.Equals(TerminateTime, other.TerminateTime)) return false; + if (!object.Equals(SearchQpmThresholdNextUpdateTime, other.SearchQpmThresholdNextUpdateTime)) return false; + if (!object.Equals(IndexingCoreThresholdNextUpdateTime, other.IndexingCoreThresholdNextUpdateTime)) return false; + if (UpdateType != other.UpdateType) return false; + if(!agentSearchTokenSubscriptionStatuses_.Equals(other.agentSearchTokenSubscriptionStatuses_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EffectiveSearchQpmThreshold != 0L) hash ^= EffectiveSearchQpmThreshold.GetHashCode(); + if (EffectiveIndexingCoreThreshold != 0L) hash ^= EffectiveIndexingCoreThreshold.GetHashCode(); + if (startTime_ != null) hash ^= StartTime.GetHashCode(); + if (terminateTime_ != null) hash ^= TerminateTime.GetHashCode(); + if (searchQpmThresholdNextUpdateTime_ != null) hash ^= SearchQpmThresholdNextUpdateTime.GetHashCode(); + if (indexingCoreThresholdNextUpdateTime_ != null) hash ^= IndexingCoreThresholdNextUpdateTime.GetHashCode(); + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) hash ^= UpdateType.GetHashCode(); + hash ^= agentSearchTokenSubscriptionStatuses_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EffectiveSearchQpmThreshold != 0L) { + output.WriteRawTag(8); + output.WriteInt64(EffectiveSearchQpmThreshold); + } + if (EffectiveIndexingCoreThreshold != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EffectiveIndexingCoreThreshold); + } + if (startTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(StartTime); + } + if (terminateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(TerminateTime); + } + if (searchQpmThresholdNextUpdateTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SearchQpmThresholdNextUpdateTime); + } + if (indexingCoreThresholdNextUpdateTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(IndexingCoreThresholdNextUpdateTime); + } + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + output.WriteRawTag(56); + output.WriteEnum((int) UpdateType); + } + agentSearchTokenSubscriptionStatuses_.WriteTo(output, _repeated_agentSearchTokenSubscriptionStatuses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EffectiveSearchQpmThreshold != 0L) { + output.WriteRawTag(8); + output.WriteInt64(EffectiveSearchQpmThreshold); + } + if (EffectiveIndexingCoreThreshold != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EffectiveIndexingCoreThreshold); + } + if (startTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(StartTime); + } + if (terminateTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(TerminateTime); + } + if (searchQpmThresholdNextUpdateTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SearchQpmThresholdNextUpdateTime); + } + if (indexingCoreThresholdNextUpdateTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(IndexingCoreThresholdNextUpdateTime); + } + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + output.WriteRawTag(56); + output.WriteEnum((int) UpdateType); + } + agentSearchTokenSubscriptionStatuses_.WriteTo(ref output, _repeated_agentSearchTokenSubscriptionStatuses_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EffectiveSearchQpmThreshold != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EffectiveSearchQpmThreshold); + } + if (EffectiveIndexingCoreThreshold != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EffectiveIndexingCoreThreshold); + } + if (startTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartTime); + } + if (terminateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TerminateTime); + } + if (searchQpmThresholdNextUpdateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SearchQpmThresholdNextUpdateTime); + } + if (indexingCoreThresholdNextUpdateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexingCoreThresholdNextUpdateTime); + } + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) UpdateType); + } + size += agentSearchTokenSubscriptionStatuses_.CalculateSize(_repeated_agentSearchTokenSubscriptionStatuses_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConfigurableBillingStatus other) { + if (other == null) { + return; + } + if (other.EffectiveSearchQpmThreshold != 0L) { + EffectiveSearchQpmThreshold = other.EffectiveSearchQpmThreshold; + } + if (other.EffectiveIndexingCoreThreshold != 0L) { + EffectiveIndexingCoreThreshold = other.EffectiveIndexingCoreThreshold; + } + if (other.startTime_ != null) { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + StartTime.MergeFrom(other.StartTime); + } + if (other.terminateTime_ != null) { + if (terminateTime_ == null) { + TerminateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + TerminateTime.MergeFrom(other.TerminateTime); + } + if (other.searchQpmThresholdNextUpdateTime_ != null) { + if (searchQpmThresholdNextUpdateTime_ == null) { + SearchQpmThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + SearchQpmThresholdNextUpdateTime.MergeFrom(other.SearchQpmThresholdNextUpdateTime); + } + if (other.indexingCoreThresholdNextUpdateTime_ != null) { + if (indexingCoreThresholdNextUpdateTime_ == null) { + IndexingCoreThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + IndexingCoreThresholdNextUpdateTime.MergeFrom(other.IndexingCoreThresholdNextUpdateTime); + } + if (other.UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + UpdateType = other.UpdateType; + } + agentSearchTokenSubscriptionStatuses_.Add(other.agentSearchTokenSubscriptionStatuses_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + EffectiveSearchQpmThreshold = input.ReadInt64(); + break; + } + case 16: { + EffectiveIndexingCoreThreshold = input.ReadInt64(); + break; + } + case 26: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 34: { + if (terminateTime_ == null) { + TerminateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(TerminateTime); + break; + } + case 42: { + if (searchQpmThresholdNextUpdateTime_ == null) { + SearchQpmThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(SearchQpmThresholdNextUpdateTime); + break; + } + case 50: { + if (indexingCoreThresholdNextUpdateTime_ == null) { + IndexingCoreThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(IndexingCoreThresholdNextUpdateTime); + break; + } + case 56: { + UpdateType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType) input.ReadEnum(); + break; + } + case 66: { + agentSearchTokenSubscriptionStatuses_.AddEntriesFrom(input, _repeated_agentSearchTokenSubscriptionStatuses_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + EffectiveSearchQpmThreshold = input.ReadInt64(); + break; + } + case 16: { + EffectiveIndexingCoreThreshold = input.ReadInt64(); + break; + } + case 26: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 34: { + if (terminateTime_ == null) { + TerminateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(TerminateTime); + break; + } + case 42: { + if (searchQpmThresholdNextUpdateTime_ == null) { + SearchQpmThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(SearchQpmThresholdNextUpdateTime); + break; + } + case 50: { + if (indexingCoreThresholdNextUpdateTime_ == null) { + IndexingCoreThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(IndexingCoreThresholdNextUpdateTime); + break; + } + case 56: { + UpdateType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType) input.ReadEnum(); + break; + } + case 66: { + agentSearchTokenSubscriptionStatuses_.AddEntriesFrom(ref input, _repeated_agentSearchTokenSubscriptionStatuses_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ConfigurableBillingStatus message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The type of update performed on the configurable billing configuration. + /// + public enum UpdateType { + /// + /// Unspecified update type. + /// + [pbr::OriginalName("UPDATE_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// Configurable billing was created/enabled. + /// + [pbr::OriginalName("CREATE")] Create = 1, + /// + /// Configurable billing was deleted/disabled. + /// + [pbr::OriginalName("DELETE")] Delete = 2, + /// + /// Subscription was scaled up (thresholds increased). + /// + [pbr::OriginalName("SCALE_UP")] ScaleUp = 3, + /// + /// Subscription was scaled down (thresholds decreased). + /// + [pbr::OriginalName("SCALE_DOWN")] ScaleDown = 4, + } + + /// + /// Per-model Agent Search TPM subscription status. One entry per active + /// `core_subscription.agent_search_token_subscriptions[*]` entry in the + /// customer-provided config; populated by UpdateProject and GetProject. + /// + /// The lifecycle scalars on this message (`start_time`, `terminate_time`, + /// `update_type`, `tpm_threshold_next_update_time`) are per (project, + /// model_version) — siblings of the whole-relationship `start_time` / + /// `terminate_time` / `update_type` on the enclosing + /// ConfigurableBillingStatus, but scoped to this specific Agent Search + /// TPM subscription instead of to the overall customer-configurable- + /// pricing relationship. This per-instance granularity is intentional: + /// the underlying SubV3 storage is per-(project, model_version), so + /// each model has its own activation, termination, and deferred-update + /// clock; surfacing that on the response gives customers the granularity + /// they need to manage per-model commitments independently. QPM / + /// IndexingCore differ — their storage is one row per (project, + /// location), so their lifecycle is represented only by the whole- + /// relationship scalars on ConfigurableBillingStatus. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentSearchTokenSubscriptionStatus : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentSearchTokenSubscriptionStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentSearchTokenSubscriptionStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentSearchTokenSubscriptionStatus(AgentSearchTokenSubscriptionStatus other) : this() { + modelVersion_ = other.modelVersion_; + effectiveTpmThreshold_ = other.effectiveTpmThreshold_; + tpmThresholdNextUpdateTime_ = other.tpmThresholdNextUpdateTime_ != null ? other.tpmThresholdNextUpdateTime_.Clone() : null; + startTime_ = other.startTime_ != null ? other.startTime_.Clone() : null; + terminateTime_ = other.terminateTime_ != null ? other.terminateTime_.Clone() : null; + updateType_ = other.updateType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentSearchTokenSubscriptionStatus Clone() { + return new AgentSearchTokenSubscriptionStatus(this); + } + + /// Field number for the "model_version" field. + public const int ModelVersionFieldNumber = 1; + private string modelVersion_ = ""; + /// + /// Output only. The Gemini model version this status corresponds to. + /// Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a + /// stable Gemini model version from the Gemini Enterprise Agent Platform + /// model-versions registry; see + /// https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelVersion { + get { return modelVersion_; } + set { + modelVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "effective_tpm_threshold" field. + public const int EffectiveTpmThresholdFieldNumber = 2; + private long effectiveTpmThreshold_; + /// + /// Output only. The currently effective TPM threshold. Reflects scale-up + /// immediately and scale-down at the next billing cycle, matching + /// `effective_search_qpm_threshold` semantics. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EffectiveTpmThreshold { + get { return effectiveTpmThreshold_; } + set { + effectiveTpmThreshold_ = value; + } + } + + /// Field number for the "tpm_threshold_next_update_time" field. + public const int TpmThresholdNextUpdateTimeFieldNumber = 3; + private global::Google.Protobuf.WellKnownTypes.Timestamp tpmThresholdNextUpdateTime_; + /// + /// Output only. The earliest next update time for the TPM subscription + /// threshold for this (project, model_version). Populated only after a + /// successful update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp TpmThresholdNextUpdateTime { + get { return tpmThresholdNextUpdateTime_; } + set { + tpmThresholdNextUpdateTime_ = value; + } + } + + /// Field number for the "start_time" field. + public const int StartTimeFieldNumber = 4; + private global::Google.Protobuf.WellKnownTypes.Timestamp startTime_; + /// + /// Output only. When this (project, model_version) Agent Search TPM + /// subscription was first activated. Set once on first activation of this + /// model version and never moved by subsequent threshold updates; on + /// termination + re-activation a new value is recorded. Does NOT move + /// the whole-relationship `start_time` on the enclosing + /// ConfigurableBillingStatus, which continues to represent the first + /// activation of the overall customer-configurable-pricing + /// relationship. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// Field number for the "terminate_time" field. + public const int TerminateTimeFieldNumber = 5; + private global::Google.Protobuf.WellKnownTypes.Timestamp terminateTime_; + /// + /// Output only. If set, the scheduled effective time at which this + /// (project, model_version) Agent Search TPM subscription will terminate. + /// Populated when the customer removes this entry from + /// `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move + /// the whole-relationship `terminate_time` on the enclosing + /// ConfigurableBillingStatus, which is populated only when the entire + /// customer-configurable-pricing relationship is being torn down. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp TerminateTime { + get { return terminateTime_; } + set { + terminateTime_ = value; + } + } + + /// Field number for the "update_type" field. + public const int UpdateTypeFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType updateType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified; + /// + /// Output only. The type of the most recent update to this (project, + /// model_version) subscription, as performed by the most recent + /// UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this + /// model_version was not touched by the most recent UpdateProject (its + /// `effective_tpm_threshold` reflects an earlier update). The + /// whole-relationship `update_type` on the enclosing + /// ConfigurableBillingStatus continues to summarize the direction of + /// the most recent update across all surfaces in the project (QPM, + /// IndexingCore, and Agent Search TPM together). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType UpdateType { + get { return updateType_; } + set { + updateType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentSearchTokenSubscriptionStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentSearchTokenSubscriptionStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ModelVersion != other.ModelVersion) return false; + if (EffectiveTpmThreshold != other.EffectiveTpmThreshold) return false; + if (!object.Equals(TpmThresholdNextUpdateTime, other.TpmThresholdNextUpdateTime)) return false; + if (!object.Equals(StartTime, other.StartTime)) return false; + if (!object.Equals(TerminateTime, other.TerminateTime)) return false; + if (UpdateType != other.UpdateType) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ModelVersion.Length != 0) hash ^= ModelVersion.GetHashCode(); + if (EffectiveTpmThreshold != 0L) hash ^= EffectiveTpmThreshold.GetHashCode(); + if (tpmThresholdNextUpdateTime_ != null) hash ^= TpmThresholdNextUpdateTime.GetHashCode(); + if (startTime_ != null) hash ^= StartTime.GetHashCode(); + if (terminateTime_ != null) hash ^= TerminateTime.GetHashCode(); + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) hash ^= UpdateType.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ModelVersion.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ModelVersion); + } + if (EffectiveTpmThreshold != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EffectiveTpmThreshold); + } + if (tpmThresholdNextUpdateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TpmThresholdNextUpdateTime); + } + if (startTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(StartTime); + } + if (terminateTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(TerminateTime); + } + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) UpdateType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ModelVersion.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ModelVersion); + } + if (EffectiveTpmThreshold != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EffectiveTpmThreshold); + } + if (tpmThresholdNextUpdateTime_ != null) { + output.WriteRawTag(26); + output.WriteMessage(TpmThresholdNextUpdateTime); + } + if (startTime_ != null) { + output.WriteRawTag(34); + output.WriteMessage(StartTime); + } + if (terminateTime_ != null) { + output.WriteRawTag(42); + output.WriteMessage(TerminateTime); + } + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) UpdateType); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ModelVersion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelVersion); + } + if (EffectiveTpmThreshold != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EffectiveTpmThreshold); + } + if (tpmThresholdNextUpdateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TpmThresholdNextUpdateTime); + } + if (startTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartTime); + } + if (terminateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TerminateTime); + } + if (UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) UpdateType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentSearchTokenSubscriptionStatus other) { + if (other == null) { + return; + } + if (other.ModelVersion.Length != 0) { + ModelVersion = other.ModelVersion; + } + if (other.EffectiveTpmThreshold != 0L) { + EffectiveTpmThreshold = other.EffectiveTpmThreshold; + } + if (other.tpmThresholdNextUpdateTime_ != null) { + if (tpmThresholdNextUpdateTime_ == null) { + TpmThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + TpmThresholdNextUpdateTime.MergeFrom(other.TpmThresholdNextUpdateTime); + } + if (other.startTime_ != null) { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + StartTime.MergeFrom(other.StartTime); + } + if (other.terminateTime_ != null) { + if (terminateTime_ == null) { + TerminateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + TerminateTime.MergeFrom(other.TerminateTime); + } + if (other.UpdateType != global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType.Unspecified) { + UpdateType = other.UpdateType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ModelVersion = input.ReadString(); + break; + } + case 16: { + EffectiveTpmThreshold = input.ReadInt64(); + break; + } + case 26: { + if (tpmThresholdNextUpdateTime_ == null) { + TpmThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(TpmThresholdNextUpdateTime); + break; + } + case 34: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 42: { + if (terminateTime_ == null) { + TerminateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(TerminateTime); + break; + } + case 48: { + UpdateType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ModelVersion = input.ReadString(); + break; + } + case 16: { + EffectiveTpmThreshold = input.ReadInt64(); + break; + } + case 26: { + if (tpmThresholdNextUpdateTime_ == null) { + TpmThresholdNextUpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(TpmThresholdNextUpdateTime); + break; + } + case 34: { + if (startTime_ == null) { + StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(StartTime); + break; + } + case 42: { + if (terminateTime_ == null) { + TerminateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(TerminateTime); + break; + } + case 48: { + UpdateType = (global::Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ConfigurableBillingStatus.Types.UpdateType) input.ReadEnum(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + } #endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectResourceNames.g.cs index 56cb5f7fc33c..fc4c63c7d7a1 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectResourceNames.g.cs @@ -236,5 +236,62 @@ public partial class Project get => string.IsNullOrEmpty(Name) ? null : gcdv::ProjectName.Parse(Name, allowUnparsed: true); set => Name = value?.ToString() ?? ""; } + + public partial class Types + { + public partial class CustomerProvidedConfig + { + public partial class Types + { + public partial class NotebooklmConfig + { + public partial class Types + { + public partial class ModelArmorConfig + { + /// + /// -typed view over the + /// resource name property. + /// + public TemplateName UserPromptTemplateAsTemplateName + { + get => string.IsNullOrEmpty(UserPromptTemplate) ? null : TemplateName.Parse(UserPromptTemplate, allowUnparsed: true); + set => UserPromptTemplate = value?.ToString() ?? ""; + } + + /// + /// -typed view over the + /// resource name property. + /// + public TemplateName ResponseTemplateAsTemplateName + { + get => string.IsNullOrEmpty(ResponseTemplate) ? null : TemplateName.Parse(ResponseTemplate, allowUnparsed: true); + set => ResponseTemplate = value?.ToString() ?? ""; + } + } + + public partial class DataProtectionPolicy + { + public partial class Types + { + public partial class SensitiveDataProtectionPolicy + { + /// + /// -typed view over the + /// resource name property. + /// + public ContentPolicyName PolicyAsContentPolicyName + { + get => string.IsNullOrEmpty(Policy) ? null : ContentPolicyName.Parse(Policy, allowUnparsed: true); + set => Policy = value?.ToString() ?? ""; + } + } + } + } + } + } + } + } + } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectService.g.cs index b5a37950d2e7..2d2b7e47b76d 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectService.g.cs @@ -30,30 +30,37 @@ static ProjectServiceReflection() { "YXBpL2NsaWVudC5wcm90bxofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5w", "cm90bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxoxZ29vZ2xlL2Nsb3Vk", "L2Rpc2NvdmVyeWVuZ2luZS92MWJldGEvcHJvamVjdC5wcm90bxojZ29vZ2xl", - "L2xvbmdydW5uaW5nL29wZXJhdGlvbnMucHJvdG8ioAEKF1Byb3Zpc2lvblBy", + "L2xvbmdydW5uaW5nL29wZXJhdGlvbnMucHJvdG8iwwIK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xodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9h", + "dXRoL2Rpc2NvdmVyeWVuZ2luZS5zZXJ2aW5nLnJlYWR3cml0ZUKaAgonY29t", + "Lmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQhNQcm9qZWN0", + "U2VydmljZVByb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5", + "ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3Zlcnll", + "bmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNj", + "b3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVu", + "Z2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6", + "OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ProjectReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Parser, new[]{ "Name", "AcceptDataUseTerms", "DataUseTermsVersion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Parser, new[]{ "Name", "AcceptDataUseTerms", "DataUseTermsVersion", "SaasParams" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams), global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams.Parser, new[]{ "AcceptBizQos", "IsBiz" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectMetadata.Parser, null, null, null, null, null) })); } @@ -104,6 +111,7 @@ public ProvisionProjectRequest(ProvisionProjectRequest other) : this() { name_ = other.name_; acceptDataUseTerms_ = other.acceptDataUseTerms_; dataUseTermsVersion_ = other.dataUseTermsVersion_; + saasParams_ = other.saasParams_ != null ? other.saasParams_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -166,6 +174,21 @@ public string DataUseTermsVersion { } } + /// Field number for the "saas_params" field. + public const int SaasParamsFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams saasParams_; + /// + /// Optional. Parameters for Agentspace. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams SaasParams { + get { return saasParams_; } + set { + saasParams_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -184,6 +207,7 @@ public bool Equals(ProvisionProjectRequest other) { if (Name != other.Name) return false; if (AcceptDataUseTerms != other.AcceptDataUseTerms) return false; if (DataUseTermsVersion != other.DataUseTermsVersion) return false; + if (!object.Equals(SaasParams, other.SaasParams)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -194,6 +218,7 @@ public override int GetHashCode() { if (Name.Length != 0) hash ^= Name.GetHashCode(); if (AcceptDataUseTerms != false) hash ^= AcceptDataUseTerms.GetHashCode(); if (DataUseTermsVersion.Length != 0) hash ^= DataUseTermsVersion.GetHashCode(); + if (saasParams_ != null) hash ^= SaasParams.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -224,6 +249,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteString(DataUseTermsVersion); } + if (saasParams_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SaasParams); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -246,6 +275,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteString(DataUseTermsVersion); } + if (saasParams_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SaasParams); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -265,6 +298,9 @@ public int CalculateSize() { if (DataUseTermsVersion.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DataUseTermsVersion); } + if (saasParams_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SaasParams); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -286,6 +322,12 @@ public void MergeFrom(ProvisionProjectRequest other) { if (other.DataUseTermsVersion.Length != 0) { DataUseTermsVersion = other.DataUseTermsVersion; } + if (other.saasParams_ != null) { + if (saasParams_ == null) { + SaasParams = new global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams(); + } + SaasParams.MergeFrom(other.SaasParams); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -317,6 +359,13 @@ public void MergeFrom(pb::CodedInputStream input) { DataUseTermsVersion = input.ReadString(); break; } + case 34: { + if (saasParams_ == null) { + SaasParams = new global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams(); + } + input.ReadMessage(SaasParams); + break; + } } } #endif @@ -348,11 +397,273 @@ public void MergeFrom(pb::CodedInputStream input) { DataUseTermsVersion = input.ReadString(); break; } + case 34: { + if (saasParams_ == null) { + SaasParams = new global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Types.SaasParams(); + } + input.ReadMessage(SaasParams); + break; + } } } } #endif + #region Nested types + /// Container for nested types declared in the ProvisionProjectRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Parameters for Agentspace. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SaasParams : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SaasParams()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.ProvisionProjectRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaasParams() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaasParams(SaasParams other) : this() { + acceptBizQos_ = other.acceptBizQos_; + isBiz_ = other.isBiz_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaasParams Clone() { + return new SaasParams(this); + } + + /// Field number for the "accept_biz_qos" field. + public const int AcceptBizQosFieldNumber = 1; + private bool acceptBizQos_; + /// + /// Optional. Set to `true` to specify that caller has read and would like to + /// give consent to the [Terms for Agent Space quality of service]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AcceptBizQos { + get { return acceptBizQos_; } + set { + acceptBizQos_ = value; + } + } + + /// Field number for the "is_biz" field. + public const int IsBizFieldNumber = 2; + private bool isBiz_; + /// + /// Optional. Indicates if the current request is for Biz edition (= true) or + /// not + /// (= false). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBiz { + get { return isBiz_; } + set { + isBiz_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SaasParams); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SaasParams other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AcceptBizQos != other.AcceptBizQos) return false; + if (IsBiz != other.IsBiz) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (AcceptBizQos != false) hash ^= AcceptBizQos.GetHashCode(); + if (IsBiz != false) hash ^= IsBiz.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (AcceptBizQos != false) { + output.WriteRawTag(8); + output.WriteBool(AcceptBizQos); + } + if (IsBiz != false) { + output.WriteRawTag(16); + output.WriteBool(IsBiz); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (AcceptBizQos != false) { + output.WriteRawTag(8); + output.WriteBool(AcceptBizQos); + } + if (IsBiz != false) { + output.WriteRawTag(16); + output.WriteBool(IsBiz); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (AcceptBizQos != false) { + size += 1 + 1; + } + if (IsBiz != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SaasParams other) { + if (other == null) { + return; + } + if (other.AcceptBizQos != false) { + AcceptBizQos = other.AcceptBizQos; + } + if (other.IsBiz != false) { + IsBiz = other.IsBiz; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + AcceptBizQos = input.ReadBool(); + break; + } + case 16: { + IsBiz = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + AcceptBizQos = input.ReadBool(); + break; + } + case 16: { + IsBiz = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + } + #endregion + } /// diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceClient.g.cs index 024f002b24a7..8f68d3c020b5 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceClient.g.cs @@ -170,11 +170,15 @@ public abstract partial class ProjectServiceClient /// The default ProjectService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceGrpc.g.cs index 677b323ebea5..7dc3ade9b64e 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ProjectServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/project_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PurgeConfig.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PurgeConfig.g.cs index 50b6b6b9106b..7f9477d7ed7f 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PurgeConfig.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/PurgeConfig.g.cs @@ -184,16 +184,20 @@ public string Parent { /// * `userId`: Double quoted string. Specifying this will delete all events /// associated with a user. /// + /// Note: This API only supports purging a max range of 30 days. + /// /// Examples: /// /// * Deleting all events in a time range: /// `eventTime > "2012-04-23T18:25:43.511Z" /// eventTime < "2012-04-23T18:30:43.511Z"` - /// * Deleting specific eventType: - /// `eventType = "search"` - /// * Deleting all events for a specific visitor: - /// `userPseudoId = "visitor1024"` - /// * Deleting all events inside a DataStore: + /// * Deleting specific eventType in a time range: + /// `eventTime > "2012-04-23T18:25:43.511Z" + /// eventTime < "2012-04-23T18:30:43.511Z" eventType = "search"` + /// * Deleting all events for a specific visitor in a time range: + /// `eventTime > "2012-04-23T18:25:43.511Z" + /// eventTime < "2012-04-23T18:30:43.511Z" userPseudoId = "visitor1024"` + /// * Deleting the past 30 days of events inside a DataStore: /// `*` /// /// The filtering fields are assumed to have an implicit AND. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankService.g.cs index f61f2f6ecf76..dfc87e8e91ce 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankService.g.cs @@ -40,20 +40,23 @@ static RankServiceReflection() { "eWVuZ2luZS52MWJldGEuUmFua1JlcXVlc3QuVXNlckxhYmVsc0VudHJ5GjEK", "D1VzZXJMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6", "AjgBIlMKDFJhbmtSZXNwb25zZRJDCgdyZWNvcmRzGAUgAygLMjIuZ29vZ2xl", - "LmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuUmFua2luZ1JlY29yZDKh", - "AgoLUmFua1NlcnZpY2USvQEKBFJhbmsSMC5nb29nbGUuY2xvdWQuZGlzY292", + "LmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuUmFua2luZ1JlY29yZDKf",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JpdGUsaHR0cHM6Ly93", + "d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUuc2Vydmlu", + "Zy5yZWFkd3JpdGVClwIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5n", + "aW5lLnYxYmV0YUIQUmFua1NlcnZpY2VQcm90b1ABWlFjbG91ZC5nb29nbGUu", + "Y29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5n", + "aW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNH", + "b29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxD", + "bG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6", + "RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -177,6 +180,8 @@ public string Content { private float score_; /// /// The score of this record based on the given query and selected model. + /// The score will be rounded to 4 decimal places. If the score is close to 0, + /// it will be rounded to 0.00001 to avoid returning unset. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -478,7 +483,7 @@ public string RankingConfig { /// /// The identifier of the model to use. It is one of: /// - /// * `semantic-ranker-512@latest`: Semantic ranking model with maxiumn input + /// * `semantic-ranker-512@latest`: Semantic ranking model with maximum input /// token size 512. /// /// It is set to `semantic-ranker-512@latest` by default if unspecified. @@ -529,7 +534,7 @@ public string Query { = pb::FieldCodec.ForMessage(42, global::Google.Cloud.DiscoveryEngine.V1Beta.RankingRecord.Parser); private readonly pbc::RepeatedField records_ = new pbc::RepeatedField(); /// - /// Required. A list of records to rank. At most 200 records to rank. + /// Required. A list of records to rank. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceClient.g.cs index 37aee91fb4a8..d08f752dc3a3 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceClient.g.cs @@ -148,11 +148,15 @@ public abstract partial class RankServiceClient /// The default RankService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceGrpc.g.cs index a69f1f0b578d..d60ec4aee130 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RankServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/rank_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationService.g.cs index 986e897a59a7..e52d171c0feb 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationService.g.cs @@ -54,7 +54,7 @@ static RecommendationServiceReflection() { "Z2luZS52MWJldGEuUmVjb21tZW5kUmVzcG9uc2UuUmVjb21tZW5kYXRpb25S", "ZXN1bHQuTWV0YWRhdGFFbnRyeRpHCg1NZXRhZGF0YUVudHJ5EgsKA2tleRgB", "IAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToC", - "OAEyowQKFVJlY29tbWVuZGF0aW9uU2VydmljZRK1AwoJUmVjb21tZW5kEjUu", + "OAEyoQUKFVJlY29tbWVuZGF0aW9uU2VydmljZRK1AwoJUmVjb21tZW5kEjUu", "Z29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuUmVjb21tZW5k", "UmVxdWVzdBo2Lmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRh", "LlJlY29tbWVuZFJlc3BvbnNlIrgCgtPkkwKxAiJXL3YxYmV0YS97c2Vydmlu", @@ -64,15 +64,18 @@ static RecommendationServiceReflection() { "bnMvKi9kYXRhU3RvcmVzLyovc2VydmluZ0NvbmZpZ3MvKn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mVyeWVuZ2luZS52MWJl", + "dGFCGlJlY29tbWVuZGF0aW9uU2VydmljZVByb3RvUAFaUWNsb3VkLmdvb2ds", + "ZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0YS9kaXNjb3Zlcnll", + "bmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoC", + "I0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xl", + "XENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3Vk", + "OjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.UserEventReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -230,9 +233,9 @@ public int PageSize { /// attribute-based expressions are expected instead of the above described /// tag-based syntax. Examples: /// - /// * (launguage: ANY("en", "es")) AND NOT (categories: ANY("Movie")) + /// * (language: ANY("en", "es")) AND NOT (categories: ANY("Movie")) /// * (available: true) AND - /// (launguage: ANY("en", "es")) OR (categories: ANY("Movie")) + /// (language: ANY("en", "es")) OR (categories: ANY("Movie")) /// /// If your filter blocks all results, the API returns generic /// (unfiltered) popular Documents. If you only want results strictly matching diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceClient.g.cs index 3409eab1abf9..333370daebf0 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceClient.g.cs @@ -151,11 +151,15 @@ public abstract partial class RecommendationServiceClient /// The default RecommendationService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceGrpc.g.cs index 647039b238ec..ffa6f8bd05e3 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/RecommendationServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/recommendation_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Safety.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Safety.g.cs new file mode 100644 index 000000000000..2f134fb9455a --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Safety.g.cs @@ -0,0 +1,567 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/safety.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/safety.proto + public static partial class SafetyReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/safety.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SafetyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjBnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9zYWZldHku", + "cHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhGh9n", + "b29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvItoECgxTYWZldHlSYXRp", + "bmcSSAoIY2F0ZWdvcnkYASABKA4yMS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5", + "ZW5naW5lLnYxYmV0YS5IYXJtQ2F0ZWdvcnlCA+BBAxJbCgtwcm9iYWJpbGl0", + "eRgCIAEoDjJBLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRh", + "LlNhZmV0eVJhdGluZy5IYXJtUHJvYmFiaWxpdHlCA+BBAxIeChFwcm9iYWJp", + "bGl0eV9zY29yZRgFIAEoAkID4EEDElUKCHNldmVyaXR5GAYgASgOMj4uZ29v", + "Z2xlLmNsb3VkLmRpc2N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W5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdp", + "bmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpW", + "MWJldGFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating), global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Parser, new[]{ "Category", "Probability", "ProbabilityScore", "Severity", "SeverityScore", "Blocked" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity) }, null, null) + })); + } + #endregion + + } + #region Enums + /// + /// Harm categories that will block the content. + /// + public enum HarmCategory { + /// + /// The harm category is unspecified. + /// + [pbr::OriginalName("HARM_CATEGORY_UNSPECIFIED")] Unspecified = 0, + /// + /// The harm category is hate speech. + /// + [pbr::OriginalName("HARM_CATEGORY_HATE_SPEECH")] HateSpeech = 1, + /// + /// The harm category is dangerous content. + /// + [pbr::OriginalName("HARM_CATEGORY_DANGEROUS_CONTENT")] DangerousContent = 2, + /// + /// The harm category is harassment. + /// + [pbr::OriginalName("HARM_CATEGORY_HARASSMENT")] Harassment = 3, + /// + /// The harm category is sexually explicit content. + /// + [pbr::OriginalName("HARM_CATEGORY_SEXUALLY_EXPLICIT")] SexuallyExplicit = 4, + /// + /// The harm category is civic integrity. + /// + [pbr::OriginalName("HARM_CATEGORY_CIVIC_INTEGRITY")] CivicIntegrity = 5, + } + + #endregion + + #region Messages + /// + /// Safety rating corresponding to the generated content. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SafetyRating : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SafetyRating()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SafetyRating() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SafetyRating(SafetyRating other) : this() { + category_ = other.category_; + probability_ = other.probability_; + probabilityScore_ = other.probabilityScore_; + severity_ = other.severity_; + severityScore_ = other.severityScore_; + blocked_ = other.blocked_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SafetyRating Clone() { + return new SafetyRating(this); + } + + /// Field number for the "category" field. + public const int CategoryFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory category_ = global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified; + /// + /// Output only. Harm category. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory Category { + get { return category_; } + set { + category_ = value; + } + } + + /// Field number for the "probability" field. + public const int ProbabilityFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability probability_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability.Unspecified; + /// + /// Output only. Harm probability levels in the content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability Probability { + get { return probability_; } + set { + probability_ = value; + } + } + + /// Field number for the "probability_score" field. + public const int ProbabilityScoreFieldNumber = 5; + private float probabilityScore_; + /// + /// Output only. Harm probability score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ProbabilityScore { + get { return probabilityScore_; } + set { + probabilityScore_ = value; + } + } + + /// Field number for the "severity" field. + public const int SeverityFieldNumber = 6; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity severity_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity.Unspecified; + /// + /// Output only. Harm severity levels in the content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity Severity { + get { return severity_; } + set { + severity_ = value; + } + } + + /// Field number for the "severity_score" field. + public const int SeverityScoreFieldNumber = 7; + private float severityScore_; + /// + /// Output only. Harm severity score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float SeverityScore { + get { return severityScore_; } + set { + severityScore_ = value; + } + } + + /// Field number for the "blocked" field. + public const int BlockedFieldNumber = 3; + private bool blocked_; + /// + /// Output only. Indicates whether the content was filtered out because of this + /// rating. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Blocked { + get { return blocked_; } + set { + blocked_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SafetyRating); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SafetyRating other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Category != other.Category) return false; + if (Probability != other.Probability) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ProbabilityScore, other.ProbabilityScore)) return false; + if (Severity != other.Severity) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SeverityScore, other.SeverityScore)) return false; + if (Blocked != other.Blocked) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) hash ^= Category.GetHashCode(); + if (Probability != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability.Unspecified) hash ^= Probability.GetHashCode(); + if (ProbabilityScore != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ProbabilityScore); + if (Severity != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity.Unspecified) hash ^= Severity.GetHashCode(); + if (SeverityScore != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SeverityScore); + if (Blocked != false) hash ^= Blocked.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Category); + } + if (Probability != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Probability); + } + if (Blocked != false) { + output.WriteRawTag(24); + output.WriteBool(Blocked); + } + if (ProbabilityScore != 0F) { + output.WriteRawTag(45); + output.WriteFloat(ProbabilityScore); + } + if (Severity != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) Severity); + } + if (SeverityScore != 0F) { + output.WriteRawTag(61); + output.WriteFloat(SeverityScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Category); + } + if (Probability != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) Probability); + } + if (Blocked != false) { + output.WriteRawTag(24); + output.WriteBool(Blocked); + } + if (ProbabilityScore != 0F) { + output.WriteRawTag(45); + output.WriteFloat(ProbabilityScore); + } + if (Severity != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity.Unspecified) { + output.WriteRawTag(48); + output.WriteEnum((int) Severity); + } + if (SeverityScore != 0F) { + output.WriteRawTag(61); + output.WriteFloat(SeverityScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Category); + } + if (Probability != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Probability); + } + if (ProbabilityScore != 0F) { + size += 1 + 4; + } + if (Severity != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Severity); + } + if (SeverityScore != 0F) { + size += 1 + 4; + } + if (Blocked != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SafetyRating other) { + if (other == null) { + return; + } + if (other.Category != global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory.Unspecified) { + Category = other.Category; + } + if (other.Probability != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability.Unspecified) { + Probability = other.Probability; + } + if (other.ProbabilityScore != 0F) { + ProbabilityScore = other.ProbabilityScore; + } + if (other.Severity != global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity.Unspecified) { + Severity = other.Severity; + } + if (other.SeverityScore != 0F) { + SeverityScore = other.SeverityScore; + } + if (other.Blocked != false) { + Blocked = other.Blocked; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Category = (global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory) input.ReadEnum(); + break; + } + case 16: { + Probability = (global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability) input.ReadEnum(); + break; + } + case 24: { + Blocked = input.ReadBool(); + break; + } + case 45: { + ProbabilityScore = input.ReadFloat(); + break; + } + case 48: { + Severity = (global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity) input.ReadEnum(); + break; + } + case 61: { + SeverityScore = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Category = (global::Google.Cloud.DiscoveryEngine.V1Beta.HarmCategory) input.ReadEnum(); + break; + } + case 16: { + Probability = (global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmProbability) input.ReadEnum(); + break; + } + case 24: { + Blocked = input.ReadBool(); + break; + } + case 45: { + ProbabilityScore = input.ReadFloat(); + break; + } + case 48: { + Severity = (global::Google.Cloud.DiscoveryEngine.V1Beta.SafetyRating.Types.HarmSeverity) input.ReadEnum(); + break; + } + case 61: { + SeverityScore = input.ReadFloat(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the SafetyRating message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Harm probability levels in the content. + /// + public enum HarmProbability { + /// + /// Harm probability unspecified. + /// + [pbr::OriginalName("HARM_PROBABILITY_UNSPECIFIED")] Unspecified = 0, + /// + /// Negligible level of harm. + /// + [pbr::OriginalName("NEGLIGIBLE")] Negligible = 1, + /// + /// Low level of harm. + /// + [pbr::OriginalName("LOW")] Low = 2, + /// + /// Medium level of harm. + /// + [pbr::OriginalName("MEDIUM")] Medium = 3, + /// + /// High level of harm. + /// + [pbr::OriginalName("HIGH")] High = 4, + } + + /// + /// Harm severity levels. + /// + public enum HarmSeverity { + /// + /// Harm severity unspecified. + /// + [pbr::OriginalName("HARM_SEVERITY_UNSPECIFIED")] Unspecified = 0, + /// + /// Negligible level of harm severity. + /// + [pbr::OriginalName("HARM_SEVERITY_NEGLIGIBLE")] Negligible = 1, + /// + /// Low level of harm severity. + /// + [pbr::OriginalName("HARM_SEVERITY_LOW")] Low = 2, + /// + /// Medium level of harm severity. + /// + [pbr::OriginalName("HARM_SEVERITY_MEDIUM")] Medium = 3, + /// + /// High level of harm severity. + /// + [pbr::OriginalName("HARM_SEVERITY_HIGH")] High = 4, + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryService.g.cs index ea405ec0bcfd..a9035224339c 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryService.g.cs @@ -51,7 +51,7 @@ static SampleQueryServiceReflection() { "ZXRhLlNhbXBsZVF1ZXJ5QgPgQQISLwoLdXBkYXRlX21hc2sYAiABKAsyGi5n", "b29nbGUucHJvdG9idWYuRmllbGRNYXNrIlwKGERlbGV0ZVNhbXBsZVF1ZXJ5", "UmVxdWVzdBJACgRuYW1lGAEgASgJQjLgQQL6QSwKKmRpc2NvdmVyeWVuZ2lu", - "ZS5nb29nbGVhcGlzLmNvbS9TYW1wbGVRdWVyeTLrDAoSU2FtcGxlUXVlcnlT", + "ZS5nb29nbGVhcGlzLmNvbS9TYW1wbGVRdWVyeTLpDQoSU2FtcGxlUXVlcnlT", "ZXJ2aWNlEtYBCg5HZXRTYW1wbGVRdWVyeRI6Lmdvb2dsZS5jbG91ZC5kaXNj", "b3ZlcnllbmdpbmUudjFiZXRhLkdldFNhbXBsZVF1ZXJ5UmVxdWVzdBowLmdv", "b2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLlNhbXBsZVF1ZXJ5", @@ -86,15 +86,18 @@ static SampleQueryServiceReflection() { "b2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLkltcG9ydFNhbXBs", "ZVF1ZXJpZXNNZXRhZGF0YYLT5JMCUyJOL3YxYmV0YS97cGFyZW50PXByb2pl", "Y3RzLyovbG9jYXRpb25zLyovc2FtcGxlUXVlcnlTZXRzLyp9L3Nh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YmV0YS9kaXNjb3ZlcnllbmdpbmVw", + "YjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2ds", + "ZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3Vk", + "XERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNj", + "b3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SampleQueryReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceClient.g.cs index 3133cd2aa1c5..c343836dea92 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceClient.g.cs @@ -272,11 +272,15 @@ public abstract partial class SampleQueryServiceClient /// The default SampleQueryService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceGrpc.g.cs index 8b25a2c94cb7..9db91ad6ef3c 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQueryServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/sample_query_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetService.g.cs index 62ad99448951..c0a54763428f 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetService.g.cs @@ -50,7 +50,7 @@ static SampleQuerySetServiceReflection() { "U2V0QgPgQQISLwoLdXBkYXRlX21hc2sYAiABKAsyGi5nb29nbGUucHJvdG9i", "dWYuRm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Nsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHKAiNHb29nbGVc", - "Q2xvdWRcRGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6", - "OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); + "eVNldHMvKn0azwHKQR5kaXNjb3ZlcnllbmdpbmUuZ29vZ2xlYXBpcy5jb23S", + "QaoBaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9jbG91ZC1wbGF0", + "Zm9ybSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVy", + "eWVuZ2luZS5yZWFkd3JpdGUsaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20v", + "YXV0aC9kaXNjb3ZlcnllbmdpbmUuc2VydmluZy5yZWFkd3JpdGVCoQIKJ2Nv", + "bS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YUIaU2FtcGxl", + "UXVlcnlTZXRTZXJ2aWNlUHJvdG9QAVpRY2xvdWQuZ29vZ2xlLmNvbS9nby9k", + "aXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rpc2NvdmVyeWVuZ2luZXBiO2Rp", + "c2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZRU5HSU5FqgIjR29vZ2xlLkNs", + "b3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHKAiNHb29nbGVcQ2xvdWRcRGlz", + "Y292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRpc2NvdmVy", + "eUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceClient.g.cs index 5b2b3fb10bfd..745a5c8d4602 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceClient.g.cs @@ -235,11 +235,15 @@ public abstract partial class SampleQuerySetServiceClient /// The default SampleQuerySetService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceGrpc.g.cs index 455e1d3d1206..d24f90d8fee1 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SampleQuerySetServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/sample_query_set_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaService.g.cs index bf1ebac99f8e..e42f8c8a0201 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaService.g.cs @@ -55,7 +55,7 @@ static SchemaServiceReflection() { "aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJ4ChREZWxl", "dGVTY2hlbWFNZXRhZGF0YRIvCgtjcmVhdGVfdGltZRgBIAEoCzIaLmdvb2ds", "ZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYAiABKAsyGi5n", - "b29nbGUucHJvdG9idWYuVGltZXN0YW1wMokOCg1TY2hlbWFTZXJ2aWNlEowC", + "b29nbGUucHJvdG9idWYuVGltZXN0YW1wMocPCg1TY2hlbWFTZXJ2aWNlEowC", "CglHZXRTY2hlbWESNS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYx", "YmV0YS5HZXRTY2hlbWFSZXF1ZXN0GisuZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", "eWVuZ2luZS52MWJldGEuU2NoZW1hIpoB2kEEbmFtZYLT5JMCjAESPC92MWJl", @@ -93,16 +93,18 @@ static SchemaServiceReflection() { "ZVNjaG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dXRoL2Rpc2NvdmVyeWVuZ2lu", + "ZS5zZXJ2aW5nLnJlYWR3cml0ZUKZAgonY29tLmdvb2dsZS5jbG91ZC5kaXNj", + "b3ZlcnllbmdpbmUudjFiZXRhQhJTY2hlbWFTZXJ2aWNlUHJvdG9QAVpRY2xv", + "dWQuZ29vZ2xlLmNvbS9nby9kaXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rp", + "c2NvdmVyeWVuZ2luZXBiO2Rpc2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZ", + "RU5HSU5FqgIjR29vZ2xlLkNsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHK", + "AiNHb29nbGVcQ2xvdWRcRGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2ds", + "ZTo6Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SchemaReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceClient.g.cs index f5645c308263..08563e405346 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceClient.g.cs @@ -285,11 +285,15 @@ public abstract partial class SchemaServiceClient /// The default SchemaService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceGrpc.g.cs index 60862afefdb4..6d64f5d6e5bc 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SchemaServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/schema_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchService.g.cs index 18d9553997e0..8887a96e0f08 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchService.g.cs @@ -32,250 +32,329 @@ static SearchServiceReflection() { "ZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9jaHVuay5wcm90bxowZ29vZ2xlL2Ns", "b3VkL2Rpc2NvdmVyeWVuZ2luZS92MWJldGEvY29tbW9uLnByb3RvGjJnb29n", "bGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS9kb2N1bWVudC5wcm90", - "bxocZ29vZ2xlL3Byb3RvYnVmL3N0cnVjdC5wcm90byKaNwoNU2VhcmNoUmVx", + "bxocZ29vZ2xlL3Byb3RvYnVmL3N0cnVjdC5wcm90byL0TAoNU2VhcmNoUmVx", "dWVzdBJMCg5zZXJ2aW5nX2NvbmZpZxgBIAEoCUI04EEC+kEuCixkaXNjb3Zl", "cnllbmdpbmUuZ29vZ2xlYXBpcy5jb20vU2VydmluZ0NvbmZpZxI6CgZicmFu", "Y2gYAiABKAlCKvpBJwolZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29t", - "L0JyYW5jaBINCgVxdWVyeRgDIAEoCRJSCgtpbWFnZV9xdWVyeRgTIAEoCzI9", + "L0JyYW5jaBINCgVxdWVyeRgDIAEoCRIcCg9wYWdlX2NhdGVnb3JpZXMYPyAD", + "KAlCA+BBARJSCgtpbWFnZV9xdWVyeRgTIAEoCzI9Lmdvb2dsZS5jbG91ZC5k", + "aXNjb3ZlcnllbmdpbmUudjFiZXRhLlNlYXJjaFJlcXVlc3QuSW1hZ2VRdWVy", + "eRIRCglwYWdlX3NpemUYBCABKAUSEgoKcGFnZV90b2tlbhgFIAEoCRIOCgZv", + "ZmZzZXQYBiABKAUSGQoRb25lX2JveF9wYWdlX3NpemUYLyABKAUSWgoQZGF0", + "YV9zdG9yZV9zcGVjcxggIAMoCzJALmdvb2dsZS5jbG91ZC5kaXNjb3Zlcnll", + "bmdpbmUudjFiZXRhLlNlYXJjaFJlcXVlc3QuRGF0YVN0b3JlU3BlYxInChpu", + "dW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UudjFiZXRhLlNlYXJjaFJlc3BvbnNl", + "LlN1bW1hcnkuQmxvYkF0dGFjaG1lbnQuQXR0cmlidXRpb25UeXBlQgPgQQMa", + "MQoEQmxvYhIWCgltaW1lX3R5cGUYASABKAlCA+BBAxIRCgRkYXRhGAIgASgM", + "QgPgQQMiTgoPQXR0cmlidXRpb25UeXBlEiAKHEFUVFJJQlVUSU9OX1RZUEVf", + "VU5TUEVDSUZJRUQQABIKCgZDT1JQVVMQARINCglHRU5FUkFURUQQAhrVAgoT", + "U3VtbWFyeVdpdGhNZXRhZGF0YRIPCgdzdW1tYXJ5GAEgASgJEmcKEWNpdGF0", + "aW9uX21ldGFkYXRhGAIgASgLMkwuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVu", + "Z2luZS52MWJldGEuU2VhcmNoUmVzcG9uc2UuU3VtbWFyeS5DaXRhdGlvbk1l", + "dGFkYXRhElkKCnJlZmVyZW5jZXMYAyADKAsyRS5nb29nbGUuY2xvdWQuZGlz", + "Y292ZXJ5ZW5naW5lLnYxYmV0YS5TZWFyY2hSZXNwb25zZS5TdW1tYXJ5LlJl", + "ZmVyZW5jZRJpChBibG9iX2F0dGFjaG1lbnRzGAQgAygLMkouZ29vZ2xlLmNs", + "b3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuU2VhcmNoUmVzcG9uc2UuU3Vt", + "bWFyeS5CbG9iQXR0YWNobWVudEID4EEDIvECChRTdW1tYXJ5U2tpcHBlZFJl", "YXNvbhImCiJTVU1NQVJZX1NLSVBQRURfUkVBU09OX1VOU1BFQ0lGSUVEEAAS", "HQoZQURWRVJTQVJJQUxfUVVFUllfSUdOT1JFRBABEiUKIU5PTl9TVU1NQVJZ", "X1NFRUtJTkdfUVVFUllfSUdOT1JFRBACEh8KG09VVF9PRl9ET01BSU5fUVVF", @@ -283,127 +362,143 @@ static SearchServiceReflection() { "GQoVTExNX0FERE9OX05PVF9FTkFCTEVEEAUSFwoTTk9fUkVMRVZBTlRfQ09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yY2hMaXRl", + "OgEqWmgiYy92MWJldGEve3NlcnZpbmdfY29uZmlnPXByb2plY3RzLyovbG9j", + "YXRpb25zLyovY29sbGVjdGlvbnMvKi9lbmdpbmVzLyovc2VydmluZ0NvbmZp", + "Z3MvKn06c2VhcmNoTGl0ZToBKhqQAspBHmRpc2NvdmVyeWVuZ2luZS5nb29n", + "bGVhcGlzLmNvbdJB6wFodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRo", + "L2Nsb3VkLXBsYXRmb3JtLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1", + "dGgvZGlzY292ZXJ5ZW5naW5lLmFzc2lzdC5yZWFkd3JpdGUsaHR0cHM6Ly93", + "d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUucmVhZHdy", + "aXRlLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5", + "ZW5naW5lLnNlcnZpbmcucmVhZHdyaXRlQpkCCidjb20uZ29vZ2xlLmNsb3Vk", + "LmRpc2NvdmVyeWVuZ2luZS52MWJldGFCElNlYXJjaFNlcnZpY2VQcm90b1AB", + "WlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJl", + "dGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVND", + "T1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYx", + "QmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gIm", + "R29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3Rv", + "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ChunkReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Parser, new[]{ "ServingConfig", "Branch", "Query", "ImageQuery", "PageSize", "PageToken", "Offset", "OneBoxPageSize", "DataStoreSpecs", "Filter", "CanonicalFilter", "OrderBy", "UserInfo", "LanguageCode", "RegionCode", "FacetSpecs", "BoostSpec", "Params", "QueryExpansionSpec", "SpellCorrectionSpec", "UserPseudoId", "ContentSearchSpec", "EmbeddingSpec", "RankingExpression", "RankingExpressionBackend", "SafeSearch", "UserLabels", "NaturalLanguageQueryUnderstandingSpec", "SearchAsYouTypeSpec", "Session", "SessionSpec", "RelevanceThreshold", "PersonalizationSpec" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ImageQuery), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ImageQuery.Parser, new[]{ "ImageBytes" }, new[]{ "Image" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec.Parser, new[]{ "DataStore", "Filter", "BoostSpec" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Parser, new[]{ "ServingConfig", "Branch", "Query", "PageCategories", "ImageQuery", "PageSize", "PageToken", "Offset", "OneBoxPageSize", "DataStoreSpecs", "NumResultsPerDataStore", "Filter", "CanonicalFilter", "OrderBy", "UserInfo", "LanguageCode", "RegionCode", "FacetSpecs", "BoostSpec", "Params", "QueryExpansionSpec", "SpellCorrectionSpec", "UserPseudoId", "ContentSearchSpec", "EmbeddingSpec", "RankingExpression", "RankingExpressionBackend", "SafeSearch", "UserLabels", "NaturalLanguageQueryUnderstandingSpec", "SearchAsYouTypeSpec", "DisplaySpec", "CrowdingSpecs", "Session", "SessionSpec", "RelevanceThreshold", "RelevanceFilterSpec", "PersonalizationSpec", "RelevanceScoreSpec", "SearchAddonSpec", "CustomRankingParams", "Entity" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ImageQuery), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ImageQuery.Parser, new[]{ "ImageBytes" }, new[]{ "Image" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec.Parser, new[]{ "DataStore", "Filter", "BoostSpec", "CustomSearchOperators", "NumResults" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.FacetSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.FacetSpec.Parser, new[]{ "FacetKey", "Limit", "ExcludedFilterKeys", "EnableDynamicPosition" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.FacetSpec.Types.FacetKey), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.FacetSpec.Types.FacetKey.Parser, new[]{ "Key", "Intervals", "RestrictedValues", "Prefixes", "Contains", "CaseInsensitive", "OrderBy" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Parser, new[]{ "ConditionBoostSpecs" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Parser, new[]{ "Condition", "Boost", "BoostControlSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Parser, new[]{ "FieldName", "AttributeType", "InterpolationType", "ControlPoints" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.AttributeType), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.InterpolationType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.ControlPoint), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.BoostSpec.Types.ConditionBoostSpec.Types.BoostControlSpec.Types.ControlPoint.Parser, new[]{ "AttributeValue", "BoostAmount" }, null, null, null, null)})})}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.QueryExpansionSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.QueryExpansionSpec.Parser, new[]{ "Condition", "PinUnexpandedResults" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.QueryExpansionSpec.Types.Condition) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SpellCorrectionSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SpellCorrectionSpec.Parser, new[]{ "Mode" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SpellCorrectionSpec.Types.Mode) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Parser, new[]{ "SnippetSpec", "SummarySpec", "ExtractiveContentSpec", "SearchResultMode", "ChunkSpec" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SearchResultMode) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SnippetSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SnippetSpec.Parser, new[]{ "MaxSnippetCount", "ReferenceOnly", "ReturnSnippet" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Parser, new[]{ "SummaryResultCount", "IncludeCitations", "IgnoreAdversarialQuery", "IgnoreNonSummarySeekingQuery", "IgnoreLowRelevantContent", "IgnoreJailBreakingQuery", "ModelPromptSpec", "LanguageCode", "ModelSpec", "UseSemanticChunks" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec.Parser, new[]{ "Preamble" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Parser, new[]{ "SummaryResultCount", "IncludeCitations", "IgnoreAdversarialQuery", "IgnoreNonSummarySeekingQuery", "IgnoreLowRelevantContent", "IgnoreJailBreakingQuery", "MultimodalSpec", "ModelPromptSpec", "LanguageCode", "ModelSpec", "UseSemanticChunks" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Parser, new[]{ "ImageSource" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec.Parser, new[]{ "Preamble" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelSpec.Parser, new[]{ "Version" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.ExtractiveContentSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.ExtractiveContentSpec.Parser, new[]{ "MaxExtractiveAnswerCount", "MaxExtractiveSegmentCount", "ReturnExtractiveSegmentScore", "NumPreviousSegments", "NumNextSegments" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.ChunkSpec.Parser, new[]{ "NumPreviousChunks", "NumNextChunks" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.EmbeddingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.EmbeddingSpec.Parser, new[]{ "EmbeddingVectors" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.EmbeddingSpec.Types.EmbeddingVector), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.EmbeddingSpec.Types.EmbeddingVector.Parser, new[]{ "FieldPath", "Vector" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Parser, new[]{ "FilterExtractionCondition", "GeoSearchQueryDetectionFieldNames" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.FilterExtractionCondition) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Parser, new[]{ "FilterExtractionCondition", "GeoSearchQueryDetectionFieldNames", "ExtractedFilterBehavior", "AllowedFieldNames" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.FilterExtractionCondition), typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAsYouTypeSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAsYouTypeSpec.Parser, new[]{ "Condition" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAsYouTypeSpec.Types.Condition) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Parser, new[]{ "MatchHighlightingCondition" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Parser, new[]{ "Field", "MaxCount", "Mode" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SessionSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SessionSpec.Parser, new[]{ "QueryId", "SearchResultPersistenceCount" }, new[]{ "SearchResultPersistenceCount" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Parser, new[]{ "KeywordSearchThreshold", "SemanticSearchThreshold" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec.Parser, new[]{ "RelevanceThreshold", "SemanticRelevanceThreshold" }, new[]{ "RelevanceThresholdSpec" }, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Parser, new[]{ "Mode" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec.Parser, new[]{ "ReturnRelevanceScore" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec.Parser, new[]{ "DisableSemanticAddOn", "DisableKpiPersonalizationAddOn", "DisableGenerativeAnswerAddOn" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams.Parser, new[]{ "ExpressionsToPrecompute" }, null, null, null, null), null, null, }), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Parser, new[]{ "Results", "Facets", "GuidedSearchResult", "TotalSize", "AttributionToken", "RedirectUri", "NextPageToken", "CorrectedQuery", "Summary", "AppliedControls", "GeoSearchDebugInfo", "QueryExpansionInfo", "NaturalLanguageQueryUnderstandingInfo", "SessionInfo", "OneBoxResults" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Parser, new[]{ "Id", "Document", "Chunk", "ModelScores", "RankSignals" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Parser, new[]{ "KeywordSimilarityScore", "RelevanceScore", "SemanticSimilarityScore", "PctrRank", "TopicalityRank", "DocumentAge", "BoostingFactor", "DefaultRank", "CustomSignals" }, new[]{ "KeywordSimilarityScore", "RelevanceScore", "SemanticSimilarityScore", "PctrRank", "TopicalityRank", "DocumentAge", "BoostingFactor" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal.Parser, new[]{ "Name", "Value" }, null, null, null, null)})}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Parser, new[]{ "Results", "Facets", "GuidedSearchResult", "TotalSize", "AttributionToken", "RedirectUri", "NextPageToken", "CorrectedQuery", "SuggestedQuery", "Summary", "AppliedControls", "GeoSearchDebugInfo", "QueryExpansionInfo", "NaturalLanguageQueryUnderstandingInfo", "SessionInfo", "OneBoxResults", "SearchLinkPromotions", "SemanticState" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Parser, new[]{ "Id", "Document", "Chunk", "ModelScores", "RankSignals" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Parser, new[]{ "KeywordSimilarityScore", "RelevanceScore", "SemanticSimilarityScore", "PctrRank", "TopicalityRank", "DocumentAge", "BoostingFactor", "DefaultRank", "CustomSignals", "PrecomputedExpressionValues" }, new[]{ "KeywordSimilarityScore", "RelevanceScore", "SemanticSimilarityScore", "PctrRank", "TopicalityRank", "DocumentAge", "BoostingFactor" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal.Parser, new[]{ "Name", "Value" }, null, null, null, null)}), + null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Parser, new[]{ "Key", "Values", "DynamicFacet" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Types.FacetValue), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Types.FacetValue.Parser, new[]{ "Value", "Interval", "Count" }, new[]{ "FacetValue" }, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Parser, new[]{ "RefinementAttributes", "FollowUpQuestions" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Types.RefinementAttribute), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Types.RefinementAttribute.Parser, new[]{ "AttributeKey", "AttributeValue" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Parser, new[]{ "SummaryText", "SummarySkippedReasons", "SafetyAttributes", "SummaryWithMetadata" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummarySkippedReason) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes.Parser, new[]{ "Categories", "Scores" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.CitationMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.CitationMetadata.Parser, new[]{ "Citations" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Citation), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Citation.Parser, new[]{ "StartIndex", "EndIndex", "Sources" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.CitationSource), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.CitationSource.Parser, new[]{ "ReferenceIndex" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Parser, new[]{ "Title", "Document", "Uri", "ChunkContents" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Types.ChunkContent), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Types.ChunkContent.Parser, new[]{ "Content", "PageIdentifier" }, null, null, null, null)}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata.Parser, new[]{ "Summary", "CitationMetadata", "References" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Parser, new[]{ "Title", "Document", "Uri", "ChunkContents" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Types.ChunkContent), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Types.ChunkContent.Parser, new[]{ "Content", "PageIdentifier", "BlobAttachmentIndexes" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Parser, new[]{ "Data", "AttributionType" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob.Parser, new[]{ "MimeType", "Data" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata.Parser, new[]{ "Summary", "CitationMetadata", "References", "BlobAttachments" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GeoSearchDebugInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GeoSearchDebugInfo.Parser, new[]{ "OriginalAddressQuery", "ErrorMessage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo.Parser, new[]{ "ExpandedQuery", "PinnedResultCount" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Parser, new[]{ "ExtractedFilters", "RewrittenQuery", "StructuredExtractedFilter" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Parser, new[]{ "Expression" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.StringConstraint), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.StringConstraint.Parser, new[]{ "FieldName", "Values", "QuerySegment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Parser, new[]{ "ExtractedFilters", "RewrittenQuery", "ClassifiedIntents", "StructuredExtractedFilter" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Parser, new[]{ "Expression" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.StringConstraint), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.StringConstraint.Parser, new[]{ "FieldName", "Values", "QuerySegment" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint.Parser, new[]{ "FieldName", "Comparison", "Value", "QuerySegment" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.NumberConstraint.Types.Comparison) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.GeolocationConstraint.Parser, new[]{ "FieldName", "Address", "Latitude", "Longitude", "RadiusInMeters" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.AndExpression), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter.Types.AndExpression.Parser, new[]{ "Expressions" }, null, null, null, null), @@ -460,12 +555,14 @@ public SearchRequest(SearchRequest other) : this() { servingConfig_ = other.servingConfig_; branch_ = other.branch_; query_ = other.query_; + pageCategories_ = other.pageCategories_.Clone(); imageQuery_ = other.imageQuery_ != null ? other.imageQuery_.Clone() : null; pageSize_ = other.pageSize_; pageToken_ = other.pageToken_; offset_ = other.offset_; oneBoxPageSize_ = other.oneBoxPageSize_; dataStoreSpecs_ = other.dataStoreSpecs_.Clone(); + numResultsPerDataStore_ = other.numResultsPerDataStore_; filter_ = other.filter_; canonicalFilter_ = other.canonicalFilter_; orderBy_ = other.orderBy_; @@ -486,10 +583,17 @@ public SearchRequest(SearchRequest other) : this() { userLabels_ = other.userLabels_.Clone(); naturalLanguageQueryUnderstandingSpec_ = other.naturalLanguageQueryUnderstandingSpec_ != null ? other.naturalLanguageQueryUnderstandingSpec_.Clone() : null; searchAsYouTypeSpec_ = other.searchAsYouTypeSpec_ != null ? other.searchAsYouTypeSpec_.Clone() : null; + displaySpec_ = other.displaySpec_ != null ? other.displaySpec_.Clone() : null; + crowdingSpecs_ = other.crowdingSpecs_.Clone(); session_ = other.session_; sessionSpec_ = other.sessionSpec_ != null ? other.sessionSpec_.Clone() : null; relevanceThreshold_ = other.relevanceThreshold_; + relevanceFilterSpec_ = other.relevanceFilterSpec_ != null ? other.relevanceFilterSpec_.Clone() : null; personalizationSpec_ = other.personalizationSpec_ != null ? other.personalizationSpec_.Clone() : null; + relevanceScoreSpec_ = other.relevanceScoreSpec_ != null ? other.relevanceScoreSpec_.Clone() : null; + searchAddonSpec_ = other.searchAddonSpec_ != null ? other.searchAddonSpec_.Clone() : null; + customRankingParams_ = other.customRankingParams_ != null ? other.customRankingParams_.Clone() : null; + entity_ = other.entity_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -553,6 +657,36 @@ public string Query { } } + /// Field number for the "page_categories" field. + public const int PageCategoriesFieldNumber = 63; + private static readonly pb::FieldCodec _repeated_pageCategories_codec + = pb::FieldCodec.ForString(506); + private readonly pbc::RepeatedField pageCategories_ = new pbc::RepeatedField(); + /// + /// Optional. The categories associated with a category page. Must be set for + /// category navigation queries to achieve good search quality. The format + /// should be the same as + /// [PageInfo.page_category][google.cloud.discoveryengine.v1beta.PageInfo.page_category]. + /// This field is the equivalent of the query for browse (navigation) queries. + /// It's used by the browse model when the query is empty. + /// + /// If the field is empty, it will not be used by the browse model. + /// If the field contains more than one element, only the first element will + /// be used. + /// + /// To represent full path of a category, use '>' character to separate + /// different hierarchies. If '>' is part of the category name, replace it with + /// other character(s). + /// For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX > + /// 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090 + /// > Founders Edition` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PageCategories { + get { return pageCategories_; } + } + /// Field number for the "image_query" field. public const int ImageQueryFieldNumber = 19; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ImageQuery imageQuery_; @@ -625,6 +759,8 @@ public string PageToken { /// is unset. /// /// If this field is negative, an `INVALID_ARGUMENT` is returned. + /// + /// A large offset may be capped to a reasonable threshold. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -658,10 +794,13 @@ public int OneBoxPageSize { = pb::FieldCodec.ForMessage(258, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec.Parser); private readonly pbc::RepeatedField dataStoreSpecs_ = new pbc::RepeatedField(); /// - /// Specs defining dataStores to filter on in a search call and configurations - /// for those dataStores. This is only considered for engines with multiple - /// dataStores use case. For single dataStore within an engine, they should - /// use the specs at the top level. + /// Specifications that define the specific + /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s to be searched, + /// along with configurations for those data stores. This is only considered + /// for [Engine][google.cloud.discoveryengine.v1beta.Engine]s with multiple + /// data stores. For engines with a single data store, the specs directly under + /// [SearchRequest][google.cloud.discoveryengine.v1beta.SearchRequest] should + /// be used. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -669,6 +808,24 @@ public int OneBoxPageSize { get { return dataStoreSpecs_; } } + /// Field number for the "num_results_per_data_store" field. + public const int NumResultsPerDataStoreFieldNumber = 65; + private int numResultsPerDataStore_; + /// + /// Optional. The maximum number of results to retrieve from each data store. + /// If not specified, it will use the + /// [SearchRequest.DataStoreSpec.num_results][google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec.num_results] + /// if provided, otherwise there is no limit. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NumResultsPerDataStore { + get { return numResultsPerDataStore_; } + set { + numResultsPerDataStore_ = value; + } + } + /// Field number for the "filter" field. public const int FilterFieldNumber = 7; private string filter_ = ""; @@ -755,7 +912,7 @@ public string OrderBy { private global::Google.Cloud.DiscoveryEngine.V1Beta.UserInfo userInfo_; /// /// Information about the end user. - /// Highly recommended for analytics. + /// Highly recommended for analytics and personalization. /// [UserInfo.user_agent][google.cloud.discoveryengine.v1beta.UserInfo.user_agent] /// is used to deduce `device_type` for analytics. /// @@ -903,10 +1060,10 @@ public string RegionCode { public const int UserPseudoIdFieldNumber = 15; private string userPseudoId_ = ""; /// - /// A unique identifier for tracking visitors. For example, this could be - /// implemented with an HTTP cookie, which should be able to uniquely identify - /// a visitor on a single device. This unique identifier should not change if - /// the visitor logs in or out of the website. + /// Optional. A unique identifier for tracking visitors. For example, this + /// could be implemented with an HTTP cookie, which should be able to uniquely + /// identify a visitor on a single device. This unique identifier should not + /// change if the visitor logs in or out of the website. /// /// This field should NOT have a fixed value such as `unknown_visitor`. /// @@ -970,8 +1127,8 @@ public string UserPseudoId { public const int RankingExpressionFieldNumber = 26; private string rankingExpression_ = ""; /// - /// The ranking expression controls the customized ranking on retrieval - /// documents. This overrides + /// Optional. The ranking expression controls the customized ranking on + /// retrieval documents. This overrides /// [ServingConfig.ranking_expression][google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression]. /// The syntax and supported features depend on the /// `ranking_expression_backend` value. If `ranking_expression_backend` is not @@ -1060,6 +1217,15 @@ public string UserPseudoId { /// Google model to determine the keyword-based overlap between the query and /// the document. /// * `base_rank`: the default rank of the result + /// * `media_actor_match`: whether the media actor matches the query + /// * `media_director_match`: whether the media director matches the query + /// * `media_genre_match`: whether the media genre matches the query + /// * `media_language_match`: whether the media language matches the query + /// * `media_title_match`: whether the media title matches the query + /// * `media_prefix_similarity_rank`: prefix similarity rank for media + /// results + /// * `media_semantic_similarity_rank`: semantic similarity rank for media + /// results /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1074,7 +1240,7 @@ public string RankingExpression { public const int RankingExpressionBackendFieldNumber = 53; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend rankingExpressionBackend_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend.Unspecified; /// - /// The backend to use for the ranking expression evaluation. + /// Optional. The backend to use for the ranking expression evaluation. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1135,6 +1301,10 @@ public bool SafeSearch { public const int NaturalLanguageQueryUnderstandingSpecFieldNumber = 28; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec naturalLanguageQueryUnderstandingSpec_; /// + /// Optional. Config for natural language query understanding capabilities, + /// such as extracting structured field filters from the query. Refer to [this + /// documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) + /// for more information. /// If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional /// natural language query understanding will be done. /// @@ -1164,6 +1334,44 @@ public bool SafeSearch { } } + /// Field number for the "display_spec" field. + public const int DisplaySpecFieldNumber = 38; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec displaySpec_; + /// + /// Optional. Config for display feature, like match highlighting on search + /// results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec DisplaySpec { + get { return displaySpec_; } + set { + displaySpec_ = value; + } + } + + /// Field number for the "crowding_specs" field. + public const int CrowdingSpecsFieldNumber = 40; + private static readonly pb::FieldCodec _repeated_crowdingSpecs_codec + = pb::FieldCodec.ForMessage(322, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Parser); + private readonly pbc::RepeatedField crowdingSpecs_ = new pbc::RepeatedField(); + /// + /// Optional. Crowding specifications for improving result diversity. + /// If multiple CrowdingSpecs are specified, crowding will be evaluated on + /// each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. + /// For example, if the first CrowdingSpec has `field` = "color" and + /// `max_count` = 3, and the second CrowdingSpec has `field` = "size" and + /// `max_count` = 2, then after 3 documents that share the same color AND size + /// have been returned, subsequent ones should be + /// removed or demoted. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CrowdingSpecs { + get { return crowdingSpecs_; } + } + /// Field number for the "session" field. public const int SessionFieldNumber = 41; private string session_ = ""; @@ -1184,10 +1392,6 @@ public bool SafeSearch { /// Call /answer API with the session ID generated in the first call. /// Here, the answer generation happens in the context of the search /// results from the first search call. - /// - /// Multi-turn Search feature is currently at private GA stage. Please use - /// v1alpha or v1beta version instead before we launch this feature to public - /// GA. Or ask for allowlisting through Google Support team. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1219,11 +1423,16 @@ public string Session { public const int RelevanceThresholdFieldNumber = 44; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold relevanceThreshold_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold.Unspecified; /// - /// The relevance threshold of the search results. + /// The global relevance threshold of the search results. /// - /// Default to Google defined threshold, leveraging a balance of + /// Defaults to Google defined threshold, leveraging a balance of /// precision and recall to deliver both highly accurate results and /// comprehensive coverage of relevant information. + /// + /// If more granular relevance filtering is required, use the + /// `relevance_filter_spec` instead. + /// + /// This feature is not supported for healthcare search. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1234,6 +1443,27 @@ public string Session { } } + /// Field number for the "relevance_filter_spec" field. + public const int RelevanceFilterSpecFieldNumber = 86; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec relevanceFilterSpec_; + /// + /// Optional. The granular relevance filtering specification. + /// + /// If not specified, the global `relevance_threshold` will be used for all + /// sub-searches. If specified, this overrides the global + /// `relevance_threshold` to use thresholds on a per sub-search basis. + /// + /// This feature is currently supported only for custom and site search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec RelevanceFilterSpec { + get { return relevanceFilterSpec_; } + set { + relevanceFilterSpec_ = value; + } + } + /// Field number for the "personalization_spec" field. public const int PersonalizationSpecFieldNumber = 46; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec personalizationSpec_; @@ -1258,6 +1488,73 @@ public string Session { } } + /// Field number for the "relevance_score_spec" field. + public const int RelevanceScoreSpecFieldNumber = 52; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec relevanceScoreSpec_; + /// + /// Optional. The specification for returning the relevance score. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec RelevanceScoreSpec { + get { return relevanceScoreSpec_; } + set { + relevanceScoreSpec_ = value; + } + } + + /// Field number for the "search_addon_spec" field. + public const int SearchAddonSpecFieldNumber = 62; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec searchAddonSpec_; + /// + /// Optional. SearchAddonSpec is used to disable add-ons for search as per new + /// repricing model. + /// This field is only supported for search requests. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec SearchAddonSpec { + get { return searchAddonSpec_; } + set { + searchAddonSpec_ = value; + } + } + + /// Field number for the "custom_ranking_params" field. + public const int CustomRankingParamsFieldNumber = 64; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams customRankingParams_; + /// + /// Optional. Optional configuration for the Custom Ranking feature. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams CustomRankingParams { + get { return customRankingParams_; } + set { + customRankingParams_ = value; + } + } + + /// Field number for the "entity" field. + public const int EntityFieldNumber = 66; + private string entity_ = ""; + /// + /// Optional. The entity for customers that may run multiple different + /// entities, domains, sites or regions, for example, "Google US", "Google + /// Ads", "Waymo", "google.com", "youtube.com", etc. If this is set, it should + /// be exactly matched with + /// [UserEvent.entity][google.cloud.discoveryengine.v1beta.UserEvent.entity] to + /// get search results boosted by entity. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Entity { + get { return entity_; } + set { + entity_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1276,12 +1573,14 @@ public bool Equals(SearchRequest other) { if (ServingConfig != other.ServingConfig) return false; if (Branch != other.Branch) return false; if (Query != other.Query) return false; + if(!pageCategories_.Equals(other.pageCategories_)) return false; if (!object.Equals(ImageQuery, other.ImageQuery)) return false; if (PageSize != other.PageSize) return false; if (PageToken != other.PageToken) return false; if (Offset != other.Offset) return false; if (OneBoxPageSize != other.OneBoxPageSize) return false; if(!dataStoreSpecs_.Equals(other.dataStoreSpecs_)) return false; + if (NumResultsPerDataStore != other.NumResultsPerDataStore) return false; if (Filter != other.Filter) return false; if (CanonicalFilter != other.CanonicalFilter) return false; if (OrderBy != other.OrderBy) return false; @@ -1302,10 +1601,17 @@ public bool Equals(SearchRequest other) { if (!UserLabels.Equals(other.UserLabels)) return false; if (!object.Equals(NaturalLanguageQueryUnderstandingSpec, other.NaturalLanguageQueryUnderstandingSpec)) return false; if (!object.Equals(SearchAsYouTypeSpec, other.SearchAsYouTypeSpec)) return false; + if (!object.Equals(DisplaySpec, other.DisplaySpec)) return false; + if(!crowdingSpecs_.Equals(other.crowdingSpecs_)) return false; if (Session != other.Session) return false; if (!object.Equals(SessionSpec, other.SessionSpec)) return false; if (RelevanceThreshold != other.RelevanceThreshold) return false; + if (!object.Equals(RelevanceFilterSpec, other.RelevanceFilterSpec)) return false; if (!object.Equals(PersonalizationSpec, other.PersonalizationSpec)) return false; + if (!object.Equals(RelevanceScoreSpec, other.RelevanceScoreSpec)) return false; + if (!object.Equals(SearchAddonSpec, other.SearchAddonSpec)) return false; + if (!object.Equals(CustomRankingParams, other.CustomRankingParams)) return false; + if (Entity != other.Entity) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1316,12 +1622,14 @@ public override int GetHashCode() { if (ServingConfig.Length != 0) hash ^= ServingConfig.GetHashCode(); if (Branch.Length != 0) hash ^= Branch.GetHashCode(); if (Query.Length != 0) hash ^= Query.GetHashCode(); + hash ^= pageCategories_.GetHashCode(); if (imageQuery_ != null) hash ^= ImageQuery.GetHashCode(); if (PageSize != 0) hash ^= PageSize.GetHashCode(); if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); if (Offset != 0) hash ^= Offset.GetHashCode(); if (OneBoxPageSize != 0) hash ^= OneBoxPageSize.GetHashCode(); hash ^= dataStoreSpecs_.GetHashCode(); + if (NumResultsPerDataStore != 0) hash ^= NumResultsPerDataStore.GetHashCode(); if (Filter.Length != 0) hash ^= Filter.GetHashCode(); if (CanonicalFilter.Length != 0) hash ^= CanonicalFilter.GetHashCode(); if (OrderBy.Length != 0) hash ^= OrderBy.GetHashCode(); @@ -1342,10 +1650,17 @@ public override int GetHashCode() { hash ^= UserLabels.GetHashCode(); if (naturalLanguageQueryUnderstandingSpec_ != null) hash ^= NaturalLanguageQueryUnderstandingSpec.GetHashCode(); if (searchAsYouTypeSpec_ != null) hash ^= SearchAsYouTypeSpec.GetHashCode(); + if (displaySpec_ != null) hash ^= DisplaySpec.GetHashCode(); + hash ^= crowdingSpecs_.GetHashCode(); if (Session.Length != 0) hash ^= Session.GetHashCode(); if (sessionSpec_ != null) hash ^= SessionSpec.GetHashCode(); if (RelevanceThreshold != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold.Unspecified) hash ^= RelevanceThreshold.GetHashCode(); + if (relevanceFilterSpec_ != null) hash ^= RelevanceFilterSpec.GetHashCode(); if (personalizationSpec_ != null) hash ^= PersonalizationSpec.GetHashCode(); + if (relevanceScoreSpec_ != null) hash ^= RelevanceScoreSpec.GetHashCode(); + if (searchAddonSpec_ != null) hash ^= SearchAddonSpec.GetHashCode(); + if (customRankingParams_ != null) hash ^= CustomRankingParams.GetHashCode(); + if (Entity.Length != 0) hash ^= Entity.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1460,6 +1775,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 2); output.WriteString(RegionCode); } + if (displaySpec_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(DisplaySpec); + } + crowdingSpecs_.WriteTo(output, _repeated_crowdingSpecs_codec); if (Session.Length != 0) { output.WriteRawTag(202, 2); output.WriteString(Session); @@ -1480,10 +1800,35 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(248, 2); output.WriteInt32(OneBoxPageSize); } + if (relevanceScoreSpec_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(RelevanceScoreSpec); + } if (RankingExpressionBackend != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend.Unspecified) { output.WriteRawTag(168, 3); output.WriteEnum((int) RankingExpressionBackend); } + if (searchAddonSpec_ != null) { + output.WriteRawTag(242, 3); + output.WriteMessage(SearchAddonSpec); + } + pageCategories_.WriteTo(output, _repeated_pageCategories_codec); + if (customRankingParams_ != null) { + output.WriteRawTag(130, 4); + output.WriteMessage(CustomRankingParams); + } + if (NumResultsPerDataStore != 0) { + output.WriteRawTag(136, 4); + output.WriteInt32(NumResultsPerDataStore); + } + if (Entity.Length != 0) { + output.WriteRawTag(146, 4); + output.WriteString(Entity); + } + if (relevanceFilterSpec_ != null) { + output.WriteRawTag(178, 5); + output.WriteMessage(RelevanceFilterSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1590,6 +1935,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 2); output.WriteString(RegionCode); } + if (displaySpec_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(DisplaySpec); + } + crowdingSpecs_.WriteTo(ref output, _repeated_crowdingSpecs_codec); if (Session.Length != 0) { output.WriteRawTag(202, 2); output.WriteString(Session); @@ -1610,10 +1960,35 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(248, 2); output.WriteInt32(OneBoxPageSize); } + if (relevanceScoreSpec_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(RelevanceScoreSpec); + } if (RankingExpressionBackend != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend.Unspecified) { output.WriteRawTag(168, 3); output.WriteEnum((int) RankingExpressionBackend); } + if (searchAddonSpec_ != null) { + output.WriteRawTag(242, 3); + output.WriteMessage(SearchAddonSpec); + } + pageCategories_.WriteTo(ref output, _repeated_pageCategories_codec); + if (customRankingParams_ != null) { + output.WriteRawTag(130, 4); + output.WriteMessage(CustomRankingParams); + } + if (NumResultsPerDataStore != 0) { + output.WriteRawTag(136, 4); + output.WriteInt32(NumResultsPerDataStore); + } + if (Entity.Length != 0) { + output.WriteRawTag(146, 4); + output.WriteString(Entity); + } + if (relevanceFilterSpec_ != null) { + output.WriteRawTag(178, 5); + output.WriteMessage(RelevanceFilterSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1633,6 +2008,7 @@ public int CalculateSize() { if (Query.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Query); } + size += pageCategories_.CalculateSize(_repeated_pageCategories_codec); if (imageQuery_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImageQuery); } @@ -1649,6 +2025,9 @@ public int CalculateSize() { size += 2 + pb::CodedOutputStream.ComputeInt32Size(OneBoxPageSize); } size += dataStoreSpecs_.CalculateSize(_repeated_dataStoreSpecs_codec); + if (NumResultsPerDataStore != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumResultsPerDataStore); + } if (Filter.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); } @@ -1703,6 +2082,10 @@ public int CalculateSize() { if (searchAsYouTypeSpec_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(SearchAsYouTypeSpec); } + if (displaySpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(DisplaySpec); + } + size += crowdingSpecs_.CalculateSize(_repeated_crowdingSpecs_codec); if (Session.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Session); } @@ -1712,9 +2095,24 @@ public int CalculateSize() { if (RelevanceThreshold != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold.Unspecified) { size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) RelevanceThreshold); } + if (relevanceFilterSpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(RelevanceFilterSpec); + } if (personalizationSpec_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(PersonalizationSpec); } + if (relevanceScoreSpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(RelevanceScoreSpec); + } + if (searchAddonSpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SearchAddonSpec); + } + if (customRankingParams_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CustomRankingParams); + } + if (Entity.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Entity); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1736,6 +2134,7 @@ public void MergeFrom(SearchRequest other) { if (other.Query.Length != 0) { Query = other.Query; } + pageCategories_.Add(other.pageCategories_); if (other.imageQuery_ != null) { if (imageQuery_ == null) { ImageQuery = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ImageQuery(); @@ -1755,6 +2154,9 @@ public void MergeFrom(SearchRequest other) { OneBoxPageSize = other.OneBoxPageSize; } dataStoreSpecs_.Add(other.dataStoreSpecs_); + if (other.NumResultsPerDataStore != 0) { + NumResultsPerDataStore = other.NumResultsPerDataStore; + } if (other.Filter.Length != 0) { Filter = other.Filter; } @@ -1833,6 +2235,13 @@ public void MergeFrom(SearchRequest other) { } SearchAsYouTypeSpec.MergeFrom(other.SearchAsYouTypeSpec); } + if (other.displaySpec_ != null) { + if (displaySpec_ == null) { + DisplaySpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec(); + } + DisplaySpec.MergeFrom(other.DisplaySpec); + } + crowdingSpecs_.Add(other.crowdingSpecs_); if (other.Session.Length != 0) { Session = other.Session; } @@ -1845,12 +2254,39 @@ public void MergeFrom(SearchRequest other) { if (other.RelevanceThreshold != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold.Unspecified) { RelevanceThreshold = other.RelevanceThreshold; } + if (other.relevanceFilterSpec_ != null) { + if (relevanceFilterSpec_ == null) { + RelevanceFilterSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec(); + } + RelevanceFilterSpec.MergeFrom(other.RelevanceFilterSpec); + } if (other.personalizationSpec_ != null) { if (personalizationSpec_ == null) { PersonalizationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec(); } PersonalizationSpec.MergeFrom(other.PersonalizationSpec); } + if (other.relevanceScoreSpec_ != null) { + if (relevanceScoreSpec_ == null) { + RelevanceScoreSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec(); + } + RelevanceScoreSpec.MergeFrom(other.RelevanceScoreSpec); + } + if (other.searchAddonSpec_ != null) { + if (searchAddonSpec_ == null) { + SearchAddonSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec(); + } + SearchAddonSpec.MergeFrom(other.SearchAddonSpec); + } + if (other.customRankingParams_ != null) { + if (customRankingParams_ == null) { + CustomRankingParams = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams(); + } + CustomRankingParams.MergeFrom(other.CustomRankingParams); + } + if (other.Entity.Length != 0) { + Entity = other.Entity; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -2005,6 +2441,17 @@ public void MergeFrom(pb::CodedInputStream input) { RegionCode = input.ReadString(); break; } + case 306: { + if (displaySpec_ == null) { + DisplaySpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec(); + } + input.ReadMessage(DisplaySpec); + break; + } + case 322: { + crowdingSpecs_.AddEntriesFrom(input, _repeated_crowdingSpecs_codec); + break; + } case 330: { Session = input.ReadString(); break; @@ -2031,10 +2478,50 @@ public void MergeFrom(pb::CodedInputStream input) { OneBoxPageSize = input.ReadInt32(); break; } + case 418: { + if (relevanceScoreSpec_ == null) { + RelevanceScoreSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec(); + } + input.ReadMessage(RelevanceScoreSpec); + break; + } case 424: { RankingExpressionBackend = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend) input.ReadEnum(); break; } + case 498: { + if (searchAddonSpec_ == null) { + SearchAddonSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec(); + } + input.ReadMessage(SearchAddonSpec); + break; + } + case 506: { + pageCategories_.AddEntriesFrom(input, _repeated_pageCategories_codec); + break; + } + case 514: { + if (customRankingParams_ == null) { + CustomRankingParams = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams(); + } + input.ReadMessage(CustomRankingParams); + break; + } + case 520: { + NumResultsPerDataStore = input.ReadInt32(); + break; + } + case 530: { + Entity = input.ReadString(); + break; + } + case 690: { + if (relevanceFilterSpec_ == null) { + RelevanceFilterSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec(); + } + input.ReadMessage(RelevanceFilterSpec); + break; + } } } #endif @@ -2189,6 +2676,17 @@ public void MergeFrom(pb::CodedInputStream input) { RegionCode = input.ReadString(); break; } + case 306: { + if (displaySpec_ == null) { + DisplaySpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec(); + } + input.ReadMessage(DisplaySpec); + break; + } + case 322: { + crowdingSpecs_.AddEntriesFrom(ref input, _repeated_crowdingSpecs_codec); + break; + } case 330: { Session = input.ReadString(); break; @@ -2215,10 +2713,50 @@ public void MergeFrom(pb::CodedInputStream input) { OneBoxPageSize = input.ReadInt32(); break; } + case 418: { + if (relevanceScoreSpec_ == null) { + RelevanceScoreSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceScoreSpec(); + } + input.ReadMessage(RelevanceScoreSpec); + break; + } case 424: { RankingExpressionBackend = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RankingExpressionBackend) input.ReadEnum(); break; } + case 498: { + if (searchAddonSpec_ == null) { + SearchAddonSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.SearchAddonSpec(); + } + input.ReadMessage(SearchAddonSpec); + break; + } + case 506: { + pageCategories_.AddEntriesFrom(ref input, _repeated_pageCategories_codec); + break; + } + case 514: { + if (customRankingParams_ == null) { + CustomRankingParams = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CustomRankingParams(); + } + input.ReadMessage(CustomRankingParams); + break; + } + case 520: { + NumResultsPerDataStore = input.ReadInt32(); + break; + } + case 530: { + Entity = input.ReadString(); + break; + } + case 690: { + if (relevanceFilterSpec_ == null) { + RelevanceFilterSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec(); + } + input.ReadMessage(RelevanceFilterSpec); + break; + } } } } @@ -2229,6 +2767,40 @@ public void MergeFrom(pb::CodedInputStream input) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { + /// + /// The backend to use for the ranking expression evaluation. + /// + public enum RankingExpressionBackend { + /// + /// Default option for unspecified/unknown values. + /// + [pbr::OriginalName("RANKING_EXPRESSION_BACKEND_UNSPECIFIED")] Unspecified = 0, + /// + /// Deprecated: Use `RANK_BY_EMBEDDING` instead. + /// Ranking by custom embedding model, the default way to evaluate the + /// ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be + /// used instead. + /// + [global::System.ObsoleteAttribute] + [pbr::OriginalName("BYOE")] Byoe = 1, + /// + /// Deprecated: Use `RANK_BY_FORMULA` instead. + /// Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should + /// be used instead. + /// + [global::System.ObsoleteAttribute] + [pbr::OriginalName("CLEARBOX")] Clearbox = 2, + /// + /// Ranking by custom embedding model, the default way to evaluate the + /// ranking expression. + /// + [pbr::OriginalName("RANK_BY_EMBEDDING")] RankByEmbedding = 3, + /// + /// Ranking by custom formula. + /// + [pbr::OriginalName("RANK_BY_FORMULA")] RankByFormula = 4, + } + /// /// The relevance threshold of the search results. The higher relevance /// threshold is, the higher relevant results are shown and the less number of @@ -2258,25 +2830,6 @@ public enum RelevanceThreshold { [pbr::OriginalName("HIGH")] High = 4, } - /// - /// The backend to use for the ranking expression evaluation. - /// - public enum RankingExpressionBackend { - /// - /// Default option for unspecified/unknown values. - /// - [pbr::OriginalName("RANKING_EXPRESSION_BACKEND_UNSPECIFIED")] Unspecified = 0, - /// - /// Ranking by custom embedding model, the default way to evaluate the - /// ranking expression. - /// - [pbr::OriginalName("RANK_BY_EMBEDDING")] RankByEmbedding = 3, - /// - /// Ranking by custom formula. - /// - [pbr::OriginalName("RANK_BY_FORMULA")] RankByFormula = 4, - } - /// /// Specifies the image query input. /// @@ -2569,6 +3122,8 @@ public DataStoreSpec(DataStoreSpec other) : this() { dataStore_ = other.dataStore_; filter_ = other.filter_; boostSpec_ = other.boostSpec_ != null ? other.boostSpec_.Clone() : null; + customSearchOperators_ = other.customSearchOperators_; + numResults_ = other.numResults_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2631,6 +3186,44 @@ public string Filter { } } + /// Field number for the "custom_search_operators" field. + public const int CustomSearchOperatorsFieldNumber = 7; + private string customSearchOperators_ = ""; + /// + /// Optional. Custom search operators which if specified will be used to + /// filter results from workspace data stores. For more information on custom + /// search operators, see + /// [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CustomSearchOperators { + get { return customSearchOperators_; } + set { + customSearchOperators_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "num_results" field. + public const int NumResultsFieldNumber = 9; + private int numResults_; + /// + /// Optional. The maximum number of results to retrieve from this data store. + /// If not specified, it will use the + /// [SearchRequest.num_results_per_data_store][google.cloud.discoveryengine.v1beta.SearchRequest.num_results_per_data_store] + /// if provided, otherwise there is no limit. If both this field and + /// [SearchRequest.num_results_per_data_store][google.cloud.discoveryengine.v1beta.SearchRequest.num_results_per_data_store] + /// are specified, this field will be used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NumResults { + get { return numResults_; } + set { + numResults_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2649,6 +3242,8 @@ public bool Equals(DataStoreSpec other) { if (DataStore != other.DataStore) return false; if (Filter != other.Filter) return false; if (!object.Equals(BoostSpec, other.BoostSpec)) return false; + if (CustomSearchOperators != other.CustomSearchOperators) return false; + if (NumResults != other.NumResults) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2659,6 +3254,8 @@ public override int GetHashCode() { if (DataStore.Length != 0) hash ^= DataStore.GetHashCode(); if (Filter.Length != 0) hash ^= Filter.GetHashCode(); if (boostSpec_ != null) hash ^= BoostSpec.GetHashCode(); + if (CustomSearchOperators.Length != 0) hash ^= CustomSearchOperators.GetHashCode(); + if (NumResults != 0) hash ^= NumResults.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2689,6 +3286,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(50); output.WriteMessage(BoostSpec); } + if (CustomSearchOperators.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CustomSearchOperators); + } + if (NumResults != 0) { + output.WriteRawTag(72); + output.WriteInt32(NumResults); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2711,6 +3316,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(50); output.WriteMessage(BoostSpec); } + if (CustomSearchOperators.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CustomSearchOperators); + } + if (NumResults != 0) { + output.WriteRawTag(72); + output.WriteInt32(NumResults); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2730,6 +3343,12 @@ public int CalculateSize() { if (boostSpec_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoostSpec); } + if (CustomSearchOperators.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CustomSearchOperators); + } + if (NumResults != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumResults); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2754,6 +3373,12 @@ public void MergeFrom(DataStoreSpec other) { } BoostSpec.MergeFrom(other.BoostSpec); } + if (other.CustomSearchOperators.Length != 0) { + CustomSearchOperators = other.CustomSearchOperators; + } + if (other.NumResults != 0) { + NumResults = other.NumResults; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -2788,6 +3413,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(BoostSpec); break; } + case 58: { + CustomSearchOperators = input.ReadString(); + break; + } + case 72: { + NumResults = input.ReadInt32(); + break; + } } } #endif @@ -2822,6 +3455,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(BoostSpec); break; } + case 58: { + CustomSearchOperators = input.ReadString(); + break; + } + case 72: { + NumResults = input.ReadInt32(); + break; + } } } } @@ -3708,7 +4349,7 @@ public BoostSpec Clone() { private readonly pbc::RepeatedField conditionBoostSpecs_ = new pbc::RepeatedField(); /// /// Condition boost specifications. If a document matches multiple conditions - /// in the specifictions, boost scores from these specifications are all + /// in the specifications, boost scores from these specifications are all /// applied and combined in a non-linear way. Maximum number of /// specifications is 20. /// @@ -5754,7 +6395,8 @@ public enum SearchResultMode { [pbr::OriginalName("DOCUMENTS")] Documents = 1, /// /// Returns chunks in the search result. Only available if the - /// [DataStore.DocumentProcessingConfig.chunking_config][] is specified. + /// [DocumentProcessingConfig.chunking_config][google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.chunking_config] + /// is specified. /// [pbr::OriginalName("CHUNKS")] Chunks = 2, } @@ -6095,6 +6737,7 @@ public SummarySpec(SummarySpec other) : this() { ignoreNonSummarySeekingQuery_ = other.ignoreNonSummarySeekingQuery_; ignoreLowRelevantContent_ = other.ignoreLowRelevantContent_; ignoreJailBreakingQuery_ = other.ignoreJailBreakingQuery_; + multimodalSpec_ = other.multimodalSpec_ != null ? other.multimodalSpec_.Clone() : null; modelPromptSpec_ = other.modelPromptSpec_ != null ? other.modelPromptSpec_.Clone() : null; languageCode_ = other.languageCode_; modelSpec_ = other.modelSpec_ != null ? other.modelSpec_.Clone() : null; @@ -6256,6 +6899,21 @@ public bool IgnoreJailBreakingQuery { } } + /// Field number for the "multimodal_spec" field. + public const int MultimodalSpecFieldNumber = 11; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec multimodalSpec_; + /// + /// Optional. Multimodal specification. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec MultimodalSpec { + get { return multimodalSpec_; } + set { + multimodalSpec_ = value; + } + } + /// Field number for the "model_prompt_spec" field. public const int ModelPromptSpecFieldNumber = 5; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec modelPromptSpec_; @@ -6346,6 +7004,7 @@ public bool Equals(SummarySpec other) { if (IgnoreNonSummarySeekingQuery != other.IgnoreNonSummarySeekingQuery) return false; if (IgnoreLowRelevantContent != other.IgnoreLowRelevantContent) return false; if (IgnoreJailBreakingQuery != other.IgnoreJailBreakingQuery) return false; + if (!object.Equals(MultimodalSpec, other.MultimodalSpec)) return false; if (!object.Equals(ModelPromptSpec, other.ModelPromptSpec)) return false; if (LanguageCode != other.LanguageCode) return false; if (!object.Equals(ModelSpec, other.ModelSpec)) return false; @@ -6363,6 +7022,7 @@ public override int GetHashCode() { if (IgnoreNonSummarySeekingQuery != false) hash ^= IgnoreNonSummarySeekingQuery.GetHashCode(); if (IgnoreLowRelevantContent != false) hash ^= IgnoreLowRelevantContent.GetHashCode(); if (IgnoreJailBreakingQuery != false) hash ^= IgnoreJailBreakingQuery.GetHashCode(); + if (multimodalSpec_ != null) hash ^= MultimodalSpec.GetHashCode(); if (modelPromptSpec_ != null) hash ^= ModelPromptSpec.GetHashCode(); if (LanguageCode.Length != 0) hash ^= LanguageCode.GetHashCode(); if (modelSpec_ != null) hash ^= ModelSpec.GetHashCode(); @@ -6425,6 +7085,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(80); output.WriteBool(IgnoreJailBreakingQuery); } + if (multimodalSpec_ != null) { + output.WriteRawTag(90); + output.WriteMessage(MultimodalSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6475,6 +7139,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(80); output.WriteBool(IgnoreJailBreakingQuery); } + if (multimodalSpec_ != null) { + output.WriteRawTag(90); + output.WriteMessage(MultimodalSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6503,6 +7171,9 @@ public int CalculateSize() { if (IgnoreJailBreakingQuery != false) { size += 1 + 1; } + if (multimodalSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MultimodalSpec); + } if (modelPromptSpec_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ModelPromptSpec); } @@ -6545,6 +7216,12 @@ public void MergeFrom(SummarySpec other) { if (other.IgnoreJailBreakingQuery != false) { IgnoreJailBreakingQuery = other.IgnoreJailBreakingQuery; } + if (other.multimodalSpec_ != null) { + if (multimodalSpec_ == null) { + MultimodalSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec(); + } + MultimodalSpec.MergeFrom(other.MultimodalSpec); + } if (other.modelPromptSpec_ != null) { if (modelPromptSpec_ == null) { ModelPromptSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec(); @@ -6628,6 +7305,13 @@ public void MergeFrom(pb::CodedInputStream input) { IgnoreJailBreakingQuery = input.ReadBool(); break; } + case 90: { + if (multimodalSpec_ == null) { + MultimodalSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec(); + } + input.ReadMessage(MultimodalSpec); + break; + } } } #endif @@ -6693,6 +7377,13 @@ public void MergeFrom(pb::CodedInputStream input) { IgnoreJailBreakingQuery = input.ReadBool(); break; } + case 90: { + if (multimodalSpec_ == null) { + MultimodalSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec(); + } + input.ReadMessage(MultimodalSpec); + break; + } } } } @@ -6703,6 +7394,244 @@ public void MergeFrom(pb::CodedInputStream input) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { + /// + /// Multimodal specification: Will return an image from specified source. + /// If multiple sources are specified, the pick is a quality based + /// decision. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MultiModalSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MultiModalSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MultiModalSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MultiModalSpec(MultiModalSpec other) : this() { + imageSource_ = other.imageSource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MultiModalSpec Clone() { + return new MultiModalSpec(this); + } + + /// Field number for the "image_source" field. + public const int ImageSourceFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource imageSource_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource.Unspecified; + /// + /// Optional. Source of image returned in the answer. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource ImageSource { + get { return imageSource_; } + set { + imageSource_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MultiModalSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MultiModalSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ImageSource != other.ImageSource) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource.Unspecified) hash ^= ImageSource.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) ImageSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) ImageSource); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ImageSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MultiModalSpec other) { + if (other == null) { + return; + } + if (other.ImageSource != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource.Unspecified) { + ImageSource = other.ImageSource; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 24: { + ImageSource = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 24: { + ImageSource = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.MultiModalSpec.Types.ImageSource) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the MultiModalSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specifies the image source. + /// + public enum ImageSource { + /// + /// Unspecified image source (multimodal feature is disabled by + /// default). + /// + [pbr::OriginalName("IMAGE_SOURCE_UNSPECIFIED")] Unspecified = 0, + /// + /// Behavior when service determines the pick from all available + /// sources. + /// + [pbr::OriginalName("ALL_AVAILABLE_SOURCES")] AllAvailableSources = 1, + /// + /// Includes image from corpus in the answer. + /// + [pbr::OriginalName("CORPUS_IMAGE_ONLY")] CorpusImageOnly = 2, + /// + /// Triggers figure generation in the answer. + /// + [pbr::OriginalName("FIGURE_GENERATION_ONLY")] FigureGenerationOnly = 3, + } + + } + #endregion + + } + /// /// Specification of the prompt to use with the model. /// @@ -6721,7 +7650,7 @@ public sealed partial class ModelPromptSpec : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Descriptor.NestedTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6926,7 +7855,7 @@ public sealed partial class ModelSpec : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Descriptor.NestedTypes[1]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Descriptor.NestedTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8263,6 +9192,8 @@ public NaturalLanguageQueryUnderstandingSpec() { public NaturalLanguageQueryUnderstandingSpec(NaturalLanguageQueryUnderstandingSpec other) : this() { filterExtractionCondition_ = other.filterExtractionCondition_; geoSearchQueryDetectionFieldNames_ = other.geoSearchQueryDetectionFieldNames_.Clone(); + extractedFilterBehavior_ = other.extractedFilterBehavior_; + allowedFieldNames_ = other.allowedFieldNames_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -8277,7 +9208,7 @@ public NaturalLanguageQueryUnderstandingSpec Clone() { private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.FilterExtractionCondition filterExtractionCondition_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.FilterExtractionCondition.ConditionUnspecified; /// /// The condition under which filter extraction should occur. - /// Default to [Condition.DISABLED][]. + /// Server behavior defaults to `DISABLED`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8297,9 +9228,6 @@ public NaturalLanguageQueryUnderstandingSpec Clone() { /// Field names used for location-based filtering, where geolocation filters /// are detected in natural language search queries. /// Only valid when the FilterExtractionCondition is set to `ENABLED`. - /// - /// If this field is set, it overrides the field names set in - /// [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1beta.ServingConfig.geo_search_query_detection_field_names]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8307,6 +9235,51 @@ public NaturalLanguageQueryUnderstandingSpec Clone() { get { return geoSearchQueryDetectionFieldNames_; } } + /// Field number for the "extracted_filter_behavior" field. + public const int ExtractedFilterBehaviorFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior extractedFilterBehavior_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior.Unspecified; + /// + /// Optional. Controls behavior of how extracted filters are applied to the + /// search. The default behavior depends on the request. For single datastore + /// structured search, the default is `HARD_FILTER`. For multi-datastore + /// search, the default behavior is `SOFT_BOOST`. + /// Location-based filters are always applied as hard filters, and the + /// `SOFT_BOOST` setting will not affect them. + /// This field is only used if + /// [SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition][google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition] + /// is set to + /// [FilterExtractionCondition.ENABLED][google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition.ENABLED]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior ExtractedFilterBehavior { + get { return extractedFilterBehavior_; } + set { + extractedFilterBehavior_ = value; + } + } + + /// Field number for the "allowed_field_names" field. + public const int AllowedFieldNamesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_allowedFieldNames_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField allowedFieldNames_ = new pbc::RepeatedField(); + /// + /// Optional. Allowlist of fields that can be used for natural language + /// filter extraction. By default, if this is unspecified, all indexable + /// fields are eligible for natural language filter extraction (but are not + /// guaranteed to be used). If any fields are specified in + /// allowed_field_names, only the fields that are both marked as indexable in + /// the schema and specified in the allowlist will be eligible for natural + /// language filter extraction. Note: for multi-datastore search, this is not + /// yet supported, and will be ignored. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AllowedFieldNames { + get { return allowedFieldNames_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -8324,6 +9297,8 @@ public bool Equals(NaturalLanguageQueryUnderstandingSpec other) { } if (FilterExtractionCondition != other.FilterExtractionCondition) return false; if(!geoSearchQueryDetectionFieldNames_.Equals(other.geoSearchQueryDetectionFieldNames_)) return false; + if (ExtractedFilterBehavior != other.ExtractedFilterBehavior) return false; + if(!allowedFieldNames_.Equals(other.allowedFieldNames_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -8333,6 +9308,8 @@ public override int GetHashCode() { int hash = 1; if (FilterExtractionCondition != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.FilterExtractionCondition.ConditionUnspecified) hash ^= FilterExtractionCondition.GetHashCode(); hash ^= geoSearchQueryDetectionFieldNames_.GetHashCode(); + if (ExtractedFilterBehavior != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior.Unspecified) hash ^= ExtractedFilterBehavior.GetHashCode(); + hash ^= allowedFieldNames_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8356,6 +9333,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteEnum((int) FilterExtractionCondition); } geoSearchQueryDetectionFieldNames_.WriteTo(output, _repeated_geoSearchQueryDetectionFieldNames_codec); + if (ExtractedFilterBehavior != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) ExtractedFilterBehavior); + } + allowedFieldNames_.WriteTo(output, _repeated_allowedFieldNames_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -8371,6 +9353,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteEnum((int) FilterExtractionCondition); } geoSearchQueryDetectionFieldNames_.WriteTo(ref output, _repeated_geoSearchQueryDetectionFieldNames_codec); + if (ExtractedFilterBehavior != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior.Unspecified) { + output.WriteRawTag(24); + output.WriteEnum((int) ExtractedFilterBehavior); + } + allowedFieldNames_.WriteTo(ref output, _repeated_allowedFieldNames_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -8385,6 +9372,10 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FilterExtractionCondition); } size += geoSearchQueryDetectionFieldNames_.CalculateSize(_repeated_geoSearchQueryDetectionFieldNames_codec); + if (ExtractedFilterBehavior != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtractedFilterBehavior); + } + size += allowedFieldNames_.CalculateSize(_repeated_allowedFieldNames_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8401,6 +9392,10 @@ public void MergeFrom(NaturalLanguageQueryUnderstandingSpec other) { FilterExtractionCondition = other.FilterExtractionCondition; } geoSearchQueryDetectionFieldNames_.Add(other.geoSearchQueryDetectionFieldNames_); + if (other.ExtractedFilterBehavior != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior.Unspecified) { + ExtractedFilterBehavior = other.ExtractedFilterBehavior; + } + allowedFieldNames_.Add(other.allowedFieldNames_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -8428,6 +9423,14 @@ public void MergeFrom(pb::CodedInputStream input) { geoSearchQueryDetectionFieldNames_.AddEntriesFrom(input, _repeated_geoSearchQueryDetectionFieldNames_codec); break; } + case 24: { + ExtractedFilterBehavior = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior) input.ReadEnum(); + break; + } + case 34: { + allowedFieldNames_.AddEntriesFrom(input, _repeated_allowedFieldNames_codec); + break; + } } } #endif @@ -8455,6 +9458,14 @@ public void MergeFrom(pb::CodedInputStream input) { geoSearchQueryDetectionFieldNames_.AddEntriesFrom(ref input, _repeated_geoSearchQueryDetectionFieldNames_codec); break; } + case 24: { + ExtractedFilterBehavior = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.ExtractedFilterBehavior) input.ReadEnum(); + break; + } + case 34: { + allowedFieldNames_.AddEntriesFrom(ref input, _repeated_allowedFieldNames_codec); + break; + } } } } @@ -8470,7 +9481,7 @@ public static partial class Types { /// public enum FilterExtractionCondition { /// - /// Server behavior defaults to [Condition.DISABLED][]. + /// Server behavior defaults to `DISABLED`. /// [pbr::OriginalName("CONDITION_UNSPECIFIED")] ConditionUnspecified = 0, /// @@ -8483,6 +9494,30 @@ public enum FilterExtractionCondition { [pbr::OriginalName("ENABLED")] Enabled = 2, } + /// + /// Enum describing how extracted filters are applied to the search. + /// + public enum ExtractedFilterBehavior { + /// + /// `EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior + /// for extracted filters. For single datastore search, the default is to + /// apply as hard filters. For multi-datastore search, the default is to + /// apply as soft boosts. + /// + [pbr::OriginalName("EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED")] Unspecified = 0, + /// + /// Applies all extracted filters as hard filters on the results. Results + /// that do not pass the extracted filters will not be returned in the + /// result set. + /// + [pbr::OriginalName("HARD_FILTER")] HardFilter = 1, + /// + /// Applies all extracted filters as soft boosts. Results that pass the + /// filters will be boosted up to higher ranks in the result set. + /// + [pbr::OriginalName("SOFT_BOOST")] SoftBoost = 2, + } + } #endregion @@ -8727,24 +9762,19 @@ public enum Condition { } /// - /// Session specification. - /// - /// Multi-turn Search feature is currently at private GA stage. Please use - /// v1alpha or v1beta version instead before we launch this feature to public - /// GA. Or ask for allowlisting through Google Support team. + /// Specifies features for display, like match highlighting. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SessionSpec : pb::IMessage + public sealed partial class DisplaySpec : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SessionSpec()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DisplaySpec()); private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8760,7 +9790,7 @@ public sealed partial class SessionSpec : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SessionSpec() { + public DisplaySpec() { OnConstruction(); } @@ -8768,111 +9798,48 @@ public SessionSpec() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SessionSpec(SessionSpec other) : this() { - _hasBits0 = other._hasBits0; - queryId_ = other.queryId_; - searchResultPersistenceCount_ = other.searchResultPersistenceCount_; + public DisplaySpec(DisplaySpec other) : this() { + matchHighlightingCondition_ = other.matchHighlightingCondition_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SessionSpec Clone() { - return new SessionSpec(this); - } - - /// Field number for the "query_id" field. - public const int QueryIdFieldNumber = 1; - private string queryId_ = ""; - /// - /// If set, the search result gets stored to the "turn" specified by this - /// query ID. - /// - /// Example: Let's say the session looks like this: - /// session { - /// name: ".../sessions/xxx" - /// turns { - /// query { text: "What is foo?" query_id: ".../questions/yyy" } - /// answer: "Foo is ..." - /// } - /// turns { - /// query { text: "How about bar then?" query_id: ".../questions/zzz" } - /// } - /// } - /// - /// The user can call /search API with a request like this: - /// - /// session: ".../sessions/xxx" - /// session_spec { query_id: ".../questions/zzz" } - /// - /// Then, the API stores the search result, associated with the last turn. - /// The stored search result can be used by a subsequent /answer API call - /// (with the session ID and the query ID specified). Also, it is possible - /// to call /search and /answer in parallel with the same session ID & query - /// ID. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string QueryId { - get { return queryId_; } - set { - queryId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public DisplaySpec Clone() { + return new DisplaySpec(this); } - /// Field number for the "search_result_persistence_count" field. - public const int SearchResultPersistenceCountFieldNumber = 2; - private readonly static int SearchResultPersistenceCountDefaultValue = 0; - - private int searchResultPersistenceCount_; + /// Field number for the "match_highlighting_condition" field. + public const int MatchHighlightingConditionFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition matchHighlightingCondition_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition.Unspecified; /// - /// The number of top search results to persist. The persisted search results - /// can be used for the subsequent /answer api call. - /// - /// This field is simliar to the `summary_result_count` field in - /// [SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count]. - /// - /// At most 10 results for documents mode, or 50 for chunks mode. + /// The condition under which match highlighting should occur. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SearchResultPersistenceCount { - get { if ((_hasBits0 & 1) != 0) { return searchResultPersistenceCount_; } else { return SearchResultPersistenceCountDefaultValue; } } + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition MatchHighlightingCondition { + get { return matchHighlightingCondition_; } set { - _hasBits0 |= 1; - searchResultPersistenceCount_ = value; + matchHighlightingCondition_ = value; } } - /// Gets whether the "search_result_persistence_count" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSearchResultPersistenceCount { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "search_result_persistence_count" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSearchResultPersistenceCount() { - _hasBits0 &= ~1; - } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as SessionSpec); + return Equals(other as DisplaySpec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SessionSpec other) { + public bool Equals(DisplaySpec other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (QueryId != other.QueryId) return false; - if (SearchResultPersistenceCount != other.SearchResultPersistenceCount) return false; + if (MatchHighlightingCondition != other.MatchHighlightingCondition) return false; return Equals(_unknownFields, other._unknownFields); } @@ -8880,8 +9847,7 @@ public bool Equals(SessionSpec other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (QueryId.Length != 0) hash ^= QueryId.GetHashCode(); - if (HasSearchResultPersistenceCount) hash ^= SearchResultPersistenceCount.GetHashCode(); + if (MatchHighlightingCondition != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition.Unspecified) hash ^= MatchHighlightingCondition.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8900,13 +9866,9 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (QueryId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(QueryId); - } - if (HasSearchResultPersistenceCount) { - output.WriteRawTag(16); - output.WriteInt32(SearchResultPersistenceCount); + if (MatchHighlightingCondition != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) MatchHighlightingCondition); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -8918,13 +9880,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (QueryId.Length != 0) { - output.WriteRawTag(10); - output.WriteString(QueryId); - } - if (HasSearchResultPersistenceCount) { - output.WriteRawTag(16); - output.WriteInt32(SearchResultPersistenceCount); + if (MatchHighlightingCondition != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) MatchHighlightingCondition); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -8936,11 +9894,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (QueryId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryId); - } - if (HasSearchResultPersistenceCount) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SearchResultPersistenceCount); + if (MatchHighlightingCondition != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MatchHighlightingCondition); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -8950,15 +9905,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SessionSpec other) { + public void MergeFrom(DisplaySpec other) { if (other == null) { return; } - if (other.QueryId.Length != 0) { - QueryId = other.QueryId; - } - if (other.HasSearchResultPersistenceCount) { - SearchResultPersistenceCount = other.SearchResultPersistenceCount; + if (other.MatchHighlightingCondition != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition.Unspecified) { + MatchHighlightingCondition = other.MatchHighlightingCondition; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -8979,12 +9931,8 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - QueryId = input.ReadString(); - break; - } - case 16: { - SearchResultPersistenceCount = input.ReadInt32(); + case 8: { + MatchHighlightingCondition = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition) input.ReadEnum(); break; } } @@ -9006,12 +9954,8 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - QueryId = input.ReadString(); - break; - } - case 16: { - SearchResultPersistenceCount = input.ReadInt32(); + case 8: { + MatchHighlightingCondition = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DisplaySpec.Types.MatchHighlightingCondition) input.ReadEnum(); break; } } @@ -9019,22 +9963,52 @@ public void MergeFrom(pb::CodedInputStream input) { } #endif + #region Nested types + /// Container for nested types declared in the DisplaySpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Enum describing under which condition match highlighting should occur. + /// + public enum MatchHighlightingCondition { + /// + /// Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`. + /// + [pbr::OriginalName("MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED")] Unspecified = 0, + /// + /// Disables match highlighting on all documents. + /// + [pbr::OriginalName("MATCH_HIGHLIGHTING_DISABLED")] MatchHighlightingDisabled = 1, + /// + /// Enables match highlighting on all documents. + /// + [pbr::OriginalName("MATCH_HIGHLIGHTING_ENABLED")] MatchHighlightingEnabled = 2, + } + + } + #endregion + } /// - /// The specification for personalization. + /// Specification for crowding. Crowding improves the diversity of search + /// results by limiting the number of results that share the same field value. + /// For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color + /// across all pages. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PersonalizationSpec : pb::IMessage + public sealed partial class CrowdingSpec : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PersonalizationSpec()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CrowdingSpec()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -9050,7 +10024,7 @@ public sealed partial class PersonalizationSpec : pb::IMessageField number for the "field" field. + public const int FieldFieldNumber = 1; + private string field_ = ""; + /// + /// The field to use for crowding. Documents can be crowded by a field in the + /// [Document][google.cloud.discoveryengine.v1beta.Document] object. Crowding + /// field is case sensitive. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Field { + get { return field_; } + set { + field_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "max_count" field. + public const int MaxCountFieldNumber = 2; + private int maxCount_; + /// + /// The maximum number of documents to keep per value of the field. Once + /// there are at least max_count previous results which contain the same + /// value for the given field (according to the order specified in + /// `order_by`), later results with the same value are "crowded away". + /// If not specified, the default value is 1. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxCount { + get { return maxCount_; } + set { + maxCount_ = value; + } } /// Field number for the "mode" field. - public const int ModeFieldNumber = 1; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode mode_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified; + public const int ModeFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode mode_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode.Unspecified; /// - /// The personalization mode of the search request. - /// Defaults to - /// [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode.AUTO]. + /// Mode to use for documents that are crowded away. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode Mode { + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode Mode { get { return mode_; } set { mode_ = value; @@ -9089,18 +10099,20 @@ public PersonalizationSpec Clone() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as PersonalizationSpec); + return Equals(other as CrowdingSpec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PersonalizationSpec other) { + public bool Equals(CrowdingSpec other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } + if (Field != other.Field) return false; + if (MaxCount != other.MaxCount) return false; if (Mode != other.Mode) return false; return Equals(_unknownFields, other._unknownFields); } @@ -9109,7 +10121,9 @@ public bool Equals(PersonalizationSpec other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) hash ^= Mode.GetHashCode(); + if (Field.Length != 0) hash ^= Field.GetHashCode(); + if (MaxCount != 0) hash ^= MaxCount.GetHashCode(); + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode.Unspecified) hash ^= Mode.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9128,8 +10142,16 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { - output.WriteRawTag(8); + if (Field.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Field); + } + if (MaxCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxCount); + } + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode.Unspecified) { + output.WriteRawTag(24); output.WriteEnum((int) Mode); } if (_unknownFields != null) { @@ -9142,8 +10164,16 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { - output.WriteRawTag(8); + if (Field.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Field); + } + if (MaxCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxCount); + } + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode.Unspecified) { + output.WriteRawTag(24); output.WriteEnum((int) Mode); } if (_unknownFields != null) { @@ -9156,7 +10186,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { + if (Field.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Field); + } + if (MaxCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxCount); + } + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode.Unspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); } if (_unknownFields != null) { @@ -9167,11 +10203,17 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PersonalizationSpec other) { + public void MergeFrom(CrowdingSpec other) { if (other == null) { return; } - if (other.Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { + if (other.Field.Length != 0) { + Field = other.Field; + } + if (other.MaxCount != 0) { + MaxCount = other.MaxCount; + } + if (other.Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode.Unspecified) { Mode = other.Mode; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); @@ -9193,8 +10235,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Mode = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode) input.ReadEnum(); + case 10: { + Field = input.ReadString(); + break; + } + case 16: { + MaxCount = input.ReadInt32(); + break; + } + case 24: { + Mode = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode) input.ReadEnum(); break; } } @@ -9216,8 +10266,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Mode = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode) input.ReadEnum(); + case 10: { + Field = input.ReadString(); + break; + } + case 16: { + MaxCount = input.ReadInt32(); + break; + } + case 24: { + Mode = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.CrowdingSpec.Types.Mode) input.ReadEnum(); break; } } @@ -9226,27 +10284,28 @@ public void MergeFrom(pb::CodedInputStream input) { #endif #region Nested types - /// Container for nested types declared in the PersonalizationSpec message type. + /// Container for nested types declared in the CrowdingSpec message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// The personalization mode of each search request. + /// Enum describing the mode to use for documents that are crowded away. + /// They can be dropped or demoted to the later pages. /// public enum Mode { /// - /// Default value. In this case, server behavior defaults to - /// [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode.AUTO]. + /// Unspecified crowding mode. In this case, server behavior defaults to + /// [Mode.DROP_CROWDED_RESULTS][google.cloud.discoveryengine.v1beta.SearchRequest.CrowdingSpec.Mode.DROP_CROWDED_RESULTS]. /// [pbr::OriginalName("MODE_UNSPECIFIED")] Unspecified = 0, /// - /// Personalization is enabled if data quality requirements are met. + /// Drop crowded results. /// - [pbr::OriginalName("AUTO")] Auto = 1, + [pbr::OriginalName("DROP_CROWDED_RESULTS")] DropCrowdedResults = 1, /// - /// Disable personalization. + /// Demote crowded results to the later pages. /// - [pbr::OriginalName("DISABLED")] Disabled = 2, + [pbr::OriginalName("DEMOTE_CROWDED_RESULTS_TO_END")] DemoteCrowdedResultsToEnd = 2, } } @@ -9254,813 +10313,4038 @@ public enum Mode { } - } - #endregion + /// + /// Session specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SessionSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SessionSpec()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Descriptor.NestedTypes[12]; } + } - /// - /// Response message for - /// [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] - /// method. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SearchResponse : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchResponse()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceReflection.Descriptor.MessageTypes[1]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SessionSpec() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SearchResponse() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SessionSpec(SessionSpec other) : this() { + _hasBits0 = other._hasBits0; + queryId_ = other.queryId_; + searchResultPersistenceCount_ = other.searchResultPersistenceCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SessionSpec Clone() { + return new SessionSpec(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SearchResponse(SearchResponse other) : this() { - results_ = other.results_.Clone(); - facets_ = other.facets_.Clone(); - guidedSearchResult_ = other.guidedSearchResult_ != null ? other.guidedSearchResult_.Clone() : null; - totalSize_ = other.totalSize_; - attributionToken_ = other.attributionToken_; - redirectUri_ = other.redirectUri_; - nextPageToken_ = other.nextPageToken_; - correctedQuery_ = other.correctedQuery_; - summary_ = other.summary_ != null ? other.summary_.Clone() : null; - appliedControls_ = other.appliedControls_.Clone(); - geoSearchDebugInfo_ = other.geoSearchDebugInfo_.Clone(); - queryExpansionInfo_ = other.queryExpansionInfo_ != null ? other.queryExpansionInfo_.Clone() : null; - naturalLanguageQueryUnderstandingInfo_ = other.naturalLanguageQueryUnderstandingInfo_ != null ? other.naturalLanguageQueryUnderstandingInfo_.Clone() : null; - sessionInfo_ = other.sessionInfo_ != null ? other.sessionInfo_.Clone() : null; - oneBoxResults_ = other.oneBoxResults_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + /// Field number for the "query_id" field. + public const int QueryIdFieldNumber = 1; + private string queryId_ = ""; + /// + /// If set, the search result gets stored to the "turn" specified by this + /// query ID. + /// + /// Example: Let's say the session looks like this: + /// session { + /// name: ".../sessions/xxx" + /// turns { + /// query { text: "What is foo?" query_id: ".../questions/yyy" } + /// answer: "Foo is ..." + /// } + /// turns { + /// query { text: "How about bar then?" query_id: ".../questions/zzz" } + /// } + /// } + /// + /// The user can call /search API with a request like this: + /// + /// session: ".../sessions/xxx" + /// session_spec { query_id: ".../questions/zzz" } + /// + /// Then, the API stores the search result, associated with the last turn. + /// The stored search result can be used by a subsequent /answer API call + /// (with the session ID and the query ID specified). Also, it is possible + /// to call /search and /answer in parallel with the same session ID & query + /// ID. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string QueryId { + get { return queryId_; } + set { + queryId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SearchResponse Clone() { - return new SearchResponse(this); - } + /// Field number for the "search_result_persistence_count" field. + public const int SearchResultPersistenceCountFieldNumber = 2; + private readonly static int SearchResultPersistenceCountDefaultValue = 0; - /// Field number for the "results" field. - public const int ResultsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_results_codec - = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Parser); - private readonly pbc::RepeatedField results_ = new pbc::RepeatedField(); - /// - /// A list of matched documents. The order represents the ranking. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Results { - get { return results_; } - } + private int searchResultPersistenceCount_; + /// + /// The number of top search results to persist. The persisted search results + /// can be used for the subsequent /answer api call. + /// + /// This field is similar to the `summary_result_count` field in + /// [SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count]. + /// + /// At most 10 results for documents mode, or 50 for chunks mode. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SearchResultPersistenceCount { + get { if ((_hasBits0 & 1) != 0) { return searchResultPersistenceCount_; } else { return SearchResultPersistenceCountDefaultValue; } } + set { + _hasBits0 |= 1; + searchResultPersistenceCount_ = value; + } + } + /// Gets whether the "search_result_persistence_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSearchResultPersistenceCount { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "search_result_persistence_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSearchResultPersistenceCount() { + _hasBits0 &= ~1; + } - /// Field number for the "facets" field. - public const int FacetsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_facets_codec - = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Parser); - private readonly pbc::RepeatedField facets_ = new pbc::RepeatedField(); - /// - /// Results of facets requested by user. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Facets { - get { return facets_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SessionSpec); + } - /// Field number for the "guided_search_result" field. - public const int GuidedSearchResultFieldNumber = 8; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult guidedSearchResult_; - /// - /// Guided search result. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult GuidedSearchResult { - get { return guidedSearchResult_; } - set { - guidedSearchResult_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SessionSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (QueryId != other.QueryId) return false; + if (SearchResultPersistenceCount != other.SearchResultPersistenceCount) return false; + return Equals(_unknownFields, other._unknownFields); + } - /// Field number for the "total_size" field. - public const int TotalSizeFieldNumber = 3; - private int totalSize_; - /// - /// The estimated total count of matched items irrespective of pagination. The - /// count of - /// [results][google.cloud.discoveryengine.v1beta.SearchResponse.results] - /// returned by pagination may be less than the - /// [total_size][google.cloud.discoveryengine.v1beta.SearchResponse.total_size] - /// that matches. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TotalSize { - get { return totalSize_; } - set { - totalSize_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (QueryId.Length != 0) hash ^= QueryId.GetHashCode(); + if (HasSearchResultPersistenceCount) hash ^= SearchResultPersistenceCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - /// Field number for the "attribution_token" field. - public const int AttributionTokenFieldNumber = 4; - private string attributionToken_ = ""; - /// - /// A unique search token. This should be included in the - /// [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] logs resulting - /// from this search, which enables accurate attribution of search model - /// performance. This also helps to identify a request during the customer - /// support scenarios. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttributionToken { - get { return attributionToken_; } - set { - attributionToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - /// Field number for the "redirect_uri" field. - public const int RedirectUriFieldNumber = 12; - private string redirectUri_ = ""; - /// - /// The URI of a customer-defined redirect page. If redirect action is - /// triggered, no search is performed, and only - /// [redirect_uri][google.cloud.discoveryengine.v1beta.SearchResponse.redirect_uri] - /// and - /// [attribution_token][google.cloud.discoveryengine.v1beta.SearchResponse.attribution_token] - /// are set in the response. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RedirectUri { - get { return redirectUri_; } - set { - redirectUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (QueryId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(QueryId); + } + if (HasSearchResultPersistenceCount) { + output.WriteRawTag(16); + output.WriteInt32(SearchResultPersistenceCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - /// Field number for the "next_page_token" field. - public const int NextPageTokenFieldNumber = 5; - private string nextPageToken_ = ""; - /// - /// A token that can be sent as - /// [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] - /// to retrieve the next page. If this field is omitted, there are no - /// subsequent pages. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NextPageToken { - get { return nextPageToken_; } - set { - nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (QueryId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(QueryId); + } + if (HasSearchResultPersistenceCount) { + output.WriteRawTag(16); + output.WriteInt32(SearchResultPersistenceCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif - /// Field number for the "corrected_query" field. - public const int CorrectedQueryFieldNumber = 7; - private string correctedQuery_ = ""; - /// - /// Contains the spell corrected query, if found. If the spell correction type - /// is AUTOMATIC, then the search results are based on corrected_query. - /// Otherwise the original query is used for search. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CorrectedQuery { - get { return correctedQuery_; } - set { - correctedQuery_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (QueryId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryId); + } + if (HasSearchResultPersistenceCount) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SearchResultPersistenceCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - /// Field number for the "summary" field. - public const int SummaryFieldNumber = 9; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary summary_; - /// - /// A summary as part of the search results. - /// This field is only returned if - /// [SearchRequest.ContentSearchSpec.summary_spec][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.summary_spec] - /// is set. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary Summary { - get { return summary_; } - set { - summary_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SessionSpec other) { + if (other == null) { + return; + } + if (other.QueryId.Length != 0) { + QueryId = other.QueryId; + } + if (other.HasSearchResultPersistenceCount) { + SearchResultPersistenceCount = other.SearchResultPersistenceCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - /// Field number for the "applied_controls" field. - public const int AppliedControlsFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_appliedControls_codec - = pb::FieldCodec.ForString(82); - private readonly pbc::RepeatedField appliedControls_ = new pbc::RepeatedField(); - /// - /// Controls applied as part of the Control service. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AppliedControls { - get { return appliedControls_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + QueryId = input.ReadString(); + break; + } + case 16: { + SearchResultPersistenceCount = input.ReadInt32(); + break; + } + } + } + #endif + } - /// Field number for the "geo_search_debug_info" field. - public const int GeoSearchDebugInfoFieldNumber = 16; - private static readonly pb::FieldCodec _repeated_geoSearchDebugInfo_codec - = pb::FieldCodec.ForMessage(130, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GeoSearchDebugInfo.Parser); - private readonly pbc::RepeatedField geoSearchDebugInfo_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField GeoSearchDebugInfo { - get { return geoSearchDebugInfo_; } - } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + QueryId = input.ReadString(); + break; + } + case 16: { + SearchResultPersistenceCount = input.ReadInt32(); + break; + } + } + } + } + #endif - /// Field number for the "query_expansion_info" field. - public const int QueryExpansionInfoFieldNumber = 14; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo queryExpansionInfo_; - /// - /// Query expansion information for the returned results. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo QueryExpansionInfo { - get { return queryExpansionInfo_; } - set { - queryExpansionInfo_ = value; } - } - /// Field number for the "natural_language_query_understanding_info" field. - public const int NaturalLanguageQueryUnderstandingInfoFieldNumber = 15; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo naturalLanguageQueryUnderstandingInfo_; - /// - /// Natural language query understanding information for the returned results. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo NaturalLanguageQueryUnderstandingInfo { - get { return naturalLanguageQueryUnderstandingInfo_; } - set { - naturalLanguageQueryUnderstandingInfo_ = value; - } - } + /// + /// Relevance filtering specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RelevanceFilterSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelevanceFilterSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - /// Field number for the "session_info" field. - public const int SessionInfoFieldNumber = 19; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo sessionInfo_; - /// - /// Session information. - /// - /// Only set if - /// [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] - /// is provided. See its description for more details. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo SessionInfo { - get { return sessionInfo_; } - set { - sessionInfo_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Descriptor.NestedTypes[13]; } + } - /// Field number for the "one_box_results" field. - public const int OneBoxResultsFieldNumber = 20; - private static readonly pb::FieldCodec _repeated_oneBoxResults_codec - = pb::FieldCodec.ForMessage(162, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult.Parser); - private readonly pbc::RepeatedField oneBoxResults_ = new pbc::RepeatedField(); - /// - /// A list of One Box results. There can be multiple One Box results of - /// different types. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField OneBoxResults { - get { return oneBoxResults_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SearchResponse); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceFilterSpec() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SearchResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!results_.Equals(other.results_)) return false; - if(!facets_.Equals(other.facets_)) return false; - if (!object.Equals(GuidedSearchResult, other.GuidedSearchResult)) return false; - if (TotalSize != other.TotalSize) return false; - if (AttributionToken != other.AttributionToken) return false; - if (RedirectUri != other.RedirectUri) return false; - if (NextPageToken != other.NextPageToken) return false; - if (CorrectedQuery != other.CorrectedQuery) return false; - if (!object.Equals(Summary, other.Summary)) return false; - if(!appliedControls_.Equals(other.appliedControls_)) return false; - if(!geoSearchDebugInfo_.Equals(other.geoSearchDebugInfo_)) return false; - if (!object.Equals(QueryExpansionInfo, other.QueryExpansionInfo)) return false; - if (!object.Equals(NaturalLanguageQueryUnderstandingInfo, other.NaturalLanguageQueryUnderstandingInfo)) return false; - if (!object.Equals(SessionInfo, other.SessionInfo)) return false; - if(!oneBoxResults_.Equals(other.oneBoxResults_)) return false; - return Equals(_unknownFields, other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= results_.GetHashCode(); - hash ^= facets_.GetHashCode(); - if (guidedSearchResult_ != null) hash ^= GuidedSearchResult.GetHashCode(); - if (TotalSize != 0) hash ^= TotalSize.GetHashCode(); - if (AttributionToken.Length != 0) hash ^= AttributionToken.GetHashCode(); - if (RedirectUri.Length != 0) hash ^= RedirectUri.GetHashCode(); - if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); - if (CorrectedQuery.Length != 0) hash ^= CorrectedQuery.GetHashCode(); - if (summary_ != null) hash ^= Summary.GetHashCode(); - hash ^= appliedControls_.GetHashCode(); - hash ^= geoSearchDebugInfo_.GetHashCode(); - if (queryExpansionInfo_ != null) hash ^= QueryExpansionInfo.GetHashCode(); - if (naturalLanguageQueryUnderstandingInfo_ != null) hash ^= NaturalLanguageQueryUnderstandingInfo.GetHashCode(); - if (sessionInfo_ != null) hash ^= SessionInfo.GetHashCode(); - hash ^= oneBoxResults_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceFilterSpec(RelevanceFilterSpec other) : this() { + keywordSearchThreshold_ = other.keywordSearchThreshold_ != null ? other.keywordSearchThreshold_.Clone() : null; + semanticSearchThreshold_ = other.semanticSearchThreshold_ != null ? other.semanticSearchThreshold_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceFilterSpec Clone() { + return new RelevanceFilterSpec(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - results_.WriteTo(output, _repeated_results_codec); - facets_.WriteTo(output, _repeated_facets_codec); - if (TotalSize != 0) { - output.WriteRawTag(24); - output.WriteInt32(TotalSize); - } - if (AttributionToken.Length != 0) { - output.WriteRawTag(34); - output.WriteString(AttributionToken); - } - if (NextPageToken.Length != 0) { - output.WriteRawTag(42); - output.WriteString(NextPageToken); - } - if (CorrectedQuery.Length != 0) { - output.WriteRawTag(58); - output.WriteString(CorrectedQuery); - } - if (guidedSearchResult_ != null) { - output.WriteRawTag(66); - output.WriteMessage(GuidedSearchResult); - } - if (summary_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Summary); - } - appliedControls_.WriteTo(output, _repeated_appliedControls_codec); - if (RedirectUri.Length != 0) { - output.WriteRawTag(98); - output.WriteString(RedirectUri); - } - if (queryExpansionInfo_ != null) { - output.WriteRawTag(114); - output.WriteMessage(QueryExpansionInfo); - } - if (naturalLanguageQueryUnderstandingInfo_ != null) { - output.WriteRawTag(122); - output.WriteMessage(NaturalLanguageQueryUnderstandingInfo); - } - geoSearchDebugInfo_.WriteTo(output, _repeated_geoSearchDebugInfo_codec); - if (sessionInfo_ != null) { - output.WriteRawTag(154, 1); - output.WriteMessage(SessionInfo); - } - oneBoxResults_.WriteTo(output, _repeated_oneBoxResults_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + /// Field number for the "keyword_search_threshold" field. + public const int KeywordSearchThresholdFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec keywordSearchThreshold_; + /// + /// Optional. Relevance filtering threshold specification for keyword search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec KeywordSearchThreshold { + get { return keywordSearchThreshold_; } + set { + keywordSearchThreshold_ = value; + } + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - results_.WriteTo(ref output, _repeated_results_codec); - facets_.WriteTo(ref output, _repeated_facets_codec); - if (TotalSize != 0) { - output.WriteRawTag(24); - output.WriteInt32(TotalSize); - } - if (AttributionToken.Length != 0) { - output.WriteRawTag(34); - output.WriteString(AttributionToken); - } - if (NextPageToken.Length != 0) { - output.WriteRawTag(42); - output.WriteString(NextPageToken); - } - if (CorrectedQuery.Length != 0) { - output.WriteRawTag(58); - output.WriteString(CorrectedQuery); - } - if (guidedSearchResult_ != null) { - output.WriteRawTag(66); - output.WriteMessage(GuidedSearchResult); - } - if (summary_ != null) { - output.WriteRawTag(74); - output.WriteMessage(Summary); - } - appliedControls_.WriteTo(ref output, _repeated_appliedControls_codec); - if (RedirectUri.Length != 0) { - output.WriteRawTag(98); - output.WriteString(RedirectUri); - } - if (queryExpansionInfo_ != null) { - output.WriteRawTag(114); - output.WriteMessage(QueryExpansionInfo); - } - if (naturalLanguageQueryUnderstandingInfo_ != null) { - output.WriteRawTag(122); - output.WriteMessage(NaturalLanguageQueryUnderstandingInfo); - } - geoSearchDebugInfo_.WriteTo(ref output, _repeated_geoSearchDebugInfo_codec); - if (sessionInfo_ != null) { - output.WriteRawTag(154, 1); - output.WriteMessage(SessionInfo); - } - oneBoxResults_.WriteTo(ref output, _repeated_oneBoxResults_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + /// Field number for the "semantic_search_threshold" field. + public const int SemanticSearchThresholdFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec semanticSearchThreshold_; + /// + /// Optional. Relevance filtering threshold specification for semantic + /// search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec SemanticSearchThreshold { + get { return semanticSearchThreshold_; } + set { + semanticSearchThreshold_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += results_.CalculateSize(_repeated_results_codec); - size += facets_.CalculateSize(_repeated_facets_codec); - if (guidedSearchResult_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(GuidedSearchResult); - } - if (TotalSize != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalSize); - } - if (AttributionToken.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributionToken); - } - if (RedirectUri.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RedirectUri); - } - if (NextPageToken.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); - } - if (CorrectedQuery.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrectedQuery); - } - if (summary_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Summary); - } - size += appliedControls_.CalculateSize(_repeated_appliedControls_codec); - size += geoSearchDebugInfo_.CalculateSize(_repeated_geoSearchDebugInfo_codec); - if (queryExpansionInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryExpansionInfo); - } - if (naturalLanguageQueryUnderstandingInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(NaturalLanguageQueryUnderstandingInfo); - } - if (sessionInfo_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SessionInfo); - } - size += oneBoxResults_.CalculateSize(_repeated_oneBoxResults_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RelevanceFilterSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelevanceFilterSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(KeywordSearchThreshold, other.KeywordSearchThreshold)) return false; + if (!object.Equals(SemanticSearchThreshold, other.SemanticSearchThreshold)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (keywordSearchThreshold_ != null) hash ^= KeywordSearchThreshold.GetHashCode(); + if (semanticSearchThreshold_ != null) hash ^= SemanticSearchThreshold.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (keywordSearchThreshold_ != null) { + output.WriteRawTag(10); + output.WriteMessage(KeywordSearchThreshold); + } + if (semanticSearchThreshold_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SemanticSearchThreshold); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (keywordSearchThreshold_ != null) { + output.WriteRawTag(10); + output.WriteMessage(KeywordSearchThreshold); + } + if (semanticSearchThreshold_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SemanticSearchThreshold); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (keywordSearchThreshold_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(KeywordSearchThreshold); + } + if (semanticSearchThreshold_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SemanticSearchThreshold); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelevanceFilterSpec other) { + if (other == null) { + return; + } + if (other.keywordSearchThreshold_ != null) { + if (keywordSearchThreshold_ == null) { + KeywordSearchThreshold = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec(); + } + KeywordSearchThreshold.MergeFrom(other.KeywordSearchThreshold); + } + if (other.semanticSearchThreshold_ != null) { + if (semanticSearchThreshold_ == null) { + SemanticSearchThreshold = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec(); + } + SemanticSearchThreshold.MergeFrom(other.SemanticSearchThreshold); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (keywordSearchThreshold_ == null) { + KeywordSearchThreshold = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec(); + } + input.ReadMessage(KeywordSearchThreshold); + break; + } + case 18: { + if (semanticSearchThreshold_ == null) { + SemanticSearchThreshold = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec(); + } + input.ReadMessage(SemanticSearchThreshold); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (keywordSearchThreshold_ == null) { + KeywordSearchThreshold = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec(); + } + input.ReadMessage(KeywordSearchThreshold); + break; + } + case 18: { + if (semanticSearchThreshold_ == null) { + SemanticSearchThreshold = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Types.RelevanceThresholdSpec(); + } + input.ReadMessage(SemanticSearchThreshold); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the RelevanceFilterSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Specification for relevance filtering on a specific sub-search. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RelevanceThresholdSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelevanceThresholdSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceFilterSpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceThresholdSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceThresholdSpec(RelevanceThresholdSpec other) : this() { + switch (other.RelevanceThresholdSpecCase) { + case RelevanceThresholdSpecOneofCase.RelevanceThreshold: + RelevanceThreshold = other.RelevanceThreshold; + break; + case RelevanceThresholdSpecOneofCase.SemanticRelevanceThreshold: + SemanticRelevanceThreshold = other.SemanticRelevanceThreshold; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceThresholdSpec Clone() { + return new RelevanceThresholdSpec(this); + } + + /// Field number for the "relevance_threshold" field. + public const int RelevanceThresholdFieldNumber = 1; + /// + /// Pre-defined relevance threshold for the sub-search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold RelevanceThreshold { + get { return HasRelevanceThreshold ? (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold) relevanceThresholdSpec_ : global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.RelevanceThreshold.Unspecified; } + set { + relevanceThresholdSpec_ = value; + relevanceThresholdSpecCase_ = RelevanceThresholdSpecOneofCase.RelevanceThreshold; + } + } + /// Gets whether the "relevance_threshold" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRelevanceThreshold { + get { return relevanceThresholdSpecCase_ == RelevanceThresholdSpecOneofCase.RelevanceThreshold; } + } + /// Clears the value of the oneof if it's currently set to "relevance_threshold" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelevanceThreshold() { + if (HasRelevanceThreshold) { + ClearRelevanceThresholdSpec(); + } + } + + /// Field number for the "semantic_relevance_threshold" field. + public const int SemanticRelevanceThresholdFieldNumber = 2; + /// + /// Custom relevance threshold for the sub-search. + /// The value must be in [0.0, 1.0]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float SemanticRelevanceThreshold { + get { return HasSemanticRelevanceThreshold ? (float) relevanceThresholdSpec_ : 0F; } + set { + relevanceThresholdSpec_ = value; + relevanceThresholdSpecCase_ = RelevanceThresholdSpecOneofCase.SemanticRelevanceThreshold; + } + } + /// Gets whether the "semantic_relevance_threshold" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSemanticRelevanceThreshold { + get { return relevanceThresholdSpecCase_ == RelevanceThresholdSpecOneofCase.SemanticRelevanceThreshold; } + } + /// Clears the value of the oneof if it's currently set to "semantic_relevance_threshold" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSemanticRelevanceThreshold() { + if (HasSemanticRelevanceThreshold) { + ClearRelevanceThresholdSpec(); + } + } + + private object relevanceThresholdSpec_; + /// Enum of possible cases for the "relevance_threshold_spec" oneof. + public enum RelevanceThresholdSpecOneofCase { + None = 0, + RelevanceThreshold = 1, + SemanticRelevanceThreshold = 2, + } + private RelevanceThresholdSpecOneofCase relevanceThresholdSpecCase_ = RelevanceThresholdSpecOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceThresholdSpecOneofCase RelevanceThresholdSpecCase { + get { return relevanceThresholdSpecCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelevanceThresholdSpec() { + relevanceThresholdSpecCase_ = RelevanceThresholdSpecOneofCase.None; + relevanceThresholdSpec_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RelevanceThresholdSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelevanceThresholdSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RelevanceThreshold != other.RelevanceThreshold) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SemanticRelevanceThreshold, other.SemanticRelevanceThreshold)) return false; + if (RelevanceThresholdSpecCase != other.RelevanceThresholdSpecCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRelevanceThreshold) hash ^= RelevanceThreshold.GetHashCode(); + if (HasSemanticRelevanceThreshold) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SemanticRelevanceThreshold); + hash ^= (int) relevanceThresholdSpecCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRelevanceThreshold) { + output.WriteRawTag(8); + output.WriteEnum((int) RelevanceThreshold); + } + if (HasSemanticRelevanceThreshold) { + output.WriteRawTag(21); + output.WriteFloat(SemanticRelevanceThreshold); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRelevanceThreshold) { + output.WriteRawTag(8); + output.WriteEnum((int) RelevanceThreshold); + } + if (HasSemanticRelevanceThreshold) { + output.WriteRawTag(21); + output.WriteFloat(SemanticRelevanceThreshold); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRelevanceThreshold) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RelevanceThreshold); + } + if (HasSemanticRelevanceThreshold) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelevanceThresholdSpec other) { + if (other == null) { + return; + } + switch (other.RelevanceThresholdSpecCase) { + case RelevanceThresholdSpecOneofCase.RelevanceThreshold: + RelevanceThreshold = other.RelevanceThreshold; + break; + case RelevanceThresholdSpecOneofCase.SemanticRelevanceThreshold: + SemanticRelevanceThreshold = other.SemanticRelevanceThreshold; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + relevanceThresholdSpec_ = input.ReadEnum(); + relevanceThresholdSpecCase_ = RelevanceThresholdSpecOneofCase.RelevanceThreshold; + break; + } + case 21: { + SemanticRelevanceThreshold = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + relevanceThresholdSpec_ = input.ReadEnum(); + relevanceThresholdSpecCase_ = RelevanceThresholdSpecOneofCase.RelevanceThreshold; + break; + } + case 21: { + SemanticRelevanceThreshold = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// The specification for personalization. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PersonalizationSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PersonalizationSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Descriptor.NestedTypes[14]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PersonalizationSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PersonalizationSpec(PersonalizationSpec other) : this() { + mode_ = other.mode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PersonalizationSpec Clone() { + return new PersonalizationSpec(this); + } + + /// Field number for the "mode" field. + public const int ModeFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode mode_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified; + /// + /// The personalization mode of the search request. + /// Defaults to + /// [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode.AUTO]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode Mode { + get { return mode_; } + set { + mode_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PersonalizationSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PersonalizationSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Mode != other.Mode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) hash ^= Mode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Mode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { + output.WriteRawTag(8); + output.WriteEnum((int) Mode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PersonalizationSpec other) { + if (other == null) { + return; + } + if (other.Mode != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode.Unspecified) { + Mode = other.Mode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Mode = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Mode = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec.Types.Mode) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the PersonalizationSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The personalization mode of each search request. + /// + public enum Mode { + /// + /// Default value. In this case, server behavior defaults to + /// [Mode.AUTO][google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec.Mode.AUTO]. + /// + [pbr::OriginalName("MODE_UNSPECIFIED")] Unspecified = 0, + /// + /// Personalization is enabled if data quality requirements are met. + /// + [pbr::OriginalName("AUTO")] Auto = 1, + /// + /// Disable personalization. + /// + [pbr::OriginalName("DISABLED")] Disabled = 2, + } + + } + #endregion + + } + + /// + /// The specification for returning the document relevance score. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RelevanceScoreSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RelevanceScoreSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Descriptor.NestedTypes[15]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceScoreSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceScoreSpec(RelevanceScoreSpec other) : this() { + returnRelevanceScore_ = other.returnRelevanceScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RelevanceScoreSpec Clone() { + return new RelevanceScoreSpec(this); + } + + /// Field number for the "return_relevance_score" field. + public const int ReturnRelevanceScoreFieldNumber = 1; + private bool returnRelevanceScore_; + /// + /// Optional. Whether to return the relevance score for search results. + /// The higher the score, the more relevant the document is to the query. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReturnRelevanceScore { + get { return returnRelevanceScore_; } + set { + returnRelevanceScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RelevanceScoreSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RelevanceScoreSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ReturnRelevanceScore != other.ReturnRelevanceScore) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ReturnRelevanceScore != false) hash ^= ReturnRelevanceScore.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ReturnRelevanceScore != false) { + output.WriteRawTag(8); + output.WriteBool(ReturnRelevanceScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ReturnRelevanceScore != false) { + output.WriteRawTag(8); + output.WriteBool(ReturnRelevanceScore); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ReturnRelevanceScore != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RelevanceScoreSpec other) { + if (other == null) { + return; + } + if (other.ReturnRelevanceScore != false) { + ReturnRelevanceScore = other.ReturnRelevanceScore; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ReturnRelevanceScore = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ReturnRelevanceScore = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// SearchAddonSpec is used to disable add-ons for search as per new + /// repricing model. By default if the SearchAddonSpec is not specified, we + /// consider that the customer wants to enable them wherever applicable. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SearchAddonSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchAddonSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Descriptor.NestedTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchAddonSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchAddonSpec(SearchAddonSpec other) : this() { + disableSemanticAddOn_ = other.disableSemanticAddOn_; + disableKpiPersonalizationAddOn_ = other.disableKpiPersonalizationAddOn_; + disableGenerativeAnswerAddOn_ = other.disableGenerativeAnswerAddOn_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchAddonSpec Clone() { + return new SearchAddonSpec(this); + } + + /// Field number for the "disable_semantic_add_on" field. + public const int DisableSemanticAddOnFieldNumber = 1; + private bool disableSemanticAddOn_; + /// + /// Optional. If true, semantic add-on is disabled. Semantic add-on includes + /// embeddings and jetstream. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableSemanticAddOn { + get { return disableSemanticAddOn_; } + set { + disableSemanticAddOn_ = value; + } + } + + /// Field number for the "disable_kpi_personalization_add_on" field. + public const int DisableKpiPersonalizationAddOnFieldNumber = 2; + private bool disableKpiPersonalizationAddOn_; + /// + /// Optional. If true, disables event re-ranking and personalization to + /// optimize KPIs & personalize results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableKpiPersonalizationAddOn { + get { return disableKpiPersonalizationAddOn_; } + set { + disableKpiPersonalizationAddOn_ = value; + } + } + + /// Field number for the "disable_generative_answer_add_on" field. + public const int DisableGenerativeAnswerAddOnFieldNumber = 3; + private bool disableGenerativeAnswerAddOn_; + /// + /// Optional. If true, generative answer add-on is disabled. Generative + /// answer add-on includes natural language to filters and simple answers. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DisableGenerativeAnswerAddOn { + get { return disableGenerativeAnswerAddOn_; } + set { + disableGenerativeAnswerAddOn_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SearchAddonSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SearchAddonSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DisableSemanticAddOn != other.DisableSemanticAddOn) return false; + if (DisableKpiPersonalizationAddOn != other.DisableKpiPersonalizationAddOn) return false; + if (DisableGenerativeAnswerAddOn != other.DisableGenerativeAnswerAddOn) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (DisableSemanticAddOn != false) hash ^= DisableSemanticAddOn.GetHashCode(); + if (DisableKpiPersonalizationAddOn != false) hash ^= DisableKpiPersonalizationAddOn.GetHashCode(); + if (DisableGenerativeAnswerAddOn != false) hash ^= DisableGenerativeAnswerAddOn.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (DisableSemanticAddOn != false) { + output.WriteRawTag(8); + output.WriteBool(DisableSemanticAddOn); + } + if (DisableKpiPersonalizationAddOn != false) { + output.WriteRawTag(16); + output.WriteBool(DisableKpiPersonalizationAddOn); + } + if (DisableGenerativeAnswerAddOn != false) { + output.WriteRawTag(24); + output.WriteBool(DisableGenerativeAnswerAddOn); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (DisableSemanticAddOn != false) { + output.WriteRawTag(8); + output.WriteBool(DisableSemanticAddOn); + } + if (DisableKpiPersonalizationAddOn != false) { + output.WriteRawTag(16); + output.WriteBool(DisableKpiPersonalizationAddOn); + } + if (DisableGenerativeAnswerAddOn != false) { + output.WriteRawTag(24); + output.WriteBool(DisableGenerativeAnswerAddOn); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (DisableSemanticAddOn != false) { + size += 1 + 1; + } + if (DisableKpiPersonalizationAddOn != false) { + size += 1 + 1; + } + if (DisableGenerativeAnswerAddOn != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SearchAddonSpec other) { + if (other == null) { + return; + } + if (other.DisableSemanticAddOn != false) { + DisableSemanticAddOn = other.DisableSemanticAddOn; + } + if (other.DisableKpiPersonalizationAddOn != false) { + DisableKpiPersonalizationAddOn = other.DisableKpiPersonalizationAddOn; + } + if (other.DisableGenerativeAnswerAddOn != false) { + DisableGenerativeAnswerAddOn = other.DisableGenerativeAnswerAddOn; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + DisableSemanticAddOn = input.ReadBool(); + break; + } + case 16: { + DisableKpiPersonalizationAddOn = input.ReadBool(); + break; + } + case 24: { + DisableGenerativeAnswerAddOn = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + DisableSemanticAddOn = input.ReadBool(); + break; + } + case 16: { + DisableKpiPersonalizationAddOn = input.ReadBool(); + break; + } + case 24: { + DisableGenerativeAnswerAddOn = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + /// Configuration parameters for the Custom Ranking feature. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomRankingParams : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomRankingParams()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Descriptor.NestedTypes[17]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomRankingParams() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomRankingParams(CustomRankingParams other) : this() { + expressionsToPrecompute_ = other.expressionsToPrecompute_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomRankingParams Clone() { + return new CustomRankingParams(this); + } + + /// Field number for the "expressions_to_precompute" field. + public const int ExpressionsToPrecomputeFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_expressionsToPrecompute_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField expressionsToPrecompute_ = new pbc::RepeatedField(); + /// + /// Optional. A list of ranking expressions (see `ranking_expression` for the + /// syntax documentation) to evaluate. The evaluation results will be + /// returned in + /// `SearchResponse.SearchResult.rank_signals.precomputed_expression_values` + /// field. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExpressionsToPrecompute { + get { return expressionsToPrecompute_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomRankingParams); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomRankingParams other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!expressionsToPrecompute_.Equals(other.expressionsToPrecompute_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= expressionsToPrecompute_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + expressionsToPrecompute_.WriteTo(output, _repeated_expressionsToPrecompute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + expressionsToPrecompute_.WriteTo(ref output, _repeated_expressionsToPrecompute_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += expressionsToPrecompute_.CalculateSize(_repeated_expressionsToPrecompute_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomRankingParams other) { + if (other == null) { + return; + } + expressionsToPrecompute_.Add(other.expressionsToPrecompute_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + expressionsToPrecompute_.AddEntriesFrom(input, _repeated_expressionsToPrecompute_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + expressionsToPrecompute_.AddEntriesFrom(ref input, _repeated_expressionsToPrecompute_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Response message for + /// [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SearchResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchResponse(SearchResponse other) : this() { + results_ = other.results_.Clone(); + facets_ = other.facets_.Clone(); + guidedSearchResult_ = other.guidedSearchResult_ != null ? other.guidedSearchResult_.Clone() : null; + totalSize_ = other.totalSize_; + attributionToken_ = other.attributionToken_; + redirectUri_ = other.redirectUri_; + nextPageToken_ = other.nextPageToken_; + correctedQuery_ = other.correctedQuery_; + suggestedQuery_ = other.suggestedQuery_; + summary_ = other.summary_ != null ? other.summary_.Clone() : null; + appliedControls_ = other.appliedControls_.Clone(); + geoSearchDebugInfo_ = other.geoSearchDebugInfo_.Clone(); + queryExpansionInfo_ = other.queryExpansionInfo_ != null ? other.queryExpansionInfo_.Clone() : null; + naturalLanguageQueryUnderstandingInfo_ = other.naturalLanguageQueryUnderstandingInfo_ != null ? other.naturalLanguageQueryUnderstandingInfo_.Clone() : null; + sessionInfo_ = other.sessionInfo_ != null ? other.sessionInfo_.Clone() : null; + oneBoxResults_ = other.oneBoxResults_.Clone(); + searchLinkPromotions_ = other.searchLinkPromotions_.Clone(); + semanticState_ = other.semanticState_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchResponse Clone() { + return new SearchResponse(this); + } + + /// Field number for the "results" field. + public const int ResultsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_results_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Parser); + private readonly pbc::RepeatedField results_ = new pbc::RepeatedField(); + /// + /// A list of matched documents. The order represents the ranking. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Results { + get { return results_; } + } + + /// Field number for the "facets" field. + public const int FacetsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_facets_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Parser); + private readonly pbc::RepeatedField facets_ = new pbc::RepeatedField(); + /// + /// Results of facets requested by user. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Facets { + get { return facets_; } + } + + /// Field number for the "guided_search_result" field. + public const int GuidedSearchResultFieldNumber = 8; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult guidedSearchResult_; + /// + /// Guided search result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult GuidedSearchResult { + get { return guidedSearchResult_; } + set { + guidedSearchResult_ = value; + } + } + + /// Field number for the "total_size" field. + public const int TotalSizeFieldNumber = 3; + private int totalSize_; + /// + /// The estimated total count of matched items irrespective of pagination. The + /// count of + /// [results][google.cloud.discoveryengine.v1beta.SearchResponse.results] + /// returned by pagination may be less than the + /// [total_size][google.cloud.discoveryengine.v1beta.SearchResponse.total_size] + /// that matches. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TotalSize { + get { return totalSize_; } + set { + totalSize_ = value; + } + } + + /// Field number for the "attribution_token" field. + public const int AttributionTokenFieldNumber = 4; + private string attributionToken_ = ""; + /// + /// A unique search token. This should be included in the + /// [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] logs resulting + /// from this search, which enables accurate attribution of search model + /// performance. This also helps to identify a request during the customer + /// support scenarios. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AttributionToken { + get { return attributionToken_; } + set { + attributionToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "redirect_uri" field. + public const int RedirectUriFieldNumber = 12; + private string redirectUri_ = ""; + /// + /// The URI of a customer-defined redirect page. If redirect action is + /// triggered, no search is performed, and only + /// [redirect_uri][google.cloud.discoveryengine.v1beta.SearchResponse.redirect_uri] + /// and + /// [attribution_token][google.cloud.discoveryengine.v1beta.SearchResponse.attribution_token] + /// are set in the response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RedirectUri { + get { return redirectUri_; } + set { + redirectUri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 5; + private string nextPageToken_ = ""; + /// + /// A token that can be sent as + /// [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] + /// to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "corrected_query" field. + public const int CorrectedQueryFieldNumber = 7; + private string correctedQuery_ = ""; + /// + /// Contains the spell corrected query, if found. If the spell correction type + /// is AUTOMATIC, then the search results are based on corrected_query. + /// Otherwise the original query is used for search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CorrectedQuery { + get { return correctedQuery_; } + set { + correctedQuery_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "suggested_query" field. + public const int SuggestedQueryFieldNumber = 24; + private string suggestedQuery_ = ""; + /// + /// Corrected query with low confidence, AKA did you mean query. + /// Compared with corrected_query, this field is set when SpellCorrector + /// returned a response, but FPR(full page replacement) is not triggered + /// because the corrction is of low confidence(eg, reversed because there are + /// matches of the original query in document corpus). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SuggestedQuery { + get { return suggestedQuery_; } + set { + suggestedQuery_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "summary" field. + public const int SummaryFieldNumber = 9; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary summary_; + /// + /// A summary as part of the search results. + /// This field is only returned if + /// [SearchRequest.ContentSearchSpec.summary_spec][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.summary_spec] + /// is set. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary Summary { + get { return summary_; } + set { + summary_ = value; + } + } + + /// Field number for the "applied_controls" field. + public const int AppliedControlsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_appliedControls_codec + = pb::FieldCodec.ForString(82); + private readonly pbc::RepeatedField appliedControls_ = new pbc::RepeatedField(); + /// + /// Controls applied as part of the Control service. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField AppliedControls { + get { return appliedControls_; } + } + + /// Field number for the "geo_search_debug_info" field. + public const int GeoSearchDebugInfoFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_geoSearchDebugInfo_codec + = pb::FieldCodec.ForMessage(130, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GeoSearchDebugInfo.Parser); + private readonly pbc::RepeatedField geoSearchDebugInfo_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GeoSearchDebugInfo { + get { return geoSearchDebugInfo_; } + } + + /// Field number for the "query_expansion_info" field. + public const int QueryExpansionInfoFieldNumber = 14; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo queryExpansionInfo_; + /// + /// Query expansion information for the returned results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo QueryExpansionInfo { + get { return queryExpansionInfo_; } + set { + queryExpansionInfo_ = value; + } + } + + /// Field number for the "natural_language_query_understanding_info" field. + public const int NaturalLanguageQueryUnderstandingInfoFieldNumber = 15; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo naturalLanguageQueryUnderstandingInfo_; + /// + /// Output only. Natural language query understanding information for the + /// returned results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo NaturalLanguageQueryUnderstandingInfo { + get { return naturalLanguageQueryUnderstandingInfo_; } + set { + naturalLanguageQueryUnderstandingInfo_ = value; + } + } + + /// Field number for the "session_info" field. + public const int SessionInfoFieldNumber = 19; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo sessionInfo_; + /// + /// Session information. + /// + /// Only set if + /// [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] + /// is provided. See its description for more details. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo SessionInfo { + get { return sessionInfo_; } + set { + sessionInfo_ = value; + } + } + + /// Field number for the "one_box_results" field. + public const int OneBoxResultsFieldNumber = 20; + private static readonly pb::FieldCodec _repeated_oneBoxResults_codec + = pb::FieldCodec.ForMessage(162, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.OneBoxResult.Parser); + private readonly pbc::RepeatedField oneBoxResults_ = new pbc::RepeatedField(); + /// + /// A list of One Box results. There can be multiple One Box results of + /// different types. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField OneBoxResults { + get { return oneBoxResults_; } + } + + /// Field number for the "search_link_promotions" field. + public const int SearchLinkPromotionsFieldNumber = 23; + private static readonly pb::FieldCodec _repeated_searchLinkPromotions_codec + = pb::FieldCodec.ForMessage(186, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchLinkPromotion.Parser); + private readonly pbc::RepeatedField searchLinkPromotions_ = new pbc::RepeatedField(); + /// + /// Promotions for site search. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SearchLinkPromotions { + get { return searchLinkPromotions_; } + } + + /// Field number for the "semantic_state" field. + public const int SemanticStateFieldNumber = 36; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState semanticState_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState.Unspecified; + /// + /// Output only. Indicates the semantic state of the search response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState SemanticState { + get { return semanticState_; } + set { + semanticState_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SearchResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SearchResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!results_.Equals(other.results_)) return false; + if(!facets_.Equals(other.facets_)) return false; + if (!object.Equals(GuidedSearchResult, other.GuidedSearchResult)) return false; + if (TotalSize != other.TotalSize) return false; + if (AttributionToken != other.AttributionToken) return false; + if (RedirectUri != other.RedirectUri) return false; + if (NextPageToken != other.NextPageToken) return false; + if (CorrectedQuery != other.CorrectedQuery) return false; + if (SuggestedQuery != other.SuggestedQuery) return false; + if (!object.Equals(Summary, other.Summary)) return false; + if(!appliedControls_.Equals(other.appliedControls_)) return false; + if(!geoSearchDebugInfo_.Equals(other.geoSearchDebugInfo_)) return false; + if (!object.Equals(QueryExpansionInfo, other.QueryExpansionInfo)) return false; + if (!object.Equals(NaturalLanguageQueryUnderstandingInfo, other.NaturalLanguageQueryUnderstandingInfo)) return false; + if (!object.Equals(SessionInfo, other.SessionInfo)) return false; + if(!oneBoxResults_.Equals(other.oneBoxResults_)) return false; + if(!searchLinkPromotions_.Equals(other.searchLinkPromotions_)) return false; + if (SemanticState != other.SemanticState) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= results_.GetHashCode(); + hash ^= facets_.GetHashCode(); + if (guidedSearchResult_ != null) hash ^= GuidedSearchResult.GetHashCode(); + if (TotalSize != 0) hash ^= TotalSize.GetHashCode(); + if (AttributionToken.Length != 0) hash ^= AttributionToken.GetHashCode(); + if (RedirectUri.Length != 0) hash ^= RedirectUri.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (CorrectedQuery.Length != 0) hash ^= CorrectedQuery.GetHashCode(); + if (SuggestedQuery.Length != 0) hash ^= SuggestedQuery.GetHashCode(); + if (summary_ != null) hash ^= Summary.GetHashCode(); + hash ^= appliedControls_.GetHashCode(); + hash ^= geoSearchDebugInfo_.GetHashCode(); + if (queryExpansionInfo_ != null) hash ^= QueryExpansionInfo.GetHashCode(); + if (naturalLanguageQueryUnderstandingInfo_ != null) hash ^= NaturalLanguageQueryUnderstandingInfo.GetHashCode(); + if (sessionInfo_ != null) hash ^= SessionInfo.GetHashCode(); + hash ^= oneBoxResults_.GetHashCode(); + hash ^= searchLinkPromotions_.GetHashCode(); + if (SemanticState != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState.Unspecified) hash ^= SemanticState.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + results_.WriteTo(output, _repeated_results_codec); + facets_.WriteTo(output, _repeated_facets_codec); + if (TotalSize != 0) { + output.WriteRawTag(24); + output.WriteInt32(TotalSize); + } + if (AttributionToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AttributionToken); + } + if (NextPageToken.Length != 0) { + output.WriteRawTag(42); + output.WriteString(NextPageToken); + } + if (CorrectedQuery.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CorrectedQuery); + } + if (guidedSearchResult_ != null) { + output.WriteRawTag(66); + output.WriteMessage(GuidedSearchResult); + } + if (summary_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Summary); + } + appliedControls_.WriteTo(output, _repeated_appliedControls_codec); + if (RedirectUri.Length != 0) { + output.WriteRawTag(98); + output.WriteString(RedirectUri); + } + if (queryExpansionInfo_ != null) { + output.WriteRawTag(114); + output.WriteMessage(QueryExpansionInfo); + } + if (naturalLanguageQueryUnderstandingInfo_ != null) { + output.WriteRawTag(122); + output.WriteMessage(NaturalLanguageQueryUnderstandingInfo); + } + geoSearchDebugInfo_.WriteTo(output, _repeated_geoSearchDebugInfo_codec); + if (sessionInfo_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(SessionInfo); + } + oneBoxResults_.WriteTo(output, _repeated_oneBoxResults_codec); + searchLinkPromotions_.WriteTo(output, _repeated_searchLinkPromotions_codec); + if (SuggestedQuery.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(SuggestedQuery); + } + if (SemanticState != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState.Unspecified) { + output.WriteRawTag(160, 2); + output.WriteEnum((int) SemanticState); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + results_.WriteTo(ref output, _repeated_results_codec); + facets_.WriteTo(ref output, _repeated_facets_codec); + if (TotalSize != 0) { + output.WriteRawTag(24); + output.WriteInt32(TotalSize); + } + if (AttributionToken.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AttributionToken); + } + if (NextPageToken.Length != 0) { + output.WriteRawTag(42); + output.WriteString(NextPageToken); + } + if (CorrectedQuery.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CorrectedQuery); + } + if (guidedSearchResult_ != null) { + output.WriteRawTag(66); + output.WriteMessage(GuidedSearchResult); + } + if (summary_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Summary); + } + appliedControls_.WriteTo(ref output, _repeated_appliedControls_codec); + if (RedirectUri.Length != 0) { + output.WriteRawTag(98); + output.WriteString(RedirectUri); + } + if (queryExpansionInfo_ != null) { + output.WriteRawTag(114); + output.WriteMessage(QueryExpansionInfo); + } + if (naturalLanguageQueryUnderstandingInfo_ != null) { + output.WriteRawTag(122); + output.WriteMessage(NaturalLanguageQueryUnderstandingInfo); + } + geoSearchDebugInfo_.WriteTo(ref output, _repeated_geoSearchDebugInfo_codec); + if (sessionInfo_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(SessionInfo); + } + oneBoxResults_.WriteTo(ref output, _repeated_oneBoxResults_codec); + searchLinkPromotions_.WriteTo(ref output, _repeated_searchLinkPromotions_codec); + if (SuggestedQuery.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(SuggestedQuery); + } + if (SemanticState != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState.Unspecified) { + output.WriteRawTag(160, 2); + output.WriteEnum((int) SemanticState); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += results_.CalculateSize(_repeated_results_codec); + size += facets_.CalculateSize(_repeated_facets_codec); + if (guidedSearchResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GuidedSearchResult); + } + if (TotalSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalSize); + } + if (AttributionToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributionToken); + } + if (RedirectUri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RedirectUri); + } + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (CorrectedQuery.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrectedQuery); + } + if (SuggestedQuery.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(SuggestedQuery); + } + if (summary_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Summary); + } + size += appliedControls_.CalculateSize(_repeated_appliedControls_codec); + size += geoSearchDebugInfo_.CalculateSize(_repeated_geoSearchDebugInfo_codec); + if (queryExpansionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(QueryExpansionInfo); + } + if (naturalLanguageQueryUnderstandingInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NaturalLanguageQueryUnderstandingInfo); + } + if (sessionInfo_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SessionInfo); + } + size += oneBoxResults_.CalculateSize(_repeated_oneBoxResults_codec); + size += searchLinkPromotions_.CalculateSize(_repeated_searchLinkPromotions_codec); + if (SemanticState != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState.Unspecified) { + size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SemanticState); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } return size; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SearchResponse other) { - if (other == null) { - return; - } - results_.Add(other.results_); - facets_.Add(other.facets_); - if (other.guidedSearchResult_ != null) { - if (guidedSearchResult_ == null) { - GuidedSearchResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult(); - } - GuidedSearchResult.MergeFrom(other.GuidedSearchResult); - } - if (other.TotalSize != 0) { - TotalSize = other.TotalSize; - } - if (other.AttributionToken.Length != 0) { - AttributionToken = other.AttributionToken; - } - if (other.RedirectUri.Length != 0) { - RedirectUri = other.RedirectUri; - } - if (other.NextPageToken.Length != 0) { - NextPageToken = other.NextPageToken; - } - if (other.CorrectedQuery.Length != 0) { - CorrectedQuery = other.CorrectedQuery; - } - if (other.summary_ != null) { - if (summary_ == null) { - Summary = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary(); - } - Summary.MergeFrom(other.Summary); - } - appliedControls_.Add(other.appliedControls_); - geoSearchDebugInfo_.Add(other.geoSearchDebugInfo_); - if (other.queryExpansionInfo_ != null) { - if (queryExpansionInfo_ == null) { - QueryExpansionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo(); - } - QueryExpansionInfo.MergeFrom(other.QueryExpansionInfo); - } - if (other.naturalLanguageQueryUnderstandingInfo_ != null) { - if (naturalLanguageQueryUnderstandingInfo_ == null) { - NaturalLanguageQueryUnderstandingInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo(); - } - NaturalLanguageQueryUnderstandingInfo.MergeFrom(other.NaturalLanguageQueryUnderstandingInfo); - } - if (other.sessionInfo_ != null) { - if (sessionInfo_ == null) { - SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo(); - } - SessionInfo.MergeFrom(other.SessionInfo); - } - oneBoxResults_.Add(other.oneBoxResults_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SearchResponse other) { + if (other == null) { + return; + } + results_.Add(other.results_); + facets_.Add(other.facets_); + if (other.guidedSearchResult_ != null) { + if (guidedSearchResult_ == null) { + GuidedSearchResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult(); + } + GuidedSearchResult.MergeFrom(other.GuidedSearchResult); + } + if (other.TotalSize != 0) { + TotalSize = other.TotalSize; + } + if (other.AttributionToken.Length != 0) { + AttributionToken = other.AttributionToken; + } + if (other.RedirectUri.Length != 0) { + RedirectUri = other.RedirectUri; + } + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + if (other.CorrectedQuery.Length != 0) { + CorrectedQuery = other.CorrectedQuery; + } + if (other.SuggestedQuery.Length != 0) { + SuggestedQuery = other.SuggestedQuery; + } + if (other.summary_ != null) { + if (summary_ == null) { + Summary = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary(); + } + Summary.MergeFrom(other.Summary); + } + appliedControls_.Add(other.appliedControls_); + geoSearchDebugInfo_.Add(other.geoSearchDebugInfo_); + if (other.queryExpansionInfo_ != null) { + if (queryExpansionInfo_ == null) { + QueryExpansionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo(); + } + QueryExpansionInfo.MergeFrom(other.QueryExpansionInfo); + } + if (other.naturalLanguageQueryUnderstandingInfo_ != null) { + if (naturalLanguageQueryUnderstandingInfo_ == null) { + NaturalLanguageQueryUnderstandingInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo(); + } + NaturalLanguageQueryUnderstandingInfo.MergeFrom(other.NaturalLanguageQueryUnderstandingInfo); + } + if (other.sessionInfo_ != null) { + if (sessionInfo_ == null) { + SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo(); + } + SessionInfo.MergeFrom(other.SessionInfo); + } + oneBoxResults_.Add(other.oneBoxResults_); + searchLinkPromotions_.Add(other.searchLinkPromotions_); + if (other.SemanticState != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState.Unspecified) { + SemanticState = other.SemanticState; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + results_.AddEntriesFrom(input, _repeated_results_codec); + break; + } + case 18: { + facets_.AddEntriesFrom(input, _repeated_facets_codec); + break; + } + case 24: { + TotalSize = input.ReadInt32(); + break; + } + case 34: { + AttributionToken = input.ReadString(); + break; + } + case 42: { + NextPageToken = input.ReadString(); + break; + } + case 58: { + CorrectedQuery = input.ReadString(); + break; + } + case 66: { + if (guidedSearchResult_ == null) { + GuidedSearchResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult(); + } + input.ReadMessage(GuidedSearchResult); + break; + } + case 74: { + if (summary_ == null) { + Summary = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary(); + } + input.ReadMessage(Summary); + break; + } + case 82: { + appliedControls_.AddEntriesFrom(input, _repeated_appliedControls_codec); + break; + } + case 98: { + RedirectUri = input.ReadString(); + break; + } + case 114: { + if (queryExpansionInfo_ == null) { + QueryExpansionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo(); + } + input.ReadMessage(QueryExpansionInfo); + break; + } + case 122: { + if (naturalLanguageQueryUnderstandingInfo_ == null) { + NaturalLanguageQueryUnderstandingInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo(); + } + input.ReadMessage(NaturalLanguageQueryUnderstandingInfo); + break; + } + case 130: { + geoSearchDebugInfo_.AddEntriesFrom(input, _repeated_geoSearchDebugInfo_codec); + break; + } + case 154: { + if (sessionInfo_ == null) { + SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + case 162: { + oneBoxResults_.AddEntriesFrom(input, _repeated_oneBoxResults_codec); + break; + } + case 186: { + searchLinkPromotions_.AddEntriesFrom(input, _repeated_searchLinkPromotions_codec); + break; + } + case 194: { + SuggestedQuery = input.ReadString(); + break; + } + case 288: { + SemanticState = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + results_.AddEntriesFrom(ref input, _repeated_results_codec); + break; + } + case 18: { + facets_.AddEntriesFrom(ref input, _repeated_facets_codec); + break; + } + case 24: { + TotalSize = input.ReadInt32(); + break; + } + case 34: { + AttributionToken = input.ReadString(); + break; + } + case 42: { + NextPageToken = input.ReadString(); + break; + } + case 58: { + CorrectedQuery = input.ReadString(); + break; + } + case 66: { + if (guidedSearchResult_ == null) { + GuidedSearchResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult(); + } + input.ReadMessage(GuidedSearchResult); + break; + } + case 74: { + if (summary_ == null) { + Summary = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary(); + } + input.ReadMessage(Summary); + break; + } + case 82: { + appliedControls_.AddEntriesFrom(ref input, _repeated_appliedControls_codec); + break; + } + case 98: { + RedirectUri = input.ReadString(); + break; + } + case 114: { + if (queryExpansionInfo_ == null) { + QueryExpansionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo(); + } + input.ReadMessage(QueryExpansionInfo); + break; + } + case 122: { + if (naturalLanguageQueryUnderstandingInfo_ == null) { + NaturalLanguageQueryUnderstandingInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo(); + } + input.ReadMessage(NaturalLanguageQueryUnderstandingInfo); + break; + } + case 130: { + geoSearchDebugInfo_.AddEntriesFrom(ref input, _repeated_geoSearchDebugInfo_codec); + break; + } + case 154: { + if (sessionInfo_ == null) { + SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo(); + } + input.ReadMessage(SessionInfo); + break; + } + case 162: { + oneBoxResults_.AddEntriesFrom(ref input, _repeated_oneBoxResults_codec); + break; + } + case 186: { + searchLinkPromotions_.AddEntriesFrom(ref input, _repeated_searchLinkPromotions_codec); + break; + } + case 194: { + SuggestedQuery = input.ReadString(); + break; + } + case 288: { + SemanticState = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SemanticState) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the SearchResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Semantic state of the search response. + /// + public enum SemanticState { + /// + /// Default value. Should not be used. + /// + [pbr::OriginalName("SEMANTIC_STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// Semantic search was disabled for this search response. + /// + [pbr::OriginalName("DISABLED")] Disabled = 1, + /// + /// Semantic search was enabled for this search response. + /// + [pbr::OriginalName("ENABLED")] Enabled = 2, + } + + /// + /// Represents the search results. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SearchResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchResult(SearchResult other) : this() { + id_ = other.id_; + document_ = other.document_ != null ? other.document_.Clone() : null; + chunk_ = other.chunk_ != null ? other.chunk_.Clone() : null; + modelScores_ = other.modelScores_.Clone(); + rankSignals_ = other.rankSignals_ != null ? other.rankSignals_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SearchResult Clone() { + return new SearchResult(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// [Document.id][google.cloud.discoveryengine.v1beta.Document.id] of the + /// searched [Document][google.cloud.discoveryengine.v1beta.Document]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "document" field. + public const int DocumentFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Document document_; + /// + /// The document data snippet in the search response. Only fields that are + /// marked as `retrievable` are populated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Document Document { + get { return document_; } + set { + document_ = value; + } + } + + /// Field number for the "chunk" field. + public const int ChunkFieldNumber = 18; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk chunk_; + /// + /// The chunk data in the search response if the + /// [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.search_result_mode] + /// is set to + /// [CHUNKS][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk Chunk { + get { return chunk_; } + set { + chunk_ = value; + } + } + + /// Field number for the "model_scores" field. + public const int ModelScoresFieldNumber = 4; + private static readonly pbc::MapField.Codec _map_modelScores_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.DoubleList.Parser), 34); + private readonly pbc::MapField modelScores_ = new pbc::MapField(); + /// + /// Output only. Google provided available scores. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField ModelScores { + get { return modelScores_; } + } + + /// Field number for the "rank_signals" field. + public const int RankSignalsFieldNumber = 7; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals rankSignals_; + /// + /// Optional. A set of ranking signals associated with the result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals RankSignals { + get { return rankSignals_; } + set { + rankSignals_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SearchResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SearchResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(Document, other.Document)) return false; + if (!object.Equals(Chunk, other.Chunk)) return false; + if (!ModelScores.Equals(other.ModelScores)) return false; + if (!object.Equals(RankSignals, other.RankSignals)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id.Length != 0) hash ^= Id.GetHashCode(); + if (document_ != null) hash ^= Document.GetHashCode(); + if (chunk_ != null) hash ^= Chunk.GetHashCode(); + hash ^= ModelScores.GetHashCode(); + if (rankSignals_ != null) hash ^= RankSignals.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (document_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Document); + } + modelScores_.WriteTo(output, _map_modelScores_codec); + if (rankSignals_ != null) { + output.WriteRawTag(58); + output.WriteMessage(RankSignals); + } + if (chunk_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(Chunk); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (document_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Document); + } + modelScores_.WriteTo(ref output, _map_modelScores_codec); + if (rankSignals_ != null) { + output.WriteRawTag(58); + output.WriteMessage(RankSignals); + } + if (chunk_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(Chunk); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (document_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Document); + } + if (chunk_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Chunk); + } + size += modelScores_.CalculateSize(_map_modelScores_codec); + if (rankSignals_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RankSignals); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SearchResult other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.document_ != null) { + if (document_ == null) { + Document = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document(); + } + Document.MergeFrom(other.Document); + } + if (other.chunk_ != null) { + if (chunk_ == null) { + Chunk = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk(); + } + Chunk.MergeFrom(other.Chunk); + } + modelScores_.MergeFrom(other.modelScores_); + if (other.rankSignals_ != null) { + if (rankSignals_ == null) { + RankSignals = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals(); + } + RankSignals.MergeFrom(other.RankSignals); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + if (document_ == null) { + Document = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document(); + } + input.ReadMessage(Document); + break; + } + case 34: { + modelScores_.AddEntriesFrom(input, _map_modelScores_codec); + break; + } + case 58: { + if (rankSignals_ == null) { + RankSignals = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals(); + } + input.ReadMessage(RankSignals); + break; + } + case 146: { + if (chunk_ == null) { + Chunk = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk(); + } + input.ReadMessage(Chunk); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + case 18: { + if (document_ == null) { + Document = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document(); + } + input.ReadMessage(Document); + break; + } + case 34: { + modelScores_.AddEntriesFrom(ref input, _map_modelScores_codec); + break; + } + case 58: { + if (rankSignals_ == null) { + RankSignals = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals(); + } + input.ReadMessage(RankSignals); + break; + } + case 146: { + if (chunk_ == null) { + Chunk = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk(); + } + input.ReadMessage(Chunk); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the SearchResult message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// A set of ranking signals. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RankSignals : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RankSignals()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankSignals() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankSignals(RankSignals other) : this() { + _hasBits0 = other._hasBits0; + keywordSimilarityScore_ = other.keywordSimilarityScore_; + relevanceScore_ = other.relevanceScore_; + semanticSimilarityScore_ = other.semanticSimilarityScore_; + pctrRank_ = other.pctrRank_; + topicalityRank_ = other.topicalityRank_; + documentAge_ = other.documentAge_; + boostingFactor_ = other.boostingFactor_; + defaultRank_ = other.defaultRank_; + customSignals_ = other.customSignals_.Clone(); + precomputedExpressionValues_ = other.precomputedExpressionValues_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankSignals Clone() { + return new RankSignals(this); + } + + /// Field number for the "keyword_similarity_score" field. + public const int KeywordSimilarityScoreFieldNumber = 1; + private readonly static float KeywordSimilarityScoreDefaultValue = 0F; + + private float keywordSimilarityScore_; + /// + /// Optional. Keyword matching adjustment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float KeywordSimilarityScore { + get { if ((_hasBits0 & 1) != 0) { return keywordSimilarityScore_; } else { return KeywordSimilarityScoreDefaultValue; } } + set { + _hasBits0 |= 1; + keywordSimilarityScore_ = value; + } + } + /// Gets whether the "keyword_similarity_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasKeywordSimilarityScore { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "keyword_similarity_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearKeywordSimilarityScore() { + _hasBits0 &= ~1; + } + + /// Field number for the "relevance_score" field. + public const int RelevanceScoreFieldNumber = 2; + private readonly static float RelevanceScoreDefaultValue = 0F; + + private float relevanceScore_; + /// + /// Optional. Semantic relevance adjustment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float RelevanceScore { + get { if ((_hasBits0 & 2) != 0) { return relevanceScore_; } else { return RelevanceScoreDefaultValue; } } + set { + _hasBits0 |= 2; + relevanceScore_ = value; + } + } + /// Gets whether the "relevance_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRelevanceScore { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "relevance_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRelevanceScore() { + _hasBits0 &= ~2; + } + + /// Field number for the "semantic_similarity_score" field. + public const int SemanticSimilarityScoreFieldNumber = 3; + private readonly static float SemanticSimilarityScoreDefaultValue = 0F; + + private float semanticSimilarityScore_; + /// + /// Optional. Semantic similarity adjustment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float SemanticSimilarityScore { + get { if ((_hasBits0 & 4) != 0) { return semanticSimilarityScore_; } else { return SemanticSimilarityScoreDefaultValue; } } + set { + _hasBits0 |= 4; + semanticSimilarityScore_ = value; + } + } + /// Gets whether the "semantic_similarity_score" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSemanticSimilarityScore { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "semantic_similarity_score" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSemanticSimilarityScore() { + _hasBits0 &= ~4; + } + + /// Field number for the "pctr_rank" field. + public const int PctrRankFieldNumber = 4; + private readonly static float PctrRankDefaultValue = 0F; + + private float pctrRank_; + /// + /// Optional. Predicted conversion rate adjustment as a rank. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float PctrRank { + get { if ((_hasBits0 & 8) != 0) { return pctrRank_; } else { return PctrRankDefaultValue; } } + set { + _hasBits0 |= 8; + pctrRank_ = value; + } + } + /// Gets whether the "pctr_rank" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPctrRank { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "pctr_rank" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPctrRank() { + _hasBits0 &= ~8; + } + + /// Field number for the "topicality_rank" field. + public const int TopicalityRankFieldNumber = 6; + private readonly static float TopicalityRankDefaultValue = 0F; + + private float topicalityRank_; + /// + /// Optional. Topicality adjustment as a rank. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float TopicalityRank { + get { if ((_hasBits0 & 16) != 0) { return topicalityRank_; } else { return TopicalityRankDefaultValue; } } + set { + _hasBits0 |= 16; + topicalityRank_ = value; + } + } + /// Gets whether the "topicality_rank" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTopicalityRank { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "topicality_rank" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTopicalityRank() { + _hasBits0 &= ~16; + } + + /// Field number for the "document_age" field. + public const int DocumentAgeFieldNumber = 7; + private readonly static float DocumentAgeDefaultValue = 0F; + + private float documentAge_; + /// + /// Optional. Age of the document in hours. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DocumentAge { + get { if ((_hasBits0 & 32) != 0) { return documentAge_; } else { return DocumentAgeDefaultValue; } } + set { + _hasBits0 |= 32; + documentAge_ = value; + } + } + /// Gets whether the "document_age" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDocumentAge { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "document_age" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDocumentAge() { + _hasBits0 &= ~32; + } + + /// Field number for the "boosting_factor" field. + public const int BoostingFactorFieldNumber = 8; + private readonly static float BoostingFactorDefaultValue = 0F; + + private float boostingFactor_; + /// + /// Optional. Combined custom boosts for a doc. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float BoostingFactor { + get { if ((_hasBits0 & 64) != 0) { return boostingFactor_; } else { return BoostingFactorDefaultValue; } } + set { + _hasBits0 |= 64; + boostingFactor_ = value; + } + } + /// Gets whether the "boosting_factor" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoostingFactor { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "boosting_factor" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoostingFactor() { + _hasBits0 &= ~64; + } + + /// Field number for the "default_rank" field. + public const int DefaultRankFieldNumber = 32; + private float defaultRank_; + /// + /// Optional. The default rank of the result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float DefaultRank { + get { return defaultRank_; } + set { + defaultRank_ = value; + } + } + + /// Field number for the "custom_signals" field. + public const int CustomSignalsFieldNumber = 33; + private static readonly pb::FieldCodec _repeated_customSignals_codec + = pb::FieldCodec.ForMessage(266, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal.Parser); + private readonly pbc::RepeatedField customSignals_ = new pbc::RepeatedField(); + /// + /// Optional. A list of custom clearbox signals. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CustomSignals { + get { return customSignals_; } + } + + /// Field number for the "precomputed_expression_values" field. + public const int PrecomputedExpressionValuesFieldNumber = 34; + private static readonly pb::FieldCodec _repeated_precomputedExpressionValues_codec + = pb::FieldCodec.ForFloat(274); + private readonly pbc::RepeatedField precomputedExpressionValues_ = new pbc::RepeatedField(); + /// + /// Optional. A list of precomputed expression results for a given + /// document, in the same order as requested in + /// `SearchRequest.custom_ranking_params.expressions_to_precompute`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PrecomputedExpressionValues { + get { return precomputedExpressionValues_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RankSignals); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RankSignals other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(KeywordSimilarityScore, other.KeywordSimilarityScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RelevanceScore, other.RelevanceScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SemanticSimilarityScore, other.SemanticSimilarityScore)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PctrRank, other.PctrRank)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TopicalityRank, other.TopicalityRank)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DocumentAge, other.DocumentAge)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BoostingFactor, other.BoostingFactor)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DefaultRank, other.DefaultRank)) return false; + if(!customSignals_.Equals(other.customSignals_)) return false; + if(!precomputedExpressionValues_.Equals(other.precomputedExpressionValues_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasKeywordSimilarityScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(KeywordSimilarityScore); + if (HasRelevanceScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RelevanceScore); + if (HasSemanticSimilarityScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SemanticSimilarityScore); + if (HasPctrRank) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PctrRank); + if (HasTopicalityRank) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TopicalityRank); + if (HasDocumentAge) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DocumentAge); + if (HasBoostingFactor) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BoostingFactor); + if (DefaultRank != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DefaultRank); + hash ^= customSignals_.GetHashCode(); + hash ^= precomputedExpressionValues_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasKeywordSimilarityScore) { + output.WriteRawTag(13); + output.WriteFloat(KeywordSimilarityScore); + } + if (HasRelevanceScore) { + output.WriteRawTag(21); + output.WriteFloat(RelevanceScore); + } + if (HasSemanticSimilarityScore) { + output.WriteRawTag(29); + output.WriteFloat(SemanticSimilarityScore); + } + if (HasPctrRank) { + output.WriteRawTag(37); + output.WriteFloat(PctrRank); + } + if (HasTopicalityRank) { + output.WriteRawTag(53); + output.WriteFloat(TopicalityRank); + } + if (HasDocumentAge) { + output.WriteRawTag(61); + output.WriteFloat(DocumentAge); + } + if (HasBoostingFactor) { + output.WriteRawTag(69); + output.WriteFloat(BoostingFactor); + } + if (DefaultRank != 0F) { + output.WriteRawTag(133, 2); + output.WriteFloat(DefaultRank); + } + customSignals_.WriteTo(output, _repeated_customSignals_codec); + precomputedExpressionValues_.WriteTo(output, _repeated_precomputedExpressionValues_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasKeywordSimilarityScore) { + output.WriteRawTag(13); + output.WriteFloat(KeywordSimilarityScore); + } + if (HasRelevanceScore) { + output.WriteRawTag(21); + output.WriteFloat(RelevanceScore); + } + if (HasSemanticSimilarityScore) { + output.WriteRawTag(29); + output.WriteFloat(SemanticSimilarityScore); + } + if (HasPctrRank) { + output.WriteRawTag(37); + output.WriteFloat(PctrRank); + } + if (HasTopicalityRank) { + output.WriteRawTag(53); + output.WriteFloat(TopicalityRank); + } + if (HasDocumentAge) { + output.WriteRawTag(61); + output.WriteFloat(DocumentAge); + } + if (HasBoostingFactor) { + output.WriteRawTag(69); + output.WriteFloat(BoostingFactor); + } + if (DefaultRank != 0F) { + output.WriteRawTag(133, 2); + output.WriteFloat(DefaultRank); + } + customSignals_.WriteTo(ref output, _repeated_customSignals_codec); + precomputedExpressionValues_.WriteTo(ref output, _repeated_precomputedExpressionValues_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasKeywordSimilarityScore) { + size += 1 + 4; + } + if (HasRelevanceScore) { + size += 1 + 4; + } + if (HasSemanticSimilarityScore) { + size += 1 + 4; + } + if (HasPctrRank) { + size += 1 + 4; + } + if (HasTopicalityRank) { + size += 1 + 4; + } + if (HasDocumentAge) { + size += 1 + 4; + } + if (HasBoostingFactor) { + size += 1 + 4; + } + if (DefaultRank != 0F) { + size += 2 + 4; + } + size += customSignals_.CalculateSize(_repeated_customSignals_codec); + size += precomputedExpressionValues_.CalculateSize(_repeated_precomputedExpressionValues_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RankSignals other) { + if (other == null) { + return; + } + if (other.HasKeywordSimilarityScore) { + KeywordSimilarityScore = other.KeywordSimilarityScore; + } + if (other.HasRelevanceScore) { + RelevanceScore = other.RelevanceScore; + } + if (other.HasSemanticSimilarityScore) { + SemanticSimilarityScore = other.SemanticSimilarityScore; + } + if (other.HasPctrRank) { + PctrRank = other.PctrRank; + } + if (other.HasTopicalityRank) { + TopicalityRank = other.TopicalityRank; + } + if (other.HasDocumentAge) { + DocumentAge = other.DocumentAge; + } + if (other.HasBoostingFactor) { + BoostingFactor = other.BoostingFactor; + } + if (other.DefaultRank != 0F) { + DefaultRank = other.DefaultRank; + } + customSignals_.Add(other.customSignals_); + precomputedExpressionValues_.Add(other.precomputedExpressionValues_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + KeywordSimilarityScore = input.ReadFloat(); + break; + } + case 21: { + RelevanceScore = input.ReadFloat(); + break; + } + case 29: { + SemanticSimilarityScore = input.ReadFloat(); + break; + } + case 37: { + PctrRank = input.ReadFloat(); + break; + } + case 53: { + TopicalityRank = input.ReadFloat(); + break; + } + case 61: { + DocumentAge = input.ReadFloat(); + break; + } + case 69: { + BoostingFactor = input.ReadFloat(); + break; + } + case 261: { + DefaultRank = input.ReadFloat(); + break; + } + case 266: { + customSignals_.AddEntriesFrom(input, _repeated_customSignals_codec); + break; + } + case 274: + case 277: { + precomputedExpressionValues_.AddEntriesFrom(input, _repeated_precomputedExpressionValues_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + KeywordSimilarityScore = input.ReadFloat(); + break; + } + case 21: { + RelevanceScore = input.ReadFloat(); + break; + } + case 29: { + SemanticSimilarityScore = input.ReadFloat(); + break; + } + case 37: { + PctrRank = input.ReadFloat(); + break; + } + case 53: { + TopicalityRank = input.ReadFloat(); + break; + } + case 61: { + DocumentAge = input.ReadFloat(); + break; + } + case 69: { + BoostingFactor = input.ReadFloat(); + break; + } + case 261: { + DefaultRank = input.ReadFloat(); + break; + } + case 266: { + customSignals_.AddEntriesFrom(ref input, _repeated_customSignals_codec); + break; + } + case 274: + case 277: { + precomputedExpressionValues_.AddEntriesFrom(ref input, _repeated_precomputedExpressionValues_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the RankSignals message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// Custom clearbox signal represented by name and value pair. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CustomSignal : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomSignal()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomSignal() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomSignal(CustomSignal other) : this() { + name_ = other.name_; + value_ = other.value_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CustomSignal Clone() { + return new CustomSignal(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Optional. Name of the signal. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 2; + private float value_; + /// + /// Optional. Float value representing the ranking signal (e.g. 1.25 for + /// BM25). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Value { + get { return value_; } + set { + value_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CustomSignal); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CustomSignal other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Value != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Value != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Value); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Value != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CustomSignal other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Value != 0F) { + Value = other.Value; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 21: { + Value = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 21: { + Value = input.ReadFloat(); + break; + } + } + } + } + #endif + + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - results_.AddEntriesFrom(input, _repeated_results_codec); - break; - } - case 18: { - facets_.AddEntriesFrom(input, _repeated_facets_codec); - break; - } - case 24: { - TotalSize = input.ReadInt32(); - break; - } - case 34: { - AttributionToken = input.ReadString(); - break; - } - case 42: { - NextPageToken = input.ReadString(); - break; - } - case 58: { - CorrectedQuery = input.ReadString(); - break; - } - case 66: { - if (guidedSearchResult_ == null) { - GuidedSearchResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult(); - } - input.ReadMessage(GuidedSearchResult); - break; - } - case 74: { - if (summary_ == null) { - Summary = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary(); - } - input.ReadMessage(Summary); - break; - } - case 82: { - appliedControls_.AddEntriesFrom(input, _repeated_appliedControls_codec); - break; - } - case 98: { - RedirectUri = input.ReadString(); - break; - } - case 114: { - if (queryExpansionInfo_ == null) { - QueryExpansionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo(); } - input.ReadMessage(QueryExpansionInfo); - break; - } - case 122: { - if (naturalLanguageQueryUnderstandingInfo_ == null) { - NaturalLanguageQueryUnderstandingInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo(); - } - input.ReadMessage(NaturalLanguageQueryUnderstandingInfo); - break; - } - case 130: { - geoSearchDebugInfo_.AddEntriesFrom(input, _repeated_geoSearchDebugInfo_codec); - break; - } - case 154: { - if (sessionInfo_ == null) { - SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo(); - } - input.ReadMessage(SessionInfo); - break; - } - case 162: { - oneBoxResults_.AddEntriesFrom(input, _repeated_oneBoxResults_codec); - break; - } - } - } - #endif - } + #endregion - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - results_.AddEntriesFrom(ref input, _repeated_results_codec); - break; - } - case 18: { - facets_.AddEntriesFrom(ref input, _repeated_facets_codec); - break; - } - case 24: { - TotalSize = input.ReadInt32(); - break; - } - case 34: { - AttributionToken = input.ReadString(); - break; - } - case 42: { - NextPageToken = input.ReadString(); - break; - } - case 58: { - CorrectedQuery = input.ReadString(); - break; - } - case 66: { - if (guidedSearchResult_ == null) { - GuidedSearchResult = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult(); - } - input.ReadMessage(GuidedSearchResult); - break; - } - case 74: { - if (summary_ == null) { - Summary = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary(); - } - input.ReadMessage(Summary); - break; - } - case 82: { - appliedControls_.AddEntriesFrom(ref input, _repeated_appliedControls_codec); - break; - } - case 98: { - RedirectUri = input.ReadString(); - break; - } - case 114: { - if (queryExpansionInfo_ == null) { - QueryExpansionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.QueryExpansionInfo(); - } - input.ReadMessage(QueryExpansionInfo); - break; - } - case 122: { - if (naturalLanguageQueryUnderstandingInfo_ == null) { - NaturalLanguageQueryUnderstandingInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo(); - } - input.ReadMessage(NaturalLanguageQueryUnderstandingInfo); - break; - } - case 130: { - geoSearchDebugInfo_.AddEntriesFrom(ref input, _repeated_geoSearchDebugInfo_codec); - break; - } - case 154: { - if (sessionInfo_ == null) { - SessionInfo = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SessionInfo(); - } - input.ReadMessage(SessionInfo); - break; - } - case 162: { - oneBoxResults_.AddEntriesFrom(ref input, _repeated_oneBoxResults_codec); - break; } + } + #endregion + } - } - #endif - #region Nested types - /// Container for nested types declared in the SearchResponse message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { /// - /// Represents the search results. + /// A facet result. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SearchResult : pb::IMessage + public sealed partial class Facet : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SearchResult()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Facet()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10071,7 +14355,7 @@ public sealed partial class SearchResult : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SearchResult() { + public Facet() { OnConstruction(); } @@ -10079,120 +14363,82 @@ public SearchResult() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SearchResult(SearchResult other) : this() { - id_ = other.id_; - document_ = other.document_ != null ? other.document_.Clone() : null; - chunk_ = other.chunk_ != null ? other.chunk_.Clone() : null; - modelScores_ = other.modelScores_.Clone(); - rankSignals_ = other.rankSignals_ != null ? other.rankSignals_.Clone() : null; + public Facet(Facet other) : this() { + key_ = other.key_; + values_ = other.values_.Clone(); + dynamicFacet_ = other.dynamicFacet_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SearchResult Clone() { - return new SearchResult(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - /// - /// [Document.id][google.cloud.discoveryengine.v1beta.Document.id] of the - /// searched [Document][google.cloud.discoveryengine.v1beta.Document]. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "document" field. - public const int DocumentFieldNumber = 2; - private global::Google.Cloud.DiscoveryEngine.V1Beta.Document document_; - /// - /// The document data snippet in the search response. Only fields that are - /// marked as `retrievable` are populated. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Document Document { - get { return document_; } - set { - document_ = value; - } + public Facet Clone() { + return new Facet(this); } - /// Field number for the "chunk" field. - public const int ChunkFieldNumber = 18; - private global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk chunk_; + /// Field number for the "key" field. + public const int KeyFieldNumber = 1; + private string key_ = ""; /// - /// The chunk data in the search response if the - /// [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.search_result_mode] - /// is set to - /// [CHUNKS][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS]. + /// The key for this facet. For example, `"colors"` or `"price"`. It matches + /// [SearchRequest.FacetSpec.FacetKey.key][google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec.FacetKey.key]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk Chunk { - get { return chunk_; } + public string Key { + get { return key_; } set { - chunk_ = value; + key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "model_scores" field. - public const int ModelScoresFieldNumber = 4; - private static readonly pbc::MapField.Codec _map_modelScores_codec - = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.DoubleList.Parser), 34); - private readonly pbc::MapField modelScores_ = new pbc::MapField(); + /// Field number for the "values" field. + public const int ValuesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_values_codec + = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Types.FacetValue.Parser); + private readonly pbc::RepeatedField values_ = new pbc::RepeatedField(); /// - /// Google provided available scores. + /// The facet values for this field. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::MapField ModelScores { - get { return modelScores_; } + public pbc::RepeatedField Values { + get { return values_; } } - /// Field number for the "rank_signals" field. - public const int RankSignalsFieldNumber = 7; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals rankSignals_; + /// Field number for the "dynamic_facet" field. + public const int DynamicFacetFieldNumber = 3; + private bool dynamicFacet_; /// - /// A set of ranking signals associated with the result. + /// Whether the facet is dynamically generated. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals RankSignals { - get { return rankSignals_; } + public bool DynamicFacet { + get { return dynamicFacet_; } set { - rankSignals_ = value; + dynamicFacet_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as SearchResult); + return Equals(other as Facet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SearchResult other) { + public bool Equals(Facet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (!object.Equals(Document, other.Document)) return false; - if (!object.Equals(Chunk, other.Chunk)) return false; - if (!ModelScores.Equals(other.ModelScores)) return false; - if (!object.Equals(RankSignals, other.RankSignals)) return false; + if (Key != other.Key) return false; + if(!values_.Equals(other.values_)) return false; + if (DynamicFacet != other.DynamicFacet) return false; return Equals(_unknownFields, other._unknownFields); } @@ -10200,11 +14446,9 @@ public bool Equals(SearchResult other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id.Length != 0) hash ^= Id.GetHashCode(); - if (document_ != null) hash ^= Document.GetHashCode(); - if (chunk_ != null) hash ^= Chunk.GetHashCode(); - hash ^= ModelScores.GetHashCode(); - if (rankSignals_ != null) hash ^= RankSignals.GetHashCode(); + if (Key.Length != 0) hash ^= Key.GetHashCode(); + hash ^= values_.GetHashCode(); + if (DynamicFacet != false) hash ^= DynamicFacet.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10223,22 +14467,14 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id.Length != 0) { + if (Key.Length != 0) { output.WriteRawTag(10); - output.WriteString(Id); - } - if (document_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Document); - } - modelScores_.WriteTo(output, _map_modelScores_codec); - if (rankSignals_ != null) { - output.WriteRawTag(58); - output.WriteMessage(RankSignals); + output.WriteString(Key); } - if (chunk_ != null) { - output.WriteRawTag(146, 1); - output.WriteMessage(Chunk); + values_.WriteTo(output, _repeated_values_codec); + if (DynamicFacet != false) { + output.WriteRawTag(24); + output.WriteBool(DynamicFacet); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -10250,22 +14486,14 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id.Length != 0) { + if (Key.Length != 0) { output.WriteRawTag(10); - output.WriteString(Id); - } - if (document_ != null) { - output.WriteRawTag(18); - output.WriteMessage(Document); - } - modelScores_.WriteTo(ref output, _map_modelScores_codec); - if (rankSignals_ != null) { - output.WriteRawTag(58); - output.WriteMessage(RankSignals); + output.WriteString(Key); } - if (chunk_ != null) { - output.WriteRawTag(146, 1); - output.WriteMessage(Chunk); + values_.WriteTo(ref output, _repeated_values_codec); + if (DynamicFacet != false) { + output.WriteRawTag(24); + output.WriteBool(DynamicFacet); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -10277,18 +14505,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (document_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Document); - } - if (chunk_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Chunk); + if (Key.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); } - size += modelScores_.CalculateSize(_map_modelScores_codec); - if (rankSignals_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(RankSignals); + size += values_.CalculateSize(_repeated_values_codec); + if (DynamicFacet != false) { + size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -10298,31 +14520,16 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SearchResult other) { + public void MergeFrom(Facet other) { if (other == null) { return; } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.document_ != null) { - if (document_ == null) { - Document = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document(); - } - Document.MergeFrom(other.Document); - } - if (other.chunk_ != null) { - if (chunk_ == null) { - Chunk = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk(); - } - Chunk.MergeFrom(other.Chunk); + if (other.Key.Length != 0) { + Key = other.Key; } - modelScores_.MergeFrom(other.modelScores_); - if (other.rankSignals_ != null) { - if (rankSignals_ == null) { - RankSignals = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals(); - } - RankSignals.MergeFrom(other.RankSignals); + values_.Add(other.values_); + if (other.DynamicFacet != false) { + DynamicFacet = other.DynamicFacet; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -10344,32 +14551,15 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Id = input.ReadString(); + Key = input.ReadString(); break; } case 18: { - if (document_ == null) { - Document = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document(); - } - input.ReadMessage(Document); - break; - } - case 34: { - modelScores_.AddEntriesFrom(input, _map_modelScores_codec); - break; - } - case 58: { - if (rankSignals_ == null) { - RankSignals = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals(); - } - input.ReadMessage(RankSignals); + values_.AddEntriesFrom(input, _repeated_values_codec); break; } - case 146: { - if (chunk_ == null) { - Chunk = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk(); - } - input.ReadMessage(Chunk); + case 24: { + DynamicFacet = input.ReadBool(); break; } } @@ -10392,32 +14582,15 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Id = input.ReadString(); + Key = input.ReadString(); break; } case 18: { - if (document_ == null) { - Document = new global::Google.Cloud.DiscoveryEngine.V1Beta.Document(); - } - input.ReadMessage(Document); - break; - } - case 34: { - modelScores_.AddEntriesFrom(ref input, _map_modelScores_codec); - break; - } - case 58: { - if (rankSignals_ == null) { - RankSignals = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals(); - } - input.ReadMessage(RankSignals); - break; - } - case 146: { - if (chunk_ == null) { - Chunk = new global::Google.Cloud.DiscoveryEngine.V1Beta.Chunk(); - } - input.ReadMessage(Chunk); + values_.AddEntriesFrom(ref input, _repeated_values_codec); + break; + } + case 24: { + DynamicFacet = input.ReadBool(); break; } } @@ -10426,30 +14599,29 @@ public void MergeFrom(pb::CodedInputStream input) { #endif #region Nested types - /// Container for nested types declared in the SearchResult message type. + /// Container for nested types declared in the Facet message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// A set of ranking signals. + /// A facet value which contains value names and their count. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RankSignals : pb::IMessage + public sealed partial class FacetValue : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RankSignals()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FacetValue()); private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Descriptor.NestedTypes[1]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10460,7 +14632,7 @@ public sealed partial class RankSignals : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RankSignals() { + public FacetValue() { OnConstruction(); } @@ -10468,289 +14640,127 @@ public RankSignals() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RankSignals(RankSignals other) : this() { - _hasBits0 = other._hasBits0; - keywordSimilarityScore_ = other.keywordSimilarityScore_; - relevanceScore_ = other.relevanceScore_; - semanticSimilarityScore_ = other.semanticSimilarityScore_; - pctrRank_ = other.pctrRank_; - topicalityRank_ = other.topicalityRank_; - documentAge_ = other.documentAge_; - boostingFactor_ = other.boostingFactor_; - defaultRank_ = other.defaultRank_; - customSignals_ = other.customSignals_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RankSignals Clone() { - return new RankSignals(this); - } - - /// Field number for the "keyword_similarity_score" field. - public const int KeywordSimilarityScoreFieldNumber = 1; - private readonly static float KeywordSimilarityScoreDefaultValue = 0F; - - private float keywordSimilarityScore_; - /// - /// Keyword matching adjustment. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float KeywordSimilarityScore { - get { if ((_hasBits0 & 1) != 0) { return keywordSimilarityScore_; } else { return KeywordSimilarityScoreDefaultValue; } } - set { - _hasBits0 |= 1; - keywordSimilarityScore_ = value; + public FacetValue(FacetValue other) : this() { + count_ = other.count_; + switch (other.FacetValueCase) { + case FacetValueOneofCase.Value: + Value = other.Value; + break; + case FacetValueOneofCase.Interval: + Interval = other.Interval.Clone(); + break; } - } - /// Gets whether the "keyword_similarity_score" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasKeywordSimilarityScore { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "keyword_similarity_score" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearKeywordSimilarityScore() { - _hasBits0 &= ~1; - } - - /// Field number for the "relevance_score" field. - public const int RelevanceScoreFieldNumber = 2; - private readonly static float RelevanceScoreDefaultValue = 0F; - private float relevanceScore_; - /// - /// Semantic relevance adjustment. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float RelevanceScore { - get { if ((_hasBits0 & 2) != 0) { return relevanceScore_; } else { return RelevanceScoreDefaultValue; } } - set { - _hasBits0 |= 2; - relevanceScore_ = value; - } - } - /// Gets whether the "relevance_score" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRelevanceScore { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "relevance_score" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRelevanceScore() { - _hasBits0 &= ~2; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } - /// Field number for the "semantic_similarity_score" field. - public const int SemanticSimilarityScoreFieldNumber = 3; - private readonly static float SemanticSimilarityScoreDefaultValue = 0F; - - private float semanticSimilarityScore_; - /// - /// Semantic similarity adjustment. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SemanticSimilarityScore { - get { if ((_hasBits0 & 4) != 0) { return semanticSimilarityScore_; } else { return SemanticSimilarityScoreDefaultValue; } } - set { - _hasBits0 |= 4; - semanticSimilarityScore_ = value; - } - } - /// Gets whether the "semantic_similarity_score" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSemanticSimilarityScore { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "semantic_similarity_score" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSemanticSimilarityScore() { - _hasBits0 &= ~4; + public FacetValue Clone() { + return new FacetValue(this); } - /// Field number for the "pctr_rank" field. - public const int PctrRankFieldNumber = 4; - private readonly static float PctrRankDefaultValue = 0F; - - private float pctrRank_; + /// Field number for the "value" field. + public const int ValueFieldNumber = 1; /// - /// Predicted conversion rate adjustment as a rank. + /// Text value of a facet, such as "Black" for facet "colors". /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float PctrRank { - get { if ((_hasBits0 & 8) != 0) { return pctrRank_; } else { return PctrRankDefaultValue; } } + public string Value { + get { return HasValue ? (string) facetValue_ : ""; } set { - _hasBits0 |= 8; - pctrRank_ = value; + facetValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + facetValueCase_ = FacetValueOneofCase.Value; } } - /// Gets whether the "pctr_rank" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPctrRank { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "pctr_rank" field + /// Gets whether the "value" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPctrRank() { - _hasBits0 &= ~8; + public bool HasValue { + get { return facetValueCase_ == FacetValueOneofCase.Value; } } - - /// Field number for the "topicality_rank" field. - public const int TopicalityRankFieldNumber = 6; - private readonly static float TopicalityRankDefaultValue = 0F; - - private float topicalityRank_; - /// - /// Topicality adjustment as a rank. - /// + /// Clears the value of the oneof if it's currently set to "value" [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float TopicalityRank { - get { if ((_hasBits0 & 16) != 0) { return topicalityRank_; } else { return TopicalityRankDefaultValue; } } - set { - _hasBits0 |= 16; - topicalityRank_ = value; + public void ClearValue() { + if (HasValue) { + ClearFacetValue(); } } - /// Gets whether the "topicality_rank" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTopicalityRank { - get { return (_hasBits0 & 16) != 0; } - } - /// Clears the value of the "topicality_rank" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTopicalityRank() { - _hasBits0 &= ~16; - } - - /// Field number for the "document_age" field. - public const int DocumentAgeFieldNumber = 7; - private readonly static float DocumentAgeDefaultValue = 0F; - private float documentAge_; + /// Field number for the "interval" field. + public const int IntervalFieldNumber = 2; /// - /// Age of the document in hours. + /// Interval value for a facet, such as [10, 20) for facet "price". It + /// matches + /// [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec.FacetKey.intervals]. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DocumentAge { - get { if ((_hasBits0 & 32) != 0) { return documentAge_; } else { return DocumentAgeDefaultValue; } } + public global::Google.Cloud.DiscoveryEngine.V1Beta.Interval Interval { + get { return facetValueCase_ == FacetValueOneofCase.Interval ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Interval) facetValue_ : null; } set { - _hasBits0 |= 32; - documentAge_ = value; + facetValue_ = value; + facetValueCase_ = value == null ? FacetValueOneofCase.None : FacetValueOneofCase.Interval; } } - /// Gets whether the "document_age" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDocumentAge { - get { return (_hasBits0 & 32) != 0; } - } - /// Clears the value of the "document_age" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDocumentAge() { - _hasBits0 &= ~32; - } - - /// Field number for the "boosting_factor" field. - public const int BoostingFactorFieldNumber = 8; - private readonly static float BoostingFactorDefaultValue = 0F; - private float boostingFactor_; + /// Field number for the "count" field. + public const int CountFieldNumber = 3; + private long count_; /// - /// Combined custom boosts for a doc. + /// Number of items that have this facet value. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float BoostingFactor { - get { if ((_hasBits0 & 64) != 0) { return boostingFactor_; } else { return BoostingFactorDefaultValue; } } + public long Count { + get { return count_; } set { - _hasBits0 |= 64; - boostingFactor_ = value; + count_ = value; } } - /// Gets whether the "boosting_factor" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBoostingFactor { - get { return (_hasBits0 & 64) != 0; } - } - /// Clears the value of the "boosting_factor" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBoostingFactor() { - _hasBits0 &= ~64; - } - /// Field number for the "default_rank" field. - public const int DefaultRankFieldNumber = 32; - private float defaultRank_; - /// - /// The default rank of the result. - /// + private object facetValue_; + /// Enum of possible cases for the "facet_value" oneof. + public enum FacetValueOneofCase { + None = 0, + Value = 1, + Interval = 2, + } + private FacetValueOneofCase facetValueCase_ = FacetValueOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DefaultRank { - get { return defaultRank_; } - set { - defaultRank_ = value; - } + public FacetValueOneofCase FacetValueCase { + get { return facetValueCase_; } } - /// Field number for the "custom_signals" field. - public const int CustomSignalsFieldNumber = 33; - private static readonly pb::FieldCodec _repeated_customSignals_codec - = pb::FieldCodec.ForMessage(266, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Types.CustomSignal.Parser); - private readonly pbc::RepeatedField customSignals_ = new pbc::RepeatedField(); - /// - /// A list of custom clearbox signals. - /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CustomSignals { - get { return customSignals_; } + public void ClearFacetValue() { + facetValueCase_ = FacetValueOneofCase.None; + facetValue_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as RankSignals); + return Equals(other as FacetValue); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RankSignals other) { + public bool Equals(FacetValue other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(KeywordSimilarityScore, other.KeywordSimilarityScore)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RelevanceScore, other.RelevanceScore)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SemanticSimilarityScore, other.SemanticSimilarityScore)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PctrRank, other.PctrRank)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TopicalityRank, other.TopicalityRank)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DocumentAge, other.DocumentAge)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BoostingFactor, other.BoostingFactor)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DefaultRank, other.DefaultRank)) return false; - if(!customSignals_.Equals(other.customSignals_)) return false; + if (Value != other.Value) return false; + if (!object.Equals(Interval, other.Interval)) return false; + if (Count != other.Count) return false; + if (FacetValueCase != other.FacetValueCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -10758,15 +14768,10 @@ public bool Equals(RankSignals other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (HasKeywordSimilarityScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(KeywordSimilarityScore); - if (HasRelevanceScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RelevanceScore); - if (HasSemanticSimilarityScore) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SemanticSimilarityScore); - if (HasPctrRank) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PctrRank); - if (HasTopicalityRank) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TopicalityRank); - if (HasDocumentAge) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DocumentAge); - if (HasBoostingFactor) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BoostingFactor); - if (DefaultRank != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DefaultRank); - hash ^= customSignals_.GetHashCode(); + if (HasValue) hash ^= Value.GetHashCode(); + if (facetValueCase_ == FacetValueOneofCase.Interval) hash ^= Interval.GetHashCode(); + if (Count != 0L) hash ^= Count.GetHashCode(); + hash ^= (int) facetValueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -10785,39 +14790,18 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (HasKeywordSimilarityScore) { - output.WriteRawTag(13); - output.WriteFloat(KeywordSimilarityScore); - } - if (HasRelevanceScore) { - output.WriteRawTag(21); - output.WriteFloat(RelevanceScore); - } - if (HasSemanticSimilarityScore) { - output.WriteRawTag(29); - output.WriteFloat(SemanticSimilarityScore); - } - if (HasPctrRank) { - output.WriteRawTag(37); - output.WriteFloat(PctrRank); - } - if (HasTopicalityRank) { - output.WriteRawTag(53); - output.WriteFloat(TopicalityRank); - } - if (HasDocumentAge) { - output.WriteRawTag(61); - output.WriteFloat(DocumentAge); + if (HasValue) { + output.WriteRawTag(10); + output.WriteString(Value); } - if (HasBoostingFactor) { - output.WriteRawTag(69); - output.WriteFloat(BoostingFactor); + if (facetValueCase_ == FacetValueOneofCase.Interval) { + output.WriteRawTag(18); + output.WriteMessage(Interval); } - if (DefaultRank != 0F) { - output.WriteRawTag(133, 2); - output.WriteFloat(DefaultRank); + if (Count != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Count); } - customSignals_.WriteTo(output, _repeated_customSignals_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -10828,477 +14812,140 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasKeywordSimilarityScore) { - output.WriteRawTag(13); - output.WriteFloat(KeywordSimilarityScore); - } - if (HasRelevanceScore) { - output.WriteRawTag(21); - output.WriteFloat(RelevanceScore); - } - if (HasSemanticSimilarityScore) { - output.WriteRawTag(29); - output.WriteFloat(SemanticSimilarityScore); - } - if (HasPctrRank) { - output.WriteRawTag(37); - output.WriteFloat(PctrRank); - } - if (HasTopicalityRank) { - output.WriteRawTag(53); - output.WriteFloat(TopicalityRank); - } - if (HasDocumentAge) { - output.WriteRawTag(61); - output.WriteFloat(DocumentAge); - } - if (HasBoostingFactor) { - output.WriteRawTag(69); - output.WriteFloat(BoostingFactor); - } - if (DefaultRank != 0F) { - output.WriteRawTag(133, 2); - output.WriteFloat(DefaultRank); - } - customSignals_.WriteTo(ref output, _repeated_customSignals_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasKeywordSimilarityScore) { - size += 1 + 4; - } - if (HasRelevanceScore) { - size += 1 + 4; - } - if (HasSemanticSimilarityScore) { - size += 1 + 4; - } - if (HasPctrRank) { - size += 1 + 4; - } - if (HasTopicalityRank) { - size += 1 + 4; - } - if (HasDocumentAge) { - size += 1 + 4; - } - if (HasBoostingFactor) { - size += 1 + 4; - } - if (DefaultRank != 0F) { - size += 2 + 4; - } - size += customSignals_.CalculateSize(_repeated_customSignals_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RankSignals other) { - if (other == null) { - return; - } - if (other.HasKeywordSimilarityScore) { - KeywordSimilarityScore = other.KeywordSimilarityScore; - } - if (other.HasRelevanceScore) { - RelevanceScore = other.RelevanceScore; - } - if (other.HasSemanticSimilarityScore) { - SemanticSimilarityScore = other.SemanticSimilarityScore; - } - if (other.HasPctrRank) { - PctrRank = other.PctrRank; - } - if (other.HasTopicalityRank) { - TopicalityRank = other.TopicalityRank; - } - if (other.HasDocumentAge) { - DocumentAge = other.DocumentAge; - } - if (other.HasBoostingFactor) { - BoostingFactor = other.BoostingFactor; - } - if (other.DefaultRank != 0F) { - DefaultRank = other.DefaultRank; + if (HasValue) { + output.WriteRawTag(10); + output.WriteString(Value); } - customSignals_.Add(other.customSignals_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + if (facetValueCase_ == FacetValueOneofCase.Interval) { + output.WriteRawTag(18); + output.WriteMessage(Interval); } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - KeywordSimilarityScore = input.ReadFloat(); - break; - } - case 21: { - RelevanceScore = input.ReadFloat(); - break; - } - case 29: { - SemanticSimilarityScore = input.ReadFloat(); - break; - } - case 37: { - PctrRank = input.ReadFloat(); - break; - } - case 53: { - TopicalityRank = input.ReadFloat(); - break; - } - case 61: { - DocumentAge = input.ReadFloat(); - break; - } - case 69: { - BoostingFactor = input.ReadFloat(); - break; - } - case 261: { - DefaultRank = input.ReadFloat(); - break; - } - case 266: { - customSignals_.AddEntriesFrom(input, _repeated_customSignals_codec); - break; - } - } + if (Count != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Count); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); } - #endif } + #endif - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + public int CalculateSize() { + int size = 0; + if (HasValue) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 13: { - KeywordSimilarityScore = input.ReadFloat(); - break; - } - case 21: { - RelevanceScore = input.ReadFloat(); - break; - } - case 29: { - SemanticSimilarityScore = input.ReadFloat(); - break; - } - case 37: { - PctrRank = input.ReadFloat(); - break; - } - case 53: { - TopicalityRank = input.ReadFloat(); - break; - } - case 61: { - DocumentAge = input.ReadFloat(); - break; - } - case 69: { - BoostingFactor = input.ReadFloat(); - break; - } - case 261: { - DefaultRank = input.ReadFloat(); - break; - } - case 266: { - customSignals_.AddEntriesFrom(ref input, _repeated_customSignals_codec); - break; - } - } + if (facetValueCase_ == FacetValueOneofCase.Interval) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Interval); + } + if (Count != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count); } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; } - #endif - #region Nested types - /// Container for nested types declared in the RankSignals message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - /// - /// Custom clearbox signal represented by name and value pair. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CustomSignal : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CustomSignal()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.SearchResult.Types.RankSignals.Descriptor.NestedTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CustomSignal() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CustomSignal(CustomSignal other) : this() { - name_ = other.name_; - value_ = other.value_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CustomSignal Clone() { - return new CustomSignal(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private string name_ = ""; - /// - /// Name of the signal. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private float value_; - /// - /// Float value representing the ranking signal (e.g. 1.25 for BM25). - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Value { - get { return value_; } - set { - value_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CustomSignal); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CustomSignal other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Value != 0F) { - output.WriteRawTag(21); - output.WriteFloat(Value); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Value != 0F) { - output.WriteRawTag(21); - output.WriteFloat(Value); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Value != 0F) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CustomSignal other) { - if (other == null) { - return; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Value != 0F) { - Value = other.Value; + public void MergeFrom(FacetValue other) { + if (other == null) { + return; + } + if (other.Count != 0L) { + Count = other.Count; + } + switch (other.FacetValueCase) { + case FacetValueOneofCase.Value: + Value = other.Value; + break; + case FacetValueOneofCase.Interval: + if (Interval == null) { + Interval = new global::Google.Cloud.DiscoveryEngine.V1Beta.Interval(); } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + Interval.MergeFrom(other.Interval); + break; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Value = input.ReadString(); + break; } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 21: { - Value = input.ReadFloat(); - break; - } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Interval subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Interval(); + if (facetValueCase_ == FacetValueOneofCase.Interval) { + subBuilder.MergeFrom(Interval); } + input.ReadMessage(subBuilder); + Interval = subBuilder; + break; + } + case 24: { + Count = input.ReadInt64(); + break; } - #endif } + } + #endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Value = input.ReadString(); + break; } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 21: { - Value = input.ReadFloat(); - break; - } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.Interval subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Interval(); + if (facetValueCase_ == FacetValueOneofCase.Interval) { + subBuilder.MergeFrom(Interval); } + input.ReadMessage(subBuilder); + Interval = subBuilder; + break; + } + case 24: { + Count = input.ReadInt64(); + break; } } - #endif - } - } - #endregion + #endif } @@ -11308,24 +14955,25 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// A facet result. + /// Guided search result. The guided search helps user to refine the search + /// results and narrow down to the real needs from a broaded search results. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Facet : pb::IMessage + public sealed partial class GuidedSearchResult : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Facet()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GuidedSearchResult()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[1]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11336,7 +14984,7 @@ public sealed partial class Facet : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Facet() { + public GuidedSearchResult() { OnConstruction(); } @@ -11344,82 +14992,63 @@ public Facet() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Facet(Facet other) : this() { - key_ = other.key_; - values_ = other.values_.Clone(); - dynamicFacet_ = other.dynamicFacet_; + public GuidedSearchResult(GuidedSearchResult other) : this() { + refinementAttributes_ = other.refinementAttributes_.Clone(); + followUpQuestions_ = other.followUpQuestions_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Facet Clone() { - return new Facet(this); - } - - /// Field number for the "key" field. - public const int KeyFieldNumber = 1; - private string key_ = ""; - /// - /// The key for this facet. For example, `"colors"` or `"price"`. It matches - /// [SearchRequest.FacetSpec.FacetKey.key][google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec.FacetKey.key]. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public GuidedSearchResult Clone() { + return new GuidedSearchResult(this); } - /// Field number for the "values" field. - public const int ValuesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_values_codec - = pb::FieldCodec.ForMessage(18, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Types.FacetValue.Parser); - private readonly pbc::RepeatedField values_ = new pbc::RepeatedField(); + /// Field number for the "refinement_attributes" field. + public const int RefinementAttributesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_refinementAttributes_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Types.RefinementAttribute.Parser); + private readonly pbc::RepeatedField refinementAttributes_ = new pbc::RepeatedField(); /// - /// The facet values for this field. + /// A list of ranked refinement attributes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Values { - get { return values_; } + public pbc::RepeatedField RefinementAttributes { + get { return refinementAttributes_; } } - /// Field number for the "dynamic_facet" field. - public const int DynamicFacetFieldNumber = 3; - private bool dynamicFacet_; + /// Field number for the "follow_up_questions" field. + public const int FollowUpQuestionsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_followUpQuestions_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField followUpQuestions_ = new pbc::RepeatedField(); /// - /// Whether the facet is dynamically generated. + /// Suggested follow-up questions. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool DynamicFacet { - get { return dynamicFacet_; } - set { - dynamicFacet_ = value; - } + public pbc::RepeatedField FollowUpQuestions { + get { return followUpQuestions_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Facet); + return Equals(other as GuidedSearchResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Facet other) { + public bool Equals(GuidedSearchResult other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Key != other.Key) return false; - if(!values_.Equals(other.values_)) return false; - if (DynamicFacet != other.DynamicFacet) return false; + if(!refinementAttributes_.Equals(other.refinementAttributes_)) return false; + if(!followUpQuestions_.Equals(other.followUpQuestions_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -11427,9 +15056,8 @@ public bool Equals(Facet other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Key.Length != 0) hash ^= Key.GetHashCode(); - hash ^= values_.GetHashCode(); - if (DynamicFacet != false) hash ^= DynamicFacet.GetHashCode(); + hash ^= refinementAttributes_.GetHashCode(); + hash ^= followUpQuestions_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11448,15 +15076,8 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - values_.WriteTo(output, _repeated_values_codec); - if (DynamicFacet != false) { - output.WriteRawTag(24); - output.WriteBool(DynamicFacet); - } + refinementAttributes_.WriteTo(output, _repeated_refinementAttributes_codec); + followUpQuestions_.WriteTo(output, _repeated_followUpQuestions_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -11467,15 +15088,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Key.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Key); - } - values_.WriteTo(ref output, _repeated_values_codec); - if (DynamicFacet != false) { - output.WriteRawTag(24); - output.WriteBool(DynamicFacet); - } + refinementAttributes_.WriteTo(ref output, _repeated_refinementAttributes_codec); + followUpQuestions_.WriteTo(ref output, _repeated_followUpQuestions_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -11486,13 +15100,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - size += values_.CalculateSize(_repeated_values_codec); - if (DynamicFacet != false) { - size += 1 + 1; - } + size += refinementAttributes_.CalculateSize(_repeated_refinementAttributes_codec); + size += followUpQuestions_.CalculateSize(_repeated_followUpQuestions_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -11501,17 +15110,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Facet other) { + public void MergeFrom(GuidedSearchResult other) { if (other == null) { return; } - if (other.Key.Length != 0) { - Key = other.Key; - } - values_.Add(other.values_); - if (other.DynamicFacet != false) { - DynamicFacet = other.DynamicFacet; - } + refinementAttributes_.Add(other.refinementAttributes_); + followUpQuestions_.Add(other.followUpQuestions_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -11532,15 +15136,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Key = input.ReadString(); + refinementAttributes_.AddEntriesFrom(input, _repeated_refinementAttributes_codec); break; } case 18: { - values_.AddEntriesFrom(input, _repeated_values_codec); - break; - } - case 24: { - DynamicFacet = input.ReadBool(); + followUpQuestions_.AddEntriesFrom(input, _repeated_followUpQuestions_codec); break; } } @@ -11563,15 +15163,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Key = input.ReadString(); + refinementAttributes_.AddEntriesFrom(ref input, _repeated_refinementAttributes_codec); break; } case 18: { - values_.AddEntriesFrom(ref input, _repeated_values_codec); - break; - } - case 24: { - DynamicFacet = input.ReadBool(); + followUpQuestions_.AddEntriesFrom(ref input, _repeated_followUpQuestions_codec); break; } } @@ -11580,29 +15176,29 @@ public void MergeFrom(pb::CodedInputStream input) { #endif #region Nested types - /// Container for nested types declared in the Facet message type. + /// Container for nested types declared in the GuidedSearchResult message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// A facet value which contains value names and their count. + /// Useful attribute for search result refinements. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class FacetValue : pb::IMessage + public sealed partial class RefinementAttribute : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FacetValue()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RefinementAttribute()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Facet.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11613,7 +15209,7 @@ public sealed partial class FacetValue : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FacetValue() { + public RefinementAttribute() { OnConstruction(); } @@ -11621,127 +15217,65 @@ public FacetValue() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FacetValue(FacetValue other) : this() { - count_ = other.count_; - switch (other.FacetValueCase) { - case FacetValueOneofCase.Value: - Value = other.Value; - break; - case FacetValueOneofCase.Interval: - Interval = other.Interval.Clone(); - break; - } - + public RefinementAttribute(RefinementAttribute other) : this() { + attributeKey_ = other.attributeKey_; + attributeValue_ = other.attributeValue_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FacetValue Clone() { - return new FacetValue(this); - } - - /// Field number for the "value" field. - public const int ValueFieldNumber = 1; - /// - /// Text value of a facet, such as "Black" for facet "colors". - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Value { - get { return HasValue ? (string) facetValue_ : ""; } - set { - facetValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - facetValueCase_ = FacetValueOneofCase.Value; - } - } - /// Gets whether the "value" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasValue { - get { return facetValueCase_ == FacetValueOneofCase.Value; } - } - /// Clears the value of the oneof if it's currently set to "value" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearValue() { - if (HasValue) { - ClearFacetValue(); - } + public RefinementAttribute Clone() { + return new RefinementAttribute(this); } - /// Field number for the "interval" field. - public const int IntervalFieldNumber = 2; + /// Field number for the "attribute_key" field. + public const int AttributeKeyFieldNumber = 1; + private string attributeKey_ = ""; /// - /// Interval value for a facet, such as [10, 20) for facet "price". It - /// matches - /// [SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.discoveryengine.v1beta.SearchRequest.FacetSpec.FacetKey.intervals]. + /// Attribute key used to refine the results. For example, `"movie_type"`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.Interval Interval { - get { return facetValueCase_ == FacetValueOneofCase.Interval ? (global::Google.Cloud.DiscoveryEngine.V1Beta.Interval) facetValue_ : null; } + public string AttributeKey { + get { return attributeKey_; } set { - facetValue_ = value; - facetValueCase_ = value == null ? FacetValueOneofCase.None : FacetValueOneofCase.Interval; + attributeKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "count" field. - public const int CountFieldNumber = 3; - private long count_; + /// Field number for the "attribute_value" field. + public const int AttributeValueFieldNumber = 2; + private string attributeValue_ = ""; /// - /// Number of items that have this facet value. + /// Attribute value used to refine the results. For example, `"drama"`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Count { - get { return count_; } + public string AttributeValue { + get { return attributeValue_; } set { - count_ = value; + attributeValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - private object facetValue_; - /// Enum of possible cases for the "facet_value" oneof. - public enum FacetValueOneofCase { - None = 0, - Value = 1, - Interval = 2, - } - private FacetValueOneofCase facetValueCase_ = FacetValueOneofCase.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FacetValueOneofCase FacetValueCase { - get { return facetValueCase_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFacetValue() { - facetValueCase_ = FacetValueOneofCase.None; - facetValue_ = null; - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FacetValue); + return Equals(other as RefinementAttribute); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FacetValue other) { + public bool Equals(RefinementAttribute other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Value != other.Value) return false; - if (!object.Equals(Interval, other.Interval)) return false; - if (Count != other.Count) return false; - if (FacetValueCase != other.FacetValueCase) return false; + if (AttributeKey != other.AttributeKey) return false; + if (AttributeValue != other.AttributeValue) return false; return Equals(_unknownFields, other._unknownFields); } @@ -11749,10 +15283,8 @@ public bool Equals(FacetValue other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (HasValue) hash ^= Value.GetHashCode(); - if (facetValueCase_ == FacetValueOneofCase.Interval) hash ^= Interval.GetHashCode(); - if (Count != 0L) hash ^= Count.GetHashCode(); - hash ^= (int) facetValueCase_; + if (AttributeKey.Length != 0) hash ^= AttributeKey.GetHashCode(); + if (AttributeValue.Length != 0) hash ^= AttributeValue.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11771,17 +15303,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (HasValue) { + if (AttributeKey.Length != 0) { output.WriteRawTag(10); - output.WriteString(Value); + output.WriteString(AttributeKey); } - if (facetValueCase_ == FacetValueOneofCase.Interval) { + if (AttributeValue.Length != 0) { output.WriteRawTag(18); - output.WriteMessage(Interval); - } - if (Count != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Count); + output.WriteString(AttributeValue); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -11793,17 +15321,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasValue) { + if (AttributeKey.Length != 0) { output.WriteRawTag(10); - output.WriteString(Value); + output.WriteString(AttributeKey); } - if (facetValueCase_ == FacetValueOneofCase.Interval) { + if (AttributeValue.Length != 0) { output.WriteRawTag(18); - output.WriteMessage(Interval); - } - if (Count != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Count); + output.WriteString(AttributeValue); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -11815,14 +15339,11 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (HasValue) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); - } - if (facetValueCase_ == FacetValueOneofCase.Interval) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Interval); + if (AttributeKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeKey); } - if (Count != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count); + if (AttributeValue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeValue); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -11832,25 +15353,16 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FacetValue other) { + public void MergeFrom(RefinementAttribute other) { if (other == null) { return; } - if (other.Count != 0L) { - Count = other.Count; + if (other.AttributeKey.Length != 0) { + AttributeKey = other.AttributeKey; } - switch (other.FacetValueCase) { - case FacetValueOneofCase.Value: - Value = other.Value; - break; - case FacetValueOneofCase.Interval: - if (Interval == null) { - Interval = new global::Google.Cloud.DiscoveryEngine.V1Beta.Interval(); - } - Interval.MergeFrom(other.Interval); - break; + if (other.AttributeValue.Length != 0) { + AttributeValue = other.AttributeValue; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -11871,20 +15383,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Value = input.ReadString(); + AttributeKey = input.ReadString(); break; } case 18: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Interval subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Interval(); - if (facetValueCase_ == FacetValueOneofCase.Interval) { - subBuilder.MergeFrom(Interval); - } - input.ReadMessage(subBuilder); - Interval = subBuilder; - break; - } - case 24: { - Count = input.ReadInt64(); + AttributeValue = input.ReadString(); break; } } @@ -11907,20 +15410,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Value = input.ReadString(); + AttributeKey = input.ReadString(); break; } case 18: { - global::Google.Cloud.DiscoveryEngine.V1Beta.Interval subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.Interval(); - if (facetValueCase_ == FacetValueOneofCase.Interval) { - subBuilder.MergeFrom(Interval); - } - input.ReadMessage(subBuilder); - Interval = subBuilder; - break; - } - case 24: { - Count = input.ReadInt64(); + AttributeValue = input.ReadString(); break; } } @@ -11936,25 +15430,24 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Guided search result. The guided search helps user to refine the search - /// results and narrow down to the real needs from a broaded search results. + /// Summary of the top N search results specified by the summary spec. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GuidedSearchResult : pb::IMessage + public sealed partial class Summary : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GuidedSearchResult()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Summary()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[2]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11965,71 +15458,108 @@ public sealed partial class GuidedSearchResult : pb::IMessageField number for the "summary_text" field. + public const int SummaryTextFieldNumber = 1; + private string summaryText_ = ""; + /// + /// The summary content. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GuidedSearchResult(GuidedSearchResult other) : this() { - refinementAttributes_ = other.refinementAttributes_.Clone(); - followUpQuestions_ = other.followUpQuestions_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + public string SummaryText { + get { return summaryText_; } + set { + summaryText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } + /// Field number for the "summary_skipped_reasons" field. + public const int SummarySkippedReasonsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_summarySkippedReasons_codec + = pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummarySkippedReason) x); + private readonly pbc::RepeatedField summarySkippedReasons_ = new pbc::RepeatedField(); + /// + /// Additional summary-skipped reasons. This provides the reason for ignored + /// cases. If nothing is skipped, this field is not set. + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GuidedSearchResult Clone() { - return new GuidedSearchResult(this); + public pbc::RepeatedField SummarySkippedReasons { + get { return summarySkippedReasons_; } } - /// Field number for the "refinement_attributes" field. - public const int RefinementAttributesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_refinementAttributes_codec - = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Types.RefinementAttribute.Parser); - private readonly pbc::RepeatedField refinementAttributes_ = new pbc::RepeatedField(); + /// Field number for the "safety_attributes" field. + public const int SafetyAttributesFieldNumber = 3; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes safetyAttributes_; /// - /// A list of ranked refinement attributes. + /// A collection of Safety Attribute categories and their associated + /// confidence scores. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField RefinementAttributes { - get { return refinementAttributes_; } + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes SafetyAttributes { + get { return safetyAttributes_; } + set { + safetyAttributes_ = value; + } } - /// Field number for the "follow_up_questions" field. - public const int FollowUpQuestionsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_followUpQuestions_codec - = pb::FieldCodec.ForString(18); - private readonly pbc::RepeatedField followUpQuestions_ = new pbc::RepeatedField(); + /// Field number for the "summary_with_metadata" field. + public const int SummaryWithMetadataFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata summaryWithMetadata_; /// - /// Suggested follow-up questions. + /// Summary with metadata information. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField FollowUpQuestions { - get { return followUpQuestions_; } + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata SummaryWithMetadata { + get { return summaryWithMetadata_; } + set { + summaryWithMetadata_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as GuidedSearchResult); + return Equals(other as Summary); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GuidedSearchResult other) { + public bool Equals(Summary other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!refinementAttributes_.Equals(other.refinementAttributes_)) return false; - if(!followUpQuestions_.Equals(other.followUpQuestions_)) return false; + if (SummaryText != other.SummaryText) return false; + if(!summarySkippedReasons_.Equals(other.summarySkippedReasons_)) return false; + if (!object.Equals(SafetyAttributes, other.SafetyAttributes)) return false; + if (!object.Equals(SummaryWithMetadata, other.SummaryWithMetadata)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -12037,8 +15567,10 @@ public bool Equals(GuidedSearchResult other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= refinementAttributes_.GetHashCode(); - hash ^= followUpQuestions_.GetHashCode(); + if (SummaryText.Length != 0) hash ^= SummaryText.GetHashCode(); + hash ^= summarySkippedReasons_.GetHashCode(); + if (safetyAttributes_ != null) hash ^= SafetyAttributes.GetHashCode(); + if (summaryWithMetadata_ != null) hash ^= SummaryWithMetadata.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12057,8 +15589,19 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - refinementAttributes_.WriteTo(output, _repeated_refinementAttributes_codec); - followUpQuestions_.WriteTo(output, _repeated_followUpQuestions_codec); + if (SummaryText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SummaryText); + } + summarySkippedReasons_.WriteTo(output, _repeated_summarySkippedReasons_codec); + if (safetyAttributes_ != null) { + output.WriteRawTag(26); + output.WriteMessage(SafetyAttributes); + } + if (summaryWithMetadata_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SummaryWithMetadata); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -12069,8 +15612,19 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - refinementAttributes_.WriteTo(ref output, _repeated_refinementAttributes_codec); - followUpQuestions_.WriteTo(ref output, _repeated_followUpQuestions_codec); + if (SummaryText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SummaryText); + } + summarySkippedReasons_.WriteTo(ref output, _repeated_summarySkippedReasons_codec); + if (safetyAttributes_ != null) { + output.WriteRawTag(26); + output.WriteMessage(SafetyAttributes); + } + if (summaryWithMetadata_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SummaryWithMetadata); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -12081,8 +15635,16 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += refinementAttributes_.CalculateSize(_repeated_refinementAttributes_codec); - size += followUpQuestions_.CalculateSize(_repeated_followUpQuestions_codec); + if (SummaryText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SummaryText); + } + size += summarySkippedReasons_.CalculateSize(_repeated_summarySkippedReasons_codec); + if (safetyAttributes_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SafetyAttributes); + } + if (summaryWithMetadata_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SummaryWithMetadata); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12091,12 +15653,26 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GuidedSearchResult other) { + public void MergeFrom(Summary other) { if (other == null) { return; } - refinementAttributes_.Add(other.refinementAttributes_); - followUpQuestions_.Add(other.followUpQuestions_); + if (other.SummaryText.Length != 0) { + SummaryText = other.SummaryText; + } + summarySkippedReasons_.Add(other.summarySkippedReasons_); + if (other.safetyAttributes_ != null) { + if (safetyAttributes_ == null) { + SafetyAttributes = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes(); + } + SafetyAttributes.MergeFrom(other.SafetyAttributes); + } + if (other.summaryWithMetadata_ != null) { + if (summaryWithMetadata_ == null) { + SummaryWithMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata(); + } + SummaryWithMetadata.MergeFrom(other.SummaryWithMetadata); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -12117,11 +15693,26 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - refinementAttributes_.AddEntriesFrom(input, _repeated_refinementAttributes_codec); + SummaryText = input.ReadString(); break; } - case 18: { - followUpQuestions_.AddEntriesFrom(input, _repeated_followUpQuestions_codec); + case 18: + case 16: { + summarySkippedReasons_.AddEntriesFrom(input, _repeated_summarySkippedReasons_codec); + break; + } + case 26: { + if (safetyAttributes_ == null) { + SafetyAttributes = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes(); + } + input.ReadMessage(SafetyAttributes); + break; + } + case 34: { + if (summaryWithMetadata_ == null) { + SummaryWithMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata(); + } + input.ReadMessage(SummaryWithMetadata); break; } } @@ -12144,42 +15735,143 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - refinementAttributes_.AddEntriesFrom(ref input, _repeated_refinementAttributes_codec); + SummaryText = input.ReadString(); break; } - case 18: { - followUpQuestions_.AddEntriesFrom(ref input, _repeated_followUpQuestions_codec); + case 18: + case 16: { + summarySkippedReasons_.AddEntriesFrom(ref input, _repeated_summarySkippedReasons_codec); + break; + } + case 26: { + if (safetyAttributes_ == null) { + SafetyAttributes = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes(); + } + input.ReadMessage(SafetyAttributes); + break; + } + case 34: { + if (summaryWithMetadata_ == null) { + SummaryWithMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata(); + } + input.ReadMessage(SummaryWithMetadata); break; } } } - } - #endif + } + #endif + + #region Nested types + /// Container for nested types declared in the Summary message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// An Enum for summary-skipped reasons. + /// + public enum SummarySkippedReason { + /// + /// Default value. The summary skipped reason is not specified. + /// + [pbr::OriginalName("SUMMARY_SKIPPED_REASON_UNSPECIFIED")] Unspecified = 0, + /// + /// The adversarial query ignored case. + /// + /// Only used when + /// [SummarySpec.ignore_adversarial_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query] + /// is set to `true`. + /// + [pbr::OriginalName("ADVERSARIAL_QUERY_IGNORED")] AdversarialQueryIgnored = 1, + /// + /// The non-summary seeking query ignored case. + /// + /// Google skips the summary if the query is chit chat. + /// Only used when + /// [SummarySpec.ignore_non_summary_seeking_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query] + /// is set to `true`. + /// + [pbr::OriginalName("NON_SUMMARY_SEEKING_QUERY_IGNORED")] NonSummarySeekingQueryIgnored = 2, + /// + /// The out-of-domain query ignored case. + /// + /// Google skips the summary if there are no high-relevance search results. + /// For example, the data store contains facts about company A but the + /// user query is asking questions about company B. + /// + [pbr::OriginalName("OUT_OF_DOMAIN_QUERY_IGNORED")] OutOfDomainQueryIgnored = 3, + /// + /// The potential policy violation case. + /// + /// Google skips the summary if there is a potential policy violation + /// detected. This includes content that may be violent or toxic. + /// + [pbr::OriginalName("POTENTIAL_POLICY_VIOLATION")] PotentialPolicyViolation = 4, + /// + /// The LLM addon not enabled case. + /// + /// Google skips the summary if the LLM addon is not enabled. + /// + [pbr::OriginalName("LLM_ADDON_NOT_ENABLED")] LlmAddonNotEnabled = 5, + /// + /// The no relevant content case. + /// + /// Google skips the summary if there is no relevant content in the + /// retrieved search results. + /// + [pbr::OriginalName("NO_RELEVANT_CONTENT")] NoRelevantContent = 6, + /// + /// The jail-breaking query ignored case. + /// + /// For example, "Reply in the tone of a competing company's CEO". + /// Only used when + /// [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] + /// is set to `true`. + /// + [pbr::OriginalName("JAIL_BREAKING_QUERY_IGNORED")] JailBreakingQueryIgnored = 7, + /// + /// The customer policy violation case. + /// + /// Google skips the summary if there is a customer policy violation + /// detected. The policy is defined by the customer. + /// + [pbr::OriginalName("CUSTOMER_POLICY_VIOLATION")] CustomerPolicyViolation = 8, + /// + /// The non-answer seeking query ignored case. + /// + /// Google skips the summary if the query doesn't have clear intent. + /// Only used when + /// [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query] + /// is set to `true`. + /// + [pbr::OriginalName("NON_SUMMARY_SEEKING_QUERY_IGNORED_V2")] NonSummarySeekingQueryIgnoredV2 = 9, + /// + /// The time out case. + /// + /// Google skips the summary if the time out. + /// + [pbr::OriginalName("TIME_OUT")] TimeOut = 10, + } - #region Nested types - /// Container for nested types declared in the GuidedSearchResult message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { /// - /// Useful attribute for search result refinements. + /// Safety Attribute categories and their associated confidence scores. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RefinementAttribute : pb::IMessage + public sealed partial class SafetyAttributes : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RefinementAttribute()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SafetyAttributes()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.GuidedSearchResult.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12190,7 +15882,7 @@ public sealed partial class RefinementAttribute : pb::IMessageField number for the "attribute_key" field. - public const int AttributeKeyFieldNumber = 1; - private string attributeKey_ = ""; + /// Field number for the "categories" field. + public const int CategoriesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_categories_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField categories_ = new pbc::RepeatedField(); /// - /// Attribute key used to refine the results. For example, `"movie_type"`. + /// The display names of Safety Attribute categories associated with the + /// generated content. Order matches the Scores. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttributeKey { - get { return attributeKey_; } - set { - attributeKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public pbc::RepeatedField Categories { + get { return categories_; } } - /// Field number for the "attribute_value" field. - public const int AttributeValueFieldNumber = 2; - private string attributeValue_ = ""; + /// Field number for the "scores" field. + public const int ScoresFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_scores_codec + = pb::FieldCodec.ForFloat(18); + private readonly pbc::RepeatedField scores_ = new pbc::RepeatedField(); /// - /// Attribute value used to refine the results. For example, `"drama"`. + /// The confidence scores of the each category, higher + /// value means higher confidence. Order matches the Categories. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttributeValue { - get { return attributeValue_; } - set { - attributeValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public pbc::RepeatedField Scores { + get { return scores_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as RefinementAttribute); + return Equals(other as SafetyAttributes); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RefinementAttribute other) { + public bool Equals(SafetyAttributes other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AttributeKey != other.AttributeKey) return false; - if (AttributeValue != other.AttributeValue) return false; + if(!categories_.Equals(other.categories_)) return false; + if(!scores_.Equals(other.scores_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -12264,8 +15956,8 @@ public bool Equals(RefinementAttribute other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AttributeKey.Length != 0) hash ^= AttributeKey.GetHashCode(); - if (AttributeValue.Length != 0) hash ^= AttributeValue.GetHashCode(); + hash ^= categories_.GetHashCode(); + hash ^= scores_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12284,14 +15976,8 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AttributeKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AttributeKey); - } - if (AttributeValue.Length != 0) { - output.WriteRawTag(18); - output.WriteString(AttributeValue); - } + categories_.WriteTo(output, _repeated_categories_codec); + scores_.WriteTo(output, _repeated_scores_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -12302,14 +15988,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AttributeKey.Length != 0) { - output.WriteRawTag(10); - output.WriteString(AttributeKey); - } - if (AttributeValue.Length != 0) { - output.WriteRawTag(18); - output.WriteString(AttributeValue); - } + categories_.WriteTo(ref output, _repeated_categories_codec); + scores_.WriteTo(ref output, _repeated_scores_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -12320,12 +16000,8 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AttributeKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeKey); - } - if (AttributeValue.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeValue); - } + size += categories_.CalculateSize(_repeated_categories_codec); + size += scores_.CalculateSize(_repeated_scores_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12334,16 +16010,12 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RefinementAttribute other) { + public void MergeFrom(SafetyAttributes other) { if (other == null) { return; } - if (other.AttributeKey.Length != 0) { - AttributeKey = other.AttributeKey; - } - if (other.AttributeValue.Length != 0) { - AttributeValue = other.AttributeValue; - } + categories_.Add(other.categories_); + scores_.Add(other.scores_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -12364,11 +16036,12 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - AttributeKey = input.ReadString(); + categories_.AddEntriesFrom(input, _repeated_categories_codec); break; } - case 18: { - AttributeValue = input.ReadString(); + case 18: + case 21: { + scores_.AddEntriesFrom(input, _repeated_scores_codec); break; } } @@ -12391,462 +16064,233 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - AttributeKey = input.ReadString(); + categories_.AddEntriesFrom(ref input, _repeated_categories_codec); break; } - case 18: { - AttributeValue = input.ReadString(); + case 18: + case 21: { + scores_.AddEntriesFrom(ref input, _repeated_scores_codec); break; } } - } - } - #endif - - } - - } - #endregion - - } - - /// - /// Summary of the top N search results specified by the summary spec. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Summary : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Summary()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Descriptor.NestedTypes[3]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Summary() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Summary(Summary other) : this() { - summaryText_ = other.summaryText_; - summarySkippedReasons_ = other.summarySkippedReasons_.Clone(); - safetyAttributes_ = other.safetyAttributes_ != null ? other.safetyAttributes_.Clone() : null; - summaryWithMetadata_ = other.summaryWithMetadata_ != null ? other.summaryWithMetadata_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Summary Clone() { - return new Summary(this); - } - - /// Field number for the "summary_text" field. - public const int SummaryTextFieldNumber = 1; - private string summaryText_ = ""; - /// - /// The summary content. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SummaryText { - get { return summaryText_; } - set { - summaryText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "summary_skipped_reasons" field. - public const int SummarySkippedReasonsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_summarySkippedReasons_codec - = pb::FieldCodec.ForEnum(18, x => (int) x, x => (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummarySkippedReason) x); - private readonly pbc::RepeatedField summarySkippedReasons_ = new pbc::RepeatedField(); - /// - /// Additional summary-skipped reasons. This provides the reason for ignored - /// cases. If nothing is skipped, this field is not set. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SummarySkippedReasons { - get { return summarySkippedReasons_; } - } - - /// Field number for the "safety_attributes" field. - public const int SafetyAttributesFieldNumber = 3; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes safetyAttributes_; - /// - /// A collection of Safety Attribute categories and their associated - /// confidence scores. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes SafetyAttributes { - get { return safetyAttributes_; } - set { - safetyAttributes_ = value; - } - } + } + } + #endif - /// Field number for the "summary_with_metadata" field. - public const int SummaryWithMetadataFieldNumber = 4; - private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata summaryWithMetadata_; - /// - /// Summary with metadata information. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata SummaryWithMetadata { - get { return summaryWithMetadata_; } - set { - summaryWithMetadata_ = value; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Summary); - } + /// + /// Citation metadata. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CitationMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CitationMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Summary other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SummaryText != other.SummaryText) return false; - if(!summarySkippedReasons_.Equals(other.summarySkippedReasons_)) return false; - if (!object.Equals(SafetyAttributes, other.SafetyAttributes)) return false; - if (!object.Equals(SummaryWithMetadata, other.SummaryWithMetadata)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[1]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (SummaryText.Length != 0) hash ^= SummaryText.GetHashCode(); - hash ^= summarySkippedReasons_.GetHashCode(); - if (safetyAttributes_ != null) hash ^= SafetyAttributes.GetHashCode(); - if (summaryWithMetadata_ != null) hash ^= SummaryWithMetadata.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CitationMetadata() { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (SummaryText.Length != 0) { - output.WriteRawTag(10); - output.WriteString(SummaryText); - } - summarySkippedReasons_.WriteTo(output, _repeated_summarySkippedReasons_codec); - if (safetyAttributes_ != null) { - output.WriteRawTag(26); - output.WriteMessage(SafetyAttributes); - } - if (summaryWithMetadata_ != null) { - output.WriteRawTag(34); - output.WriteMessage(SummaryWithMetadata); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + partial void OnConstruction(); - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (SummaryText.Length != 0) { - output.WriteRawTag(10); - output.WriteString(SummaryText); - } - summarySkippedReasons_.WriteTo(ref output, _repeated_summarySkippedReasons_codec); - if (safetyAttributes_ != null) { - output.WriteRawTag(26); - output.WriteMessage(SafetyAttributes); - } - if (summaryWithMetadata_ != null) { - output.WriteRawTag(34); - output.WriteMessage(SummaryWithMetadata); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CitationMetadata(CitationMetadata other) : this() { + citations_ = other.citations_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (SummaryText.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SummaryText); - } - size += summarySkippedReasons_.CalculateSize(_repeated_summarySkippedReasons_codec); - if (safetyAttributes_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SafetyAttributes); - } - if (summaryWithMetadata_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SummaryWithMetadata); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CitationMetadata Clone() { + return new CitationMetadata(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Summary other) { - if (other == null) { - return; - } - if (other.SummaryText.Length != 0) { - SummaryText = other.SummaryText; - } - summarySkippedReasons_.Add(other.summarySkippedReasons_); - if (other.safetyAttributes_ != null) { - if (safetyAttributes_ == null) { - SafetyAttributes = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes(); + /// Field number for the "citations" field. + public const int CitationsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_citations_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Citation.Parser); + private readonly pbc::RepeatedField citations_ = new pbc::RepeatedField(); + /// + /// Citations for segments. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Citations { + get { return citations_; } } - SafetyAttributes.MergeFrom(other.SafetyAttributes); - } - if (other.summaryWithMetadata_ != null) { - if (summaryWithMetadata_ == null) { - SummaryWithMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CitationMetadata); } - SummaryWithMetadata.MergeFrom(other.SummaryWithMetadata); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - SummaryText = input.ReadString(); - break; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CitationMetadata other) { + if (ReferenceEquals(other, null)) { + return false; } - case 18: - case 16: { - summarySkippedReasons_.AddEntriesFrom(input, _repeated_summarySkippedReasons_codec); - break; + if (ReferenceEquals(other, this)) { + return true; + } + if(!citations_.Equals(other.citations_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= citations_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + citations_.WriteTo(output, _repeated_citations_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - case 26: { - if (safetyAttributes_ == null) { - SafetyAttributes = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes(); - } - input.ReadMessage(SafetyAttributes); - break; + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + citations_.WriteTo(ref output, _repeated_citations_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); } - case 34: { - if (summaryWithMetadata_ == null) { - SummaryWithMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata(); - } - input.ReadMessage(SummaryWithMetadata); - break; + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += citations_.CalculateSize(_repeated_citations_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); } + return size; } - } - #endif - } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - SummaryText = input.ReadString(); - break; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CitationMetadata other) { + if (other == null) { + return; } - case 18: - case 16: { - summarySkippedReasons_.AddEntriesFrom(ref input, _repeated_summarySkippedReasons_codec); - break; + citations_.Add(other.citations_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; } - case 26: { - if (safetyAttributes_ == null) { - SafetyAttributes = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SafetyAttributes(); + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + citations_.AddEntriesFrom(input, _repeated_citations_codec); + break; + } } - input.ReadMessage(SafetyAttributes); - break; } - case 34: { - if (summaryWithMetadata_ == null) { - SummaryWithMetadata = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.SummaryWithMetadata(); + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + citations_.AddEntriesFrom(ref input, _repeated_citations_codec); + break; + } } - input.ReadMessage(SummaryWithMetadata); - break; } } - } - } - #endif + #endif - #region Nested types - /// Container for nested types declared in the Summary message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - /// - /// An Enum for summary-skipped reasons. - /// - public enum SummarySkippedReason { - /// - /// Default value. The summary skipped reason is not specified. - /// - [pbr::OriginalName("SUMMARY_SKIPPED_REASON_UNSPECIFIED")] Unspecified = 0, - /// - /// The adversarial query ignored case. - /// - /// Only used when - /// [SummarySpec.ignore_adversarial_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query] - /// is set to `true`. - /// - [pbr::OriginalName("ADVERSARIAL_QUERY_IGNORED")] AdversarialQueryIgnored = 1, - /// - /// The non-summary seeking query ignored case. - /// - /// Google skips the summary if the query is chit chat. - /// Only used when - /// [SummarySpec.ignore_non_summary_seeking_query][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query] - /// is set to `true`. - /// - [pbr::OriginalName("NON_SUMMARY_SEEKING_QUERY_IGNORED")] NonSummarySeekingQueryIgnored = 2, - /// - /// The out-of-domain query ignored case. - /// - /// Google skips the summary if there are no high-relevance search results. - /// For example, the data store contains facts about company A but the - /// user query is asking questions about company B. - /// - [pbr::OriginalName("OUT_OF_DOMAIN_QUERY_IGNORED")] OutOfDomainQueryIgnored = 3, - /// - /// The potential policy violation case. - /// - /// Google skips the summary if there is a potential policy violation - /// detected. This includes content that may be violent or toxic. - /// - [pbr::OriginalName("POTENTIAL_POLICY_VIOLATION")] PotentialPolicyViolation = 4, - /// - /// The LLM addon not enabled case. - /// - /// Google skips the summary if the LLM addon is not enabled. - /// - [pbr::OriginalName("LLM_ADDON_NOT_ENABLED")] LlmAddonNotEnabled = 5, - /// - /// The no relevant content case. - /// - /// Google skips the summary if there is no relevant content in the - /// retrieved search results. - /// - [pbr::OriginalName("NO_RELEVANT_CONTENT")] NoRelevantContent = 6, - /// - /// The jail-breaking query ignored case. - /// - /// For example, "Reply in the tone of a competing company's CEO". - /// Only used when - /// [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] - /// is set to `true`. - /// - [pbr::OriginalName("JAIL_BREAKING_QUERY_IGNORED")] JailBreakingQueryIgnored = 7, - /// - /// The customer policy violation case. - /// - /// Google skips the summary if there is a customer policy violation - /// detected. The policy is defined by the customer. - /// - [pbr::OriginalName("CUSTOMER_POLICY_VIOLATION")] CustomerPolicyViolation = 8, - /// - /// The non-answer seeking query ignored case. - /// - /// Google skips the summary if the query doesn't have clear intent. - /// Only used when - /// [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query] - /// is set to `true`. - /// - [pbr::OriginalName("NON_SUMMARY_SEEKING_QUERY_IGNORED_V2")] NonSummarySeekingQueryIgnoredV2 = 9, } /// - /// Safety Attribute categories and their associated confidence scores. + /// Citation info for a segment. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SafetyAttributes : pb::IMessage + public sealed partial class Citation : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SafetyAttributes()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Citation()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12857,7 +16301,7 @@ public sealed partial class SafetyAttributes : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SafetyAttributes() { + public Citation() { OnConstruction(); } @@ -12865,65 +16309,81 @@ public SafetyAttributes() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SafetyAttributes(SafetyAttributes other) : this() { - categories_ = other.categories_.Clone(); - scores_ = other.scores_.Clone(); + public Citation(Citation other) : this() { + startIndex_ = other.startIndex_; + endIndex_ = other.endIndex_; + sources_ = other.sources_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SafetyAttributes Clone() { - return new SafetyAttributes(this); + public Citation Clone() { + return new Citation(this); } - /// Field number for the "categories" field. - public const int CategoriesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_categories_codec - = pb::FieldCodec.ForString(10); - private readonly pbc::RepeatedField categories_ = new pbc::RepeatedField(); + /// Field number for the "start_index" field. + public const int StartIndexFieldNumber = 1; + private long startIndex_; /// - /// The display names of Safety Attribute categories associated with the - /// generated content. Order matches the Scores. + /// Index indicates the start of the segment, measured in bytes/unicode. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StartIndex { + get { return startIndex_; } + set { + startIndex_ = value; + } + } + + /// Field number for the "end_index" field. + public const int EndIndexFieldNumber = 2; + private long endIndex_; + /// + /// End of the attributed segment, exclusive. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Categories { - get { return categories_; } + public long EndIndex { + get { return endIndex_; } + set { + endIndex_ = value; + } } - /// Field number for the "scores" field. - public const int ScoresFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_scores_codec - = pb::FieldCodec.ForFloat(18); - private readonly pbc::RepeatedField scores_ = new pbc::RepeatedField(); + /// Field number for the "sources" field. + public const int SourcesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_sources_codec + = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.CitationSource.Parser); + private readonly pbc::RepeatedField sources_ = new pbc::RepeatedField(); /// - /// The confidence scores of the each category, higher - /// value means higher confidence. Order matches the Categories. + /// Citation sources for the attributed segment. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Scores { - get { return scores_; } + public pbc::RepeatedField Sources { + get { return sources_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as SafetyAttributes); + return Equals(other as Citation); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SafetyAttributes other) { + public bool Equals(Citation other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!categories_.Equals(other.categories_)) return false; - if(!scores_.Equals(other.scores_)) return false; + if (StartIndex != other.StartIndex) return false; + if (EndIndex != other.EndIndex) return false; + if(!sources_.Equals(other.sources_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -12931,8 +16391,9 @@ public bool Equals(SafetyAttributes other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= categories_.GetHashCode(); - hash ^= scores_.GetHashCode(); + if (StartIndex != 0L) hash ^= StartIndex.GetHashCode(); + if (EndIndex != 0L) hash ^= EndIndex.GetHashCode(); + hash ^= sources_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -12951,8 +16412,15 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - categories_.WriteTo(output, _repeated_categories_codec); - scores_.WriteTo(output, _repeated_scores_codec); + if (StartIndex != 0L) { + output.WriteRawTag(8); + output.WriteInt64(StartIndex); + } + if (EndIndex != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EndIndex); + } + sources_.WriteTo(output, _repeated_sources_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -12963,8 +16431,15 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - categories_.WriteTo(ref output, _repeated_categories_codec); - scores_.WriteTo(ref output, _repeated_scores_codec); + if (StartIndex != 0L) { + output.WriteRawTag(8); + output.WriteInt64(StartIndex); + } + if (EndIndex != 0L) { + output.WriteRawTag(16); + output.WriteInt64(EndIndex); + } + sources_.WriteTo(ref output, _repeated_sources_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -12975,8 +16450,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += categories_.CalculateSize(_repeated_categories_codec); - size += scores_.CalculateSize(_repeated_scores_codec); + if (StartIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartIndex); + } + if (EndIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndIndex); + } + size += sources_.CalculateSize(_repeated_sources_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -12985,12 +16465,17 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SafetyAttributes other) { + public void MergeFrom(Citation other) { if (other == null) { return; } - categories_.Add(other.categories_); - scores_.Add(other.scores_); + if (other.StartIndex != 0L) { + StartIndex = other.StartIndex; + } + if (other.EndIndex != 0L) { + EndIndex = other.EndIndex; + } + sources_.Add(other.sources_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -13010,13 +16495,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - categories_.AddEntriesFrom(input, _repeated_categories_codec); + case 8: { + StartIndex = input.ReadInt64(); break; } - case 18: - case 21: { - scores_.AddEntriesFrom(input, _repeated_scores_codec); + case 16: { + EndIndex = input.ReadInt64(); + break; + } + case 26: { + sources_.AddEntriesFrom(input, _repeated_sources_codec); break; } } @@ -13038,13 +16526,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - categories_.AddEntriesFrom(ref input, _repeated_categories_codec); + case 8: { + StartIndex = input.ReadInt64(); break; } - case 18: - case 21: { - scores_.AddEntriesFrom(ref input, _repeated_scores_codec); + case 16: { + EndIndex = input.ReadInt64(); + break; + } + case 26: { + sources_.AddEntriesFrom(ref input, _repeated_sources_codec); break; } } @@ -13055,24 +16546,24 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Citation metadata. + /// Citation source. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CitationMetadata : pb::IMessage + public sealed partial class CitationSource : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CitationMetadata()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CitationSource()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[1]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13083,7 +16574,7 @@ public sealed partial class CitationMetadata : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CitationMetadata() { + public CitationSource() { OnConstruction(); } @@ -13091,47 +16582,50 @@ public CitationMetadata() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CitationMetadata(CitationMetadata other) : this() { - citations_ = other.citations_.Clone(); + public CitationSource(CitationSource other) : this() { + referenceIndex_ = other.referenceIndex_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CitationMetadata Clone() { - return new CitationMetadata(this); + public CitationSource Clone() { + return new CitationSource(this); } - /// Field number for the "citations" field. - public const int CitationsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_citations_codec - = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Citation.Parser); - private readonly pbc::RepeatedField citations_ = new pbc::RepeatedField(); + /// Field number for the "reference_index" field. + public const int ReferenceIndexFieldNumber = 4; + private long referenceIndex_; /// - /// Citations for segments. + /// Document reference index from SummaryWithMetadata.references. + /// It is 0-indexed and the value will be zero if the reference_index is + /// not set explicitly. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Citations { - get { return citations_; } + public long ReferenceIndex { + get { return referenceIndex_; } + set { + referenceIndex_ = value; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as CitationMetadata); + return Equals(other as CitationSource); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CitationMetadata other) { + public bool Equals(CitationSource other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!citations_.Equals(other.citations_)) return false; + if (ReferenceIndex != other.ReferenceIndex) return false; return Equals(_unknownFields, other._unknownFields); } @@ -13139,7 +16633,7 @@ public bool Equals(CitationMetadata other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= citations_.GetHashCode(); + if (ReferenceIndex != 0L) hash ^= ReferenceIndex.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13158,7 +16652,10 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - citations_.WriteTo(output, _repeated_citations_codec); + if (ReferenceIndex != 0L) { + output.WriteRawTag(32); + output.WriteInt64(ReferenceIndex); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -13169,7 +16666,10 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - citations_.WriteTo(ref output, _repeated_citations_codec); + if (ReferenceIndex != 0L) { + output.WriteRawTag(32); + output.WriteInt64(ReferenceIndex); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -13180,7 +16680,9 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += citations_.CalculateSize(_repeated_citations_codec); + if (ReferenceIndex != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ReferenceIndex); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -13189,11 +16691,13 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CitationMetadata other) { + public void MergeFrom(CitationSource other) { if (other == null) { return; } - citations_.Add(other.citations_); + if (other.ReferenceIndex != 0L) { + ReferenceIndex = other.ReferenceIndex; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -13213,8 +16717,8 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - citations_.AddEntriesFrom(input, _repeated_citations_codec); + case 32: { + ReferenceIndex = input.ReadInt64(); break; } } @@ -13236,8 +16740,8 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - citations_.AddEntriesFrom(ref input, _repeated_citations_codec); + case 32: { + ReferenceIndex = input.ReadInt64(); break; } } @@ -13248,24 +16752,24 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Citation info for a segment. + /// Document reference. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Citation : pb::IMessage + public sealed partial class Reference : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Citation()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Reference()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[2]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13276,7 +16780,7 @@ public sealed partial class Citation : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Citation() { + public Reference() { OnConstruction(); } @@ -13284,81 +16788,102 @@ public Citation() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Citation(Citation other) : this() { - startIndex_ = other.startIndex_; - endIndex_ = other.endIndex_; - sources_ = other.sources_.Clone(); + public Reference(Reference other) : this() { + title_ = other.title_; + document_ = other.document_; + uri_ = other.uri_; + chunkContents_ = other.chunkContents_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Citation Clone() { - return new Citation(this); + public Reference Clone() { + return new Reference(this); } - /// Field number for the "start_index" field. - public const int StartIndexFieldNumber = 1; - private long startIndex_; + /// Field number for the "title" field. + public const int TitleFieldNumber = 1; + private string title_ = ""; /// - /// Index indicates the start of the segment, measured in bytes/unicode. + /// Title of the document. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long StartIndex { - get { return startIndex_; } + public string Title { + get { return title_; } set { - startIndex_ = value; + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "end_index" field. - public const int EndIndexFieldNumber = 2; - private long endIndex_; + /// Field number for the "document" field. + public const int DocumentFieldNumber = 2; + private string document_ = ""; /// - /// End of the attributed segment, exclusive. + /// Required. + /// [Document.name][google.cloud.discoveryengine.v1beta.Document.name] of + /// the document. Full resource name of the referenced document, in the + /// format + /// `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long EndIndex { - get { return endIndex_; } + public string Document { + get { return document_; } set { - endIndex_ = value; + document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "sources" field. - public const int SourcesFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_sources_codec - = pb::FieldCodec.ForMessage(26, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.CitationSource.Parser); - private readonly pbc::RepeatedField sources_ = new pbc::RepeatedField(); + /// Field number for the "uri" field. + public const int UriFieldNumber = 3; + private string uri_ = ""; + /// + /// Cloud Storage or HTTP uri for the document. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Uri { + get { return uri_; } + set { + uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "chunk_contents" field. + public const int ChunkContentsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_chunkContents_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Types.ChunkContent.Parser); + private readonly pbc::RepeatedField chunkContents_ = new pbc::RepeatedField(); /// - /// Citation sources for the attributed segment. + /// List of cited chunk contents derived from document content. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Sources { - get { return sources_; } + public pbc::RepeatedField ChunkContents { + get { return chunkContents_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Citation); + return Equals(other as Reference); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Citation other) { + public bool Equals(Reference other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (StartIndex != other.StartIndex) return false; - if (EndIndex != other.EndIndex) return false; - if(!sources_.Equals(other.sources_)) return false; + if (Title != other.Title) return false; + if (Document != other.Document) return false; + if (Uri != other.Uri) return false; + if(!chunkContents_.Equals(other.chunkContents_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -13366,9 +16891,10 @@ public bool Equals(Citation other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (StartIndex != 0L) hash ^= StartIndex.GetHashCode(); - if (EndIndex != 0L) hash ^= EndIndex.GetHashCode(); - hash ^= sources_.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Document.Length != 0) hash ^= Document.GetHashCode(); + if (Uri.Length != 0) hash ^= Uri.GetHashCode(); + hash ^= chunkContents_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13387,15 +16913,19 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (StartIndex != 0L) { - output.WriteRawTag(8); - output.WriteInt64(StartIndex); + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); } - if (EndIndex != 0L) { - output.WriteRawTag(16); - output.WriteInt64(EndIndex); + if (Document.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Document); } - sources_.WriteTo(output, _repeated_sources_codec); + if (Uri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uri); + } + chunkContents_.WriteTo(output, _repeated_chunkContents_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -13406,15 +16936,19 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (StartIndex != 0L) { - output.WriteRawTag(8); - output.WriteInt64(StartIndex); + if (Title.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Title); } - if (EndIndex != 0L) { - output.WriteRawTag(16); - output.WriteInt64(EndIndex); + if (Document.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Document); } - sources_.WriteTo(ref output, _repeated_sources_codec); + if (Uri.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Uri); + } + chunkContents_.WriteTo(ref output, _repeated_chunkContents_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -13425,13 +16959,16 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (StartIndex != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartIndex); + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); } - if (EndIndex != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndIndex); + if (Document.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); } - size += sources_.CalculateSize(_repeated_sources_codec); + if (Uri.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + } + size += chunkContents_.CalculateSize(_repeated_chunkContents_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -13440,17 +16977,20 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Citation other) { + public void MergeFrom(Reference other) { if (other == null) { return; } - if (other.StartIndex != 0L) { - StartIndex = other.StartIndex; + if (other.Title.Length != 0) { + Title = other.Title; } - if (other.EndIndex != 0L) { - EndIndex = other.EndIndex; + if (other.Document.Length != 0) { + Document = other.Document; } - sources_.Add(other.sources_); + if (other.Uri.Length != 0) { + Uri = other.Uri; + } + chunkContents_.Add(other.chunkContents_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -13470,16 +17010,20 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - StartIndex = input.ReadInt64(); + case 10: { + Title = input.ReadString(); break; } - case 16: { - EndIndex = input.ReadInt64(); + case 18: { + Document = input.ReadString(); break; } case 26: { - sources_.AddEntriesFrom(input, _repeated_sources_codec); + Uri = input.ReadString(); + break; + } + case 34: { + chunkContents_.AddEntriesFrom(input, _repeated_chunkContents_codec); break; } } @@ -13501,16 +17045,20 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - StartIndex = input.ReadInt64(); + case 10: { + Title = input.ReadString(); break; } - case 16: { - EndIndex = input.ReadInt64(); + case 18: { + Document = input.ReadString(); break; } case 26: { - sources_.AddEntriesFrom(ref input, _repeated_sources_codec); + Uri = input.ReadString(); + break; + } + case 34: { + chunkContents_.AddEntriesFrom(ref input, _repeated_chunkContents_codec); break; } } @@ -13518,233 +17066,310 @@ public void MergeFrom(pb::CodedInputStream input) { } #endif - } - - /// - /// Citation source. - /// - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CitationSource : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CitationSource()); - private pb::UnknownFieldSet _unknownFields; + #region Nested types + /// Container for nested types declared in the Reference message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static partial class Types { + /// + /// Chunk content. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChunkContent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkContent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[3]; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Descriptor.NestedTypes[0]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CitationSource() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkContent() { + OnConstruction(); + } - partial void OnConstruction(); + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CitationSource(CitationSource other) : this() { - referenceIndex_ = other.referenceIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkContent(ChunkContent other) : this() { + content_ = other.content_; + pageIdentifier_ = other.pageIdentifier_; + blobAttachmentIndexes_ = other.blobAttachmentIndexes_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CitationSource Clone() { - return new CitationSource(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChunkContent Clone() { + return new ChunkContent(this); + } - /// Field number for the "reference_index" field. - public const int ReferenceIndexFieldNumber = 4; - private long referenceIndex_; - /// - /// Document reference index from SummaryWithMetadata.references. - /// It is 0-indexed and the value will be zero if the reference_index is - /// not set explicitly. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ReferenceIndex { - get { return referenceIndex_; } - set { - referenceIndex_ = value; - } - } + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private string content_ = ""; + /// + /// Chunk textual content. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_identifier" field. + public const int PageIdentifierFieldNumber = 2; + private string pageIdentifier_ = ""; + /// + /// Page identifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageIdentifier { + get { return pageIdentifier_; } + set { + pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "blob_attachment_indexes" field. + public const int BlobAttachmentIndexesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_blobAttachmentIndexes_codec + = pb::FieldCodec.ForInt64(34); + private readonly pbc::RepeatedField blobAttachmentIndexes_ = new pbc::RepeatedField(); + /// + /// Output only. Stores indexes of blobattachments linked to this chunk. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlobAttachmentIndexes { + get { return blobAttachmentIndexes_; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CitationSource); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ChunkContent); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CitationSource other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ReferenceIndex != other.ReferenceIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChunkContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (PageIdentifier != other.PageIdentifier) return false; + if(!blobAttachmentIndexes_.Equals(other.blobAttachmentIndexes_)) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (ReferenceIndex != 0L) hash ^= ReferenceIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (PageIdentifier.Length != 0) hash ^= PageIdentifier.GetHashCode(); + hash ^= blobAttachmentIndexes_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (ReferenceIndex != 0L) { - output.WriteRawTag(32); - output.WriteInt64(ReferenceIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (PageIdentifier.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PageIdentifier); + } + blobAttachmentIndexes_.WriteTo(output, _repeated_blobAttachmentIndexes_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ReferenceIndex != 0L) { - output.WriteRawTag(32); - output.WriteInt64(ReferenceIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (PageIdentifier.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PageIdentifier); + } + blobAttachmentIndexes_.WriteTo(ref output, _repeated_blobAttachmentIndexes_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (ReferenceIndex != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(ReferenceIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (PageIdentifier.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageIdentifier); + } + size += blobAttachmentIndexes_.CalculateSize(_repeated_blobAttachmentIndexes_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CitationSource other) { - if (other == null) { - return; - } - if (other.ReferenceIndex != 0L) { - ReferenceIndex = other.ReferenceIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChunkContent other) { + if (other == null) { + return; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.PageIdentifier.Length != 0) { + PageIdentifier = other.PageIdentifier; + } + blobAttachmentIndexes_.Add(other.blobAttachmentIndexes_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 32: { - ReferenceIndex = input.ReadInt64(); - break; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + PageIdentifier = input.ReadString(); + break; + } + case 34: + case 32: { + blobAttachmentIndexes_.AddEntriesFrom(input, _repeated_blobAttachmentIndexes_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Content = input.ReadString(); + break; + } + case 18: { + PageIdentifier = input.ReadString(); + break; + } + case 34: + case 32: { + blobAttachmentIndexes_.AddEntriesFrom(ref input, _repeated_blobAttachmentIndexes_codec); + break; + } + } } } - } - #endif - } + #endif - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 32: { - ReferenceIndex = input.ReadInt64(); - break; - } - } } + } - #endif + #endregion } /// - /// Document reference. + /// Stores binarydata attached to text answer, e.g. image, video, audio, etc. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Reference : pb::IMessage + public sealed partial class BlobAttachment : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Reference()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BlobAttachment()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[4]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Descriptor.NestedTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13755,7 +17380,7 @@ public sealed partial class Reference : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Reference() { + public BlobAttachment() { OnConstruction(); } @@ -13763,102 +17388,65 @@ public Reference() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Reference(Reference other) : this() { - title_ = other.title_; - document_ = other.document_; - uri_ = other.uri_; - chunkContents_ = other.chunkContents_.Clone(); + public BlobAttachment(BlobAttachment other) : this() { + data_ = other.data_ != null ? other.data_.Clone() : null; + attributionType_ = other.attributionType_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Reference Clone() { - return new Reference(this); - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 1; - private string title_ = ""; - /// - /// Title of the document. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public BlobAttachment Clone() { + return new BlobAttachment(this); } - /// Field number for the "document" field. - public const int DocumentFieldNumber = 2; - private string document_ = ""; + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob data_; /// - /// Required. - /// [Document.name][google.cloud.discoveryengine.v1beta.Document.name] of - /// the document. Full resource name of the referenced document, in the - /// format - /// `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + /// Output only. The blob data. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Document { - get { return document_; } + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob Data { + get { return data_; } set { - document_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + data_ = value; } } - /// Field number for the "uri" field. - public const int UriFieldNumber = 3; - private string uri_ = ""; + /// Field number for the "attribution_type" field. + public const int AttributionTypeFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType attributionType_ = global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType.Unspecified; /// - /// Cloud Storage or HTTP uri for the document. + /// Output only. The attribution type of the blob. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Uri { - get { return uri_; } + public global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType AttributionType { + get { return attributionType_; } set { - uri_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + attributionType_ = value; } } - /// Field number for the "chunk_contents" field. - public const int ChunkContentsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_chunkContents_codec - = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Types.ChunkContent.Parser); - private readonly pbc::RepeatedField chunkContents_ = new pbc::RepeatedField(); - /// - /// List of cited chunk contents derived from document content. - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ChunkContents { - get { return chunkContents_; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as Reference); + return Equals(other as BlobAttachment); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Reference other) { + public bool Equals(BlobAttachment other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Title != other.Title) return false; - if (Document != other.Document) return false; - if (Uri != other.Uri) return false; - if(!chunkContents_.Equals(other.chunkContents_)) return false; + if (!object.Equals(Data, other.Data)) return false; + if (AttributionType != other.AttributionType) return false; return Equals(_unknownFields, other._unknownFields); } @@ -13866,10 +17454,8 @@ public bool Equals(Reference other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Document.Length != 0) hash ^= Document.GetHashCode(); - if (Uri.Length != 0) hash ^= Uri.GetHashCode(); - hash ^= chunkContents_.GetHashCode(); + if (data_ != null) hash ^= Data.GetHashCode(); + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType.Unspecified) hash ^= AttributionType.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -13888,19 +17474,14 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Title.Length != 0) { + if (data_ != null) { output.WriteRawTag(10); - output.WriteString(Title); + output.WriteMessage(Data); } - if (Document.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Document); - } - if (Uri.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uri); + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) AttributionType); } - chunkContents_.WriteTo(output, _repeated_chunkContents_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -13911,19 +17492,14 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Title.Length != 0) { + if (data_ != null) { output.WriteRawTag(10); - output.WriteString(Title); - } - if (Document.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Document); + output.WriteMessage(Data); } - if (Uri.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Uri); + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType.Unspecified) { + output.WriteRawTag(16); + output.WriteEnum((int) AttributionType); } - chunkContents_.WriteTo(ref output, _repeated_chunkContents_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -13934,16 +17510,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Document.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Document); + if (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } - if (Uri.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Uri); + if (AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AttributionType); } - size += chunkContents_.CalculateSize(_repeated_chunkContents_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -13952,20 +17524,19 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Reference other) { + public void MergeFrom(BlobAttachment other) { if (other == null) { return; } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Document.Length != 0) { - Document = other.Document; + if (other.data_ != null) { + if (data_ == null) { + Data = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob(); + } + Data.MergeFrom(other.Data); } - if (other.Uri.Length != 0) { - Uri = other.Uri; + if (other.AttributionType != global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType.Unspecified) { + AttributionType = other.AttributionType; } - chunkContents_.Add(other.chunkContents_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -13986,19 +17557,14 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Title = input.ReadString(); - break; - } - case 18: { - Document = input.ReadString(); - break; - } - case 26: { - Uri = input.ReadString(); + if (data_ == null) { + Data = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob(); + } + input.ReadMessage(Data); break; } - case 34: { - chunkContents_.AddEntriesFrom(input, _repeated_chunkContents_codec); + case 16: { + AttributionType = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType) input.ReadEnum(); break; } } @@ -14021,19 +17587,14 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Title = input.ReadString(); - break; - } - case 18: { - Document = input.ReadString(); - break; - } - case 26: { - Uri = input.ReadString(); + if (data_ == null) { + Data = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.Blob(); + } + input.ReadMessage(Data); break; } - case 34: { - chunkContents_.AddEntriesFrom(ref input, _repeated_chunkContents_codec); + case 16: { + AttributionType = (global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Types.AttributionType) input.ReadEnum(); break; } } @@ -14042,29 +17603,48 @@ public void MergeFrom(pb::CodedInputStream input) { #endif #region Nested types - /// Container for nested types declared in the Reference message type. + /// Container for nested types declared in the BlobAttachment message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// Chunk content. + /// Defines the attribution type of the blob. + /// + public enum AttributionType { + /// + /// Unspecified attribution type. + /// + [pbr::OriginalName("ATTRIBUTION_TYPE_UNSPECIFIED")] Unspecified = 0, + /// + /// The attachment data is from the corpus. + /// + [pbr::OriginalName("CORPUS")] Corpus = 1, + /// + /// The attachment data is generated by the model through code + /// generation. + /// + [pbr::OriginalName("GENERATED")] Generated = 2, + } + + /// + /// Stores type and data of the blob. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ChunkContent : pb::IMessage + public sealed partial class Blob : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChunkContent()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Blob()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.Reference.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14075,7 +17655,7 @@ public sealed partial class ChunkContent : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkContent() { + public Blob() { OnConstruction(); } @@ -14083,65 +17663,65 @@ public ChunkContent() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkContent(ChunkContent other) : this() { - content_ = other.content_; - pageIdentifier_ = other.pageIdentifier_; + public Blob(Blob other) : this() { + mimeType_ = other.mimeType_; + data_ = other.data_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ChunkContent Clone() { - return new ChunkContent(this); + public Blob Clone() { + return new Blob(this); } - /// Field number for the "content" field. - public const int ContentFieldNumber = 1; - private string content_ = ""; + /// Field number for the "mime_type" field. + public const int MimeTypeFieldNumber = 1; + private string mimeType_ = ""; /// - /// Chunk textual content. + /// Output only. The media type (MIME type) of the generated data. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } + public string MimeType { + get { return mimeType_; } set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + mimeType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "page_identifier" field. - public const int PageIdentifierFieldNumber = 2; - private string pageIdentifier_ = ""; + /// Field number for the "data" field. + public const int DataFieldNumber = 2; + private pb::ByteString data_ = pb::ByteString.Empty; /// - /// Page identifier. + /// Output only. Raw bytes. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PageIdentifier { - get { return pageIdentifier_; } + public pb::ByteString Data { + get { return data_; } set { - pageIdentifier_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ChunkContent); + return Equals(other as Blob); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ChunkContent other) { + public bool Equals(Blob other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Content != other.Content) return false; - if (PageIdentifier != other.PageIdentifier) return false; + if (MimeType != other.MimeType) return false; + if (Data != other.Data) return false; return Equals(_unknownFields, other._unknownFields); } @@ -14149,8 +17729,8 @@ public bool Equals(ChunkContent other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Content.Length != 0) hash ^= Content.GetHashCode(); - if (PageIdentifier.Length != 0) hash ^= PageIdentifier.GetHashCode(); + if (MimeType.Length != 0) hash ^= MimeType.GetHashCode(); + if (Data.Length != 0) hash ^= Data.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14169,13 +17749,13 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Content.Length != 0) { + if (MimeType.Length != 0) { output.WriteRawTag(10); - output.WriteString(Content); + output.WriteString(MimeType); } - if (PageIdentifier.Length != 0) { + if (Data.Length != 0) { output.WriteRawTag(18); - output.WriteString(PageIdentifier); + output.WriteBytes(Data); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -14187,13 +17767,13 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Content.Length != 0) { + if (MimeType.Length != 0) { output.WriteRawTag(10); - output.WriteString(Content); + output.WriteString(MimeType); } - if (PageIdentifier.Length != 0) { + if (Data.Length != 0) { output.WriteRawTag(18); - output.WriteString(PageIdentifier); + output.WriteBytes(Data); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -14205,11 +17785,11 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + if (MimeType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MimeType); } - if (PageIdentifier.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PageIdentifier); + if (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -14219,15 +17799,15 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ChunkContent other) { + public void MergeFrom(Blob other) { if (other == null) { return; } - if (other.Content.Length != 0) { - Content = other.Content; + if (other.MimeType.Length != 0) { + MimeType = other.MimeType; } - if (other.PageIdentifier.Length != 0) { - PageIdentifier = other.PageIdentifier; + if (other.Data.Length != 0) { + Data = other.Data; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -14249,11 +17829,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Content = input.ReadString(); + MimeType = input.ReadString(); break; } case 18: { - PageIdentifier = input.ReadString(); + Data = input.ReadBytes(); break; } } @@ -14276,11 +17856,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Content = input.ReadString(); + MimeType = input.ReadString(); break; } case 18: { - PageIdentifier = input.ReadString(); + Data = input.ReadBytes(); break; } } @@ -14313,7 +17893,7 @@ public sealed partial class SummaryWithMetadata : pb::IMessageField number for the "blob_attachments" field. + public const int BlobAttachmentsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_blobAttachments_codec + = pb::FieldCodec.ForMessage(34, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.Summary.Types.BlobAttachment.Parser); + private readonly pbc::RepeatedField blobAttachments_ = new pbc::RepeatedField(); + /// + /// Output only. Store multimodal data for answer enhancement. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BlobAttachments { + get { return blobAttachments_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -14407,6 +18002,7 @@ public bool Equals(SummaryWithMetadata other) { if (Summary != other.Summary) return false; if (!object.Equals(CitationMetadata, other.CitationMetadata)) return false; if(!references_.Equals(other.references_)) return false; + if(!blobAttachments_.Equals(other.blobAttachments_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -14417,6 +18013,7 @@ public override int GetHashCode() { if (Summary.Length != 0) hash ^= Summary.GetHashCode(); if (citationMetadata_ != null) hash ^= CitationMetadata.GetHashCode(); hash ^= references_.GetHashCode(); + hash ^= blobAttachments_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -14444,6 +18041,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(CitationMetadata); } references_.WriteTo(output, _repeated_references_codec); + blobAttachments_.WriteTo(output, _repeated_blobAttachments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -14463,6 +18061,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(CitationMetadata); } references_.WriteTo(ref output, _repeated_references_codec); + blobAttachments_.WriteTo(ref output, _repeated_blobAttachments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -14480,6 +18079,7 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CitationMetadata); } size += references_.CalculateSize(_repeated_references_codec); + size += blobAttachments_.CalculateSize(_repeated_blobAttachments_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -14502,6 +18102,7 @@ public void MergeFrom(SummaryWithMetadata other) { CitationMetadata.MergeFrom(other.CitationMetadata); } references_.Add(other.references_); + blobAttachments_.Add(other.blobAttachments_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -14536,6 +18137,10 @@ public void MergeFrom(pb::CodedInputStream input) { references_.AddEntriesFrom(input, _repeated_references_codec); break; } + case 34: { + blobAttachments_.AddEntriesFrom(input, _repeated_blobAttachments_codec); + break; + } } } #endif @@ -14570,6 +18175,10 @@ public void MergeFrom(pb::CodedInputStream input) { references_.AddEntriesFrom(ref input, _repeated_references_codec); break; } + case 34: { + blobAttachments_.AddEntriesFrom(ref input, _repeated_blobAttachments_codec); + break; + } } } } @@ -15116,6 +18725,7 @@ public NaturalLanguageQueryUnderstandingInfo() { public NaturalLanguageQueryUnderstandingInfo(NaturalLanguageQueryUnderstandingInfo other) : this() { extractedFilters_ = other.extractedFilters_; rewrittenQuery_ = other.rewrittenQuery_; + classifiedIntents_ = other.classifiedIntents_.Clone(); structuredExtractedFilter_ = other.structuredExtractedFilter_ != null ? other.structuredExtractedFilter_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -15156,6 +18766,20 @@ public string RewrittenQuery { } } + /// Field number for the "classified_intents" field. + public const int ClassifiedIntentsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_classifiedIntents_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField classifiedIntents_ = new pbc::RepeatedField(); + /// + /// The classified intents from the input query. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ClassifiedIntents { + get { return classifiedIntents_; } + } + /// Field number for the "structured_extracted_filter" field. public const int StructuredExtractedFilterFieldNumber = 3; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter structuredExtractedFilter_; @@ -15189,6 +18813,7 @@ public bool Equals(NaturalLanguageQueryUnderstandingInfo other) { } if (ExtractedFilters != other.ExtractedFilters) return false; if (RewrittenQuery != other.RewrittenQuery) return false; + if(!classifiedIntents_.Equals(other.classifiedIntents_)) return false; if (!object.Equals(StructuredExtractedFilter, other.StructuredExtractedFilter)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -15199,6 +18824,7 @@ public override int GetHashCode() { int hash = 1; if (ExtractedFilters.Length != 0) hash ^= ExtractedFilters.GetHashCode(); if (RewrittenQuery.Length != 0) hash ^= RewrittenQuery.GetHashCode(); + hash ^= classifiedIntents_.GetHashCode(); if (structuredExtractedFilter_ != null) hash ^= StructuredExtractedFilter.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -15230,6 +18856,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(StructuredExtractedFilter); } + classifiedIntents_.WriteTo(output, _repeated_classifiedIntents_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -15252,6 +18879,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteMessage(StructuredExtractedFilter); } + classifiedIntents_.WriteTo(ref output, _repeated_classifiedIntents_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -15268,6 +18896,7 @@ public int CalculateSize() { if (RewrittenQuery.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RewrittenQuery); } + size += classifiedIntents_.CalculateSize(_repeated_classifiedIntents_codec); if (structuredExtractedFilter_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructuredExtractedFilter); } @@ -15289,6 +18918,7 @@ public void MergeFrom(NaturalLanguageQueryUnderstandingInfo other) { if (other.RewrittenQuery.Length != 0) { RewrittenQuery = other.RewrittenQuery; } + classifiedIntents_.Add(other.classifiedIntents_); if (other.structuredExtractedFilter_ != null) { if (structuredExtractedFilter_ == null) { StructuredExtractedFilter = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchResponse.Types.NaturalLanguageQueryUnderstandingInfo.Types.StructuredExtractedFilter(); @@ -15329,6 +18959,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(StructuredExtractedFilter); break; } + case 42: { + classifiedIntents_.AddEntriesFrom(input, _repeated_classifiedIntents_codec); + break; + } } } #endif @@ -15363,6 +18997,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(StructuredExtractedFilter); break; } + case 42: { + classifiedIntents_.AddEntriesFrom(ref input, _repeated_classifiedIntents_codec); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceClient.g.cs index 9c816f7cb355..f1d912893e57 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceClient.g.cs @@ -169,11 +169,17 @@ public abstract partial class SearchServiceClient /// The default SearchService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.assist.readwrite + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceGrpc.g.cs index 24bb438e6168..2145048ce71f 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/search_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningService.g.cs index d9002eeef915..b325e093e175 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningService.g.cs @@ -58,7 +58,7 @@ static SearchTuningServiceReflection() { "a2V5GAEgASgJEg0KBXZhbHVlGAIgASgBOgI4ASJ8ChhUcmFpbkN1c3RvbU1v", "ZGVsTWV0YWRhdGESLwoLY3JlYXRlX3RpbWUYASABKAsyGi5nb29nbGUucHJv", "dG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGAIgASgLMhouZ29vZ2xl", - "LnByb3RvYnVmLlRpbWVzdGFtcDKuBQoTU2VhcmNoVHVuaW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J5RW5naW5l", - "OjpWMWJldGFiBnByb3RvMw==")); + "b2xsZWN0aW9ucy8qL2RhdGFTdG9yZXMvKn0vY3VzdG9tTW9kZWxzGs8BykEe", + "ZGlzY292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29t0kGqAWh0dHBzOi8vd3d3", + "Lmdvb2dsZWFwaXMuY29tL2F1dGgvY2xvdWQtcGxhdGZvcm0saHR0cHM6Ly93", + "d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUucmVhZHdy", + "aXRlLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5", + "ZW5naW5lLnNlcnZpbmcucmVhZHdyaXRlQp8CCidjb20uZ29vZ2xlLmNsb3Vk", + "LmRpc2NvdmVyeWVuZ2luZS52MWJldGFCGFNlYXJjaFR1bmluZ1NlcnZpY2VQ", + "cm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9h", + "cGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKi", + "Ag9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5n", + "aW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFi", + "ZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFi", + "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CustomTuningModelReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportConfigReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceClient.g.cs index 2156cfb79cb3..34183d060117 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceClient.g.cs @@ -178,11 +178,15 @@ public abstract partial class SearchTuningServiceClient /// The default SearchTuningService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceGrpc.g.cs index ea4cecf73bed..1bf5c60bcb66 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SearchTuningServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/search_tuning_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServiceCollectionExtensions.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServiceCollectionExtensions.g.cs index fdb89ed2bb91..2c758db1fdb0 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServiceCollectionExtensions.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServiceCollectionExtensions.g.cs @@ -29,6 +29,114 @@ namespace Microsoft.Extensions.DependencyInjection /// Static class to provide extension methods to configure API clients. public static partial class ServiceCollectionExtensions { + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddAclConfigServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::AclConfigServiceClientBuilder builder = new gcdv::AclConfigServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddAclConfigServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::AclConfigServiceClientBuilder builder = new gcdv::AclConfigServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddAssistantServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::AssistantServiceClientBuilder builder = new gcdv::AssistantServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddAssistantServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::AssistantServiceClientBuilder builder = new gcdv::AssistantServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddCmekConfigServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::CmekConfigServiceClientBuilder builder = new gcdv::CmekConfigServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddCmekConfigServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::CmekConfigServiceClientBuilder builder = new gcdv::CmekConfigServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + /// /// Adds a singleton to . /// @@ -309,6 +417,78 @@ public static IServiceCollection AddGroundedGenerationServiceClient(this IServic return builder.Build(provider); }); + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddIdentityMappingStoreServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::IdentityMappingStoreServiceClientBuilder builder = new gcdv::IdentityMappingStoreServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddIdentityMappingStoreServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::IdentityMappingStoreServiceClientBuilder builder = new gcdv::IdentityMappingStoreServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddLicenseConfigServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::LicenseConfigServiceClientBuilder builder = new gcdv::LicenseConfigServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddLicenseConfigServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::LicenseConfigServiceClientBuilder builder = new gcdv::LicenseConfigServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + /// Adds a singleton to . /// /// The service collection to add the client to. The services are used to configure the client when requested. @@ -720,5 +900,77 @@ public static IServiceCollection AddUserEventServiceClient(this IServiceCollecti action?.Invoke(provider, builder); return builder.Build(provider); }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddUserLicenseServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::UserLicenseServiceClientBuilder builder = new gcdv::UserLicenseServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddUserLicenseServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::UserLicenseServiceClientBuilder builder = new gcdv::UserLicenseServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddUserStoreServiceClient(this IServiceCollection services, sys::Action action = null) => + services.AddSingleton(provider => + { + gcdv::UserStoreServiceClientBuilder builder = new gcdv::UserStoreServiceClientBuilder(); + action?.Invoke(builder); + return builder.Build(provider); + }); + + /// + /// Adds a singleton to . + /// + /// + /// The service collection to add the client to. The services are used to configure the client when requested. + /// + /// + /// An optional action to invoke on the client builder. This is invoked before services from + /// are used. + /// + public static IServiceCollection AddUserStoreServiceClient(this IServiceCollection services, sys::Action action) => + services.AddSingleton(provider => + { + gcdv::UserStoreServiceClientBuilder builder = new gcdv::UserStoreServiceClientBuilder(); + action?.Invoke(provider, builder); + return builder.Build(provider); + }); } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfig.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfig.g.cs index 83e77e293b1e..cf8a87105364 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfig.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfig.g.cs @@ -30,7 +30,7 @@ static ServingConfigReflection() { "ZS9hcGkvcmVzb3VyY2UucHJvdG8aMGdvb2dsZS9jbG91ZC9kaXNjb3Zlcnll", "bmdpbmUvdjFiZXRhL2NvbW1vbi5wcm90bxo4Z29vZ2xlL2Nsb3VkL2Rpc2Nv", "dmVyeWVuZ2luZS92MWJldGEvc2VhcmNoX3NlcnZpY2UucHJvdG8aH2dvb2ds", - "ZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8ipQ0KDVNlcnZpbmdDb25maWcS", + "ZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8iog4KDVNlcnZpbmdDb25maWcS", "VgoMbWVkaWFfY29uZmlnGAcgASgLMj4uZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", "eWVuZ2luZS52MWJldGEuU2VydmluZ0NvbmZpZy5NZWRpYUNvbmZpZ0gAEloK", "DmdlbmVyaWNfY29uZmlnGAogASgLMkAuZ29vZ2xlLmNsb3VkLmRpc2NvdmVy", @@ -49,37 +49,50 @@ static ServingConfigReflection() { "GA8gAygJEiMKG29uZXdheV9zeW5vbnltc19jb250cm9sX2lkcxgQIAMoCRIe", "ChZkaXNzb2NpYXRlX2NvbnRyb2xfaWRzGBEgAygJEh8KF3JlcGxhY2VtZW50", "X2NvbnRyb2xfaWRzGBIgAygJEhoKEmlnbm9yZV9jb250cm9sX2lkcxgTIAMo", - "CRJkChRwZXJzb25hbGl6YXRpb25fc3BlYxgZIAEoCzJGLmdvb2dsZS5jbG91", - "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLlNlYXJjaFJlcXVlc3QuUGVyc29u", - "YWxpemF0aW9uU3BlYxr3AQoLTWVkaWFDb25maWcSLgokY29udGVudF93YXRj", - "aGVkX3BlcmNlbnRhZ2VfdGhyZXNob2xkGAIgASgCSAASKwohY29udGVudF93", - "YXRjaGVkX3NlY29uZHNfdGhyZXNob2xkGAUgASgCSAASGwoTZGVtb3Rpb25f", - "ZXZlbnRfdHlwZRgBIAEoCR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YXR1cmUYByABKAFCA+BBARIRCgRzZWVkGAggASgFQgPgQQFCmQIKJ2NvbS5n", + "b29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YUISU2VydmluZ0Nv", + "bmZpZ1Byb3RvUAFaUWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5n", + "aW5lL2FwaXYxYmV0YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3Zlcnllbmdp", + "bmVwYqICD0RJU0NPVkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3Zl", + "cnlFbmdpbmUuVjFCZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2lu", + "ZVxWMWJldGHqAiZHb29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYx", + "YmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SearchServiceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Parser, new[]{ "MediaConfig", "GenericConfig", "Name", "DisplayName", "SolutionType", "ModelId", "DiversityLevel", "EmbeddingConfig", "RankingExpression", "CreateTime", "UpdateTime", "FilterControlIds", "BoostControlIds", "RedirectControlIds", "SynonymsControlIds", "OnewaySynonymsControlIds", "DissociateControlIds", "ReplacementControlIds", "IgnoreControlIds", "PersonalizationSpec" }, new[]{ "VerticalConfig" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.MediaConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.MediaConfig.Parser, new[]{ "ContentWatchedPercentageThreshold", "ContentWatchedSecondsThreshold", "DemotionEventType", "DemoteContentWatchedPastDays", "ContentFreshnessCutoffDays" }, new[]{ "DemoteContentWatched" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig.Parser, new[]{ "ContentSearchSpec" }, null, null, null, null)}) + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Parser, new[]{ "MediaConfig", "GenericConfig", "Name", "DisplayName", "SolutionType", "ModelId", "DiversityLevel", "EmbeddingConfig", "RankingExpression", "CreateTime", "UpdateTime", "FilterControlIds", "BoostControlIds", "RedirectControlIds", "SynonymsControlIds", "OnewaySynonymsControlIds", "DissociateControlIds", "ReplacementControlIds", "IgnoreControlIds", "PromoteControlIds", "PersonalizationSpec", "AnswerGenerationSpec" }, new[]{ "VerticalConfig" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.MediaConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.MediaConfig.Parser, new[]{ "ContentWatchedPercentageThreshold", "ContentWatchedSecondsThreshold", "DemotionEventType", "DemoteContentWatchedPastDays", "ContentFreshnessCutoffDays" }, new[]{ "DemoteContentWatched" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig), global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig.Parser, new[]{ "ContentSearchSpec" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Parser, new[]{ "UserDefinedClassifierSpec" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec), global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec.Parser, new[]{ "EnableUserDefinedClassifier", "Preamble", "ModelId", "TaskMarker", "TopP", "TopK", "Temperature", "Seed" }, null, null, null, null)}) })); } #endregion @@ -144,7 +157,9 @@ public ServingConfig(ServingConfig other) : this() { dissociateControlIds_ = other.dissociateControlIds_.Clone(); replacementControlIds_ = other.replacementControlIds_.Clone(); ignoreControlIds_ = other.ignoreControlIds_.Clone(); + promoteControlIds_ = other.promoteControlIds_.Clone(); personalizationSpec_ = other.personalizationSpec_ != null ? other.personalizationSpec_.Clone() : null; + answerGenerationSpec_ = other.answerGenerationSpec_ != null ? other.answerGenerationSpec_.Clone() : null; switch (other.VerticalConfigCase) { case VerticalConfigOneofCase.MediaConfig: MediaConfig = other.MediaConfig.Clone(); @@ -323,9 +338,8 @@ public string DiversityLevel { /// The ranking expression controls the customized ranking on retrieval /// documents. To leverage this, document embedding is required. The ranking /// expression setting in ServingConfig applies to all search requests served - /// by the serving config. However, if - /// [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression] - /// is specified, it overrides the ServingConfig ranking expression. + /// by the serving config. However, if `SearchRequest.ranking_expression` is + /// specified, it overrides the ServingConfig ranking expression. /// /// The ranking expression is a single function or multiple functions that are /// joined by "+". @@ -545,6 +559,22 @@ public string RankingExpression { get { return ignoreControlIds_; } } + /// Field number for the "promote_control_ids" field. + public const int PromoteControlIdsFieldNumber = 26; + private static readonly pb::FieldCodec _repeated_promoteControlIds_codec + = pb::FieldCodec.ForString(210); + private readonly pbc::RepeatedField promoteControlIds_ = new pbc::RepeatedField(); + /// + /// Condition promote specifications. + /// + /// Maximum number of specifications is 100. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PromoteControlIds { + get { return promoteControlIds_; } + } + /// Field number for the "personalization_spec" field. public const int PersonalizationSpecFieldNumber = 25; private global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec personalizationSpec_; @@ -569,6 +599,21 @@ public string RankingExpression { } } + /// Field number for the "answer_generation_spec" field. + public const int AnswerGenerationSpecFieldNumber = 27; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec answerGenerationSpec_; + /// + /// Optional. The specification for answer generation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec AnswerGenerationSpec { + get { return answerGenerationSpec_; } + set { + answerGenerationSpec_ = value; + } + } + private object verticalConfig_; /// Enum of possible cases for the "vertical_config" oneof. public enum VerticalConfigOneofCase { @@ -624,7 +669,9 @@ public bool Equals(ServingConfig other) { if(!dissociateControlIds_.Equals(other.dissociateControlIds_)) return false; if(!replacementControlIds_.Equals(other.replacementControlIds_)) return false; if(!ignoreControlIds_.Equals(other.ignoreControlIds_)) return false; + if(!promoteControlIds_.Equals(other.promoteControlIds_)) return false; if (!object.Equals(PersonalizationSpec, other.PersonalizationSpec)) return false; + if (!object.Equals(AnswerGenerationSpec, other.AnswerGenerationSpec)) return false; if (VerticalConfigCase != other.VerticalConfigCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -652,7 +699,9 @@ public override int GetHashCode() { hash ^= dissociateControlIds_.GetHashCode(); hash ^= replacementControlIds_.GetHashCode(); hash ^= ignoreControlIds_.GetHashCode(); + hash ^= promoteControlIds_.GetHashCode(); if (personalizationSpec_ != null) hash ^= PersonalizationSpec.GetHashCode(); + if (answerGenerationSpec_ != null) hash ^= AnswerGenerationSpec.GetHashCode(); hash ^= (int) verticalConfigCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -728,6 +777,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(202, 1); output.WriteMessage(PersonalizationSpec); } + promoteControlIds_.WriteTo(output, _repeated_promoteControlIds_codec); + if (answerGenerationSpec_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(AnswerGenerationSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -794,6 +848,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(202, 1); output.WriteMessage(PersonalizationSpec); } + promoteControlIds_.WriteTo(ref output, _repeated_promoteControlIds_codec); + if (answerGenerationSpec_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(AnswerGenerationSpec); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -845,9 +904,13 @@ public int CalculateSize() { size += dissociateControlIds_.CalculateSize(_repeated_dissociateControlIds_codec); size += replacementControlIds_.CalculateSize(_repeated_replacementControlIds_codec); size += ignoreControlIds_.CalculateSize(_repeated_ignoreControlIds_codec); + size += promoteControlIds_.CalculateSize(_repeated_promoteControlIds_codec); if (personalizationSpec_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(PersonalizationSpec); } + if (answerGenerationSpec_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AnswerGenerationSpec); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -904,12 +967,19 @@ public void MergeFrom(ServingConfig other) { dissociateControlIds_.Add(other.dissociateControlIds_); replacementControlIds_.Add(other.replacementControlIds_); ignoreControlIds_.Add(other.ignoreControlIds_); + promoteControlIds_.Add(other.promoteControlIds_); if (other.personalizationSpec_ != null) { if (personalizationSpec_ == null) { PersonalizationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.PersonalizationSpec(); } PersonalizationSpec.MergeFrom(other.PersonalizationSpec); } + if (other.answerGenerationSpec_ != null) { + if (answerGenerationSpec_ == null) { + AnswerGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec(); + } + AnswerGenerationSpec.MergeFrom(other.AnswerGenerationSpec); + } switch (other.VerticalConfigCase) { case VerticalConfigOneofCase.MediaConfig: if (MediaConfig == null) { @@ -1046,6 +1116,17 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(PersonalizationSpec); break; } + case 210: { + promoteControlIds_.AddEntriesFrom(input, _repeated_promoteControlIds_codec); + break; + } + case 218: { + if (answerGenerationSpec_ == null) { + AnswerGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec(); + } + input.ReadMessage(AnswerGenerationSpec); + break; + } } } #endif @@ -1167,6 +1248,17 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(PersonalizationSpec); break; } + case 210: { + promoteControlIds_.AddEntriesFrom(ref input, _repeated_promoteControlIds_codec); + break; + } + case 218: { + if (answerGenerationSpec_ == null) { + AnswerGenerationSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec(); + } + input.ReadMessage(AnswerGenerationSpec); + break; + } } } } @@ -1851,6 +1943,712 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// The specification for answer generation. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AnswerGenerationSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnswerGenerationSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerGenerationSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerGenerationSpec(AnswerGenerationSpec other) : this() { + userDefinedClassifierSpec_ = other.userDefinedClassifierSpec_ != null ? other.userDefinedClassifierSpec_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AnswerGenerationSpec Clone() { + return new AnswerGenerationSpec(this); + } + + /// Field number for the "user_defined_classifier_spec" field. + public const int UserDefinedClassifierSpecFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec userDefinedClassifierSpec_; + /// + /// Optional. The specification for user specified classifier spec. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec UserDefinedClassifierSpec { + get { return userDefinedClassifierSpec_; } + set { + userDefinedClassifierSpec_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AnswerGenerationSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AnswerGenerationSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(UserDefinedClassifierSpec, other.UserDefinedClassifierSpec)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (userDefinedClassifierSpec_ != null) hash ^= UserDefinedClassifierSpec.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (userDefinedClassifierSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(UserDefinedClassifierSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (userDefinedClassifierSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(UserDefinedClassifierSpec); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (userDefinedClassifierSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserDefinedClassifierSpec); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AnswerGenerationSpec other) { + if (other == null) { + return; + } + if (other.userDefinedClassifierSpec_ != null) { + if (userDefinedClassifierSpec_ == null) { + UserDefinedClassifierSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec(); + } + UserDefinedClassifierSpec.MergeFrom(other.UserDefinedClassifierSpec); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (userDefinedClassifierSpec_ == null) { + UserDefinedClassifierSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec(); + } + input.ReadMessage(UserDefinedClassifierSpec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (userDefinedClassifierSpec_ == null) { + UserDefinedClassifierSpec = new global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Types.UserDefinedClassifierSpec(); + } + input.ReadMessage(UserDefinedClassifierSpec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the AnswerGenerationSpec message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The specification for user defined classifier. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UserDefinedClassifierSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserDefinedClassifierSpec()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerGenerationSpec.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserDefinedClassifierSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserDefinedClassifierSpec(UserDefinedClassifierSpec other) : this() { + enableUserDefinedClassifier_ = other.enableUserDefinedClassifier_; + preamble_ = other.preamble_; + modelId_ = other.modelId_; + taskMarker_ = other.taskMarker_; + topP_ = other.topP_; + topK_ = other.topK_; + temperature_ = other.temperature_; + seed_ = other.seed_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserDefinedClassifierSpec Clone() { + return new UserDefinedClassifierSpec(this); + } + + /// Field number for the "enable_user_defined_classifier" field. + public const int EnableUserDefinedClassifierFieldNumber = 1; + private bool enableUserDefinedClassifier_; + /// + /// Optional. Whether or not to enable and include user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableUserDefinedClassifier { + get { return enableUserDefinedClassifier_; } + set { + enableUserDefinedClassifier_ = value; + } + } + + /// Field number for the "preamble" field. + public const int PreambleFieldNumber = 2; + private string preamble_ = ""; + /// + /// Optional. The preamble to be used for the user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Preamble { + get { return preamble_; } + set { + preamble_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "model_id" field. + public const int ModelIdFieldNumber = 3; + private string modelId_ = ""; + /// + /// Optional. The model id to be used for the user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelId { + get { return modelId_; } + set { + modelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "task_marker" field. + public const int TaskMarkerFieldNumber = 4; + private string taskMarker_ = ""; + /// + /// Optional. The task marker to be used for the user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskMarker { + get { return taskMarker_; } + set { + taskMarker_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "top_p" field. + public const int TopPFieldNumber = 5; + private double topP_; + /// + /// Optional. The top-p value to be used for the user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double TopP { + get { return topP_; } + set { + topP_ = value; + } + } + + /// Field number for the "top_k" field. + public const int TopKFieldNumber = 6; + private long topK_; + /// + /// Optional. The top-k value to be used for the user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TopK { + get { return topK_; } + set { + topK_ = value; + } + } + + /// Field number for the "temperature" field. + public const int TemperatureFieldNumber = 7; + private double temperature_; + /// + /// Optional. The temperature value to be used for the user defined + /// classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public double Temperature { + get { return temperature_; } + set { + temperature_ = value; + } + } + + /// Field number for the "seed" field. + public const int SeedFieldNumber = 8; + private int seed_; + /// + /// Optional. The seed value to be used for the user defined classifier. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Seed { + get { return seed_; } + set { + seed_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserDefinedClassifierSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserDefinedClassifierSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EnableUserDefinedClassifier != other.EnableUserDefinedClassifier) return false; + if (Preamble != other.Preamble) return false; + if (ModelId != other.ModelId) return false; + if (TaskMarker != other.TaskMarker) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TopP, other.TopP)) return false; + if (TopK != other.TopK) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Temperature, other.Temperature)) return false; + if (Seed != other.Seed) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (EnableUserDefinedClassifier != false) hash ^= EnableUserDefinedClassifier.GetHashCode(); + if (Preamble.Length != 0) hash ^= Preamble.GetHashCode(); + if (ModelId.Length != 0) hash ^= ModelId.GetHashCode(); + if (TaskMarker.Length != 0) hash ^= TaskMarker.GetHashCode(); + if (TopP != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TopP); + if (TopK != 0L) hash ^= TopK.GetHashCode(); + if (Temperature != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Temperature); + if (Seed != 0) hash ^= Seed.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (EnableUserDefinedClassifier != false) { + output.WriteRawTag(8); + output.WriteBool(EnableUserDefinedClassifier); + } + if (Preamble.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Preamble); + } + if (ModelId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ModelId); + } + if (TaskMarker.Length != 0) { + output.WriteRawTag(34); + output.WriteString(TaskMarker); + } + if (TopP != 0D) { + output.WriteRawTag(41); + output.WriteDouble(TopP); + } + if (TopK != 0L) { + output.WriteRawTag(48); + output.WriteInt64(TopK); + } + if (Temperature != 0D) { + output.WriteRawTag(57); + output.WriteDouble(Temperature); + } + if (Seed != 0) { + output.WriteRawTag(64); + output.WriteInt32(Seed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (EnableUserDefinedClassifier != false) { + output.WriteRawTag(8); + output.WriteBool(EnableUserDefinedClassifier); + } + if (Preamble.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Preamble); + } + if (ModelId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ModelId); + } + if (TaskMarker.Length != 0) { + output.WriteRawTag(34); + output.WriteString(TaskMarker); + } + if (TopP != 0D) { + output.WriteRawTag(41); + output.WriteDouble(TopP); + } + if (TopK != 0L) { + output.WriteRawTag(48); + output.WriteInt64(TopK); + } + if (Temperature != 0D) { + output.WriteRawTag(57); + output.WriteDouble(Temperature); + } + if (Seed != 0) { + output.WriteRawTag(64); + output.WriteInt32(Seed); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (EnableUserDefinedClassifier != false) { + size += 1 + 1; + } + if (Preamble.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Preamble); + } + if (ModelId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelId); + } + if (TaskMarker.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskMarker); + } + if (TopP != 0D) { + size += 1 + 8; + } + if (TopK != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TopK); + } + if (Temperature != 0D) { + size += 1 + 8; + } + if (Seed != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seed); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserDefinedClassifierSpec other) { + if (other == null) { + return; + } + if (other.EnableUserDefinedClassifier != false) { + EnableUserDefinedClassifier = other.EnableUserDefinedClassifier; + } + if (other.Preamble.Length != 0) { + Preamble = other.Preamble; + } + if (other.ModelId.Length != 0) { + ModelId = other.ModelId; + } + if (other.TaskMarker.Length != 0) { + TaskMarker = other.TaskMarker; + } + if (other.TopP != 0D) { + TopP = other.TopP; + } + if (other.TopK != 0L) { + TopK = other.TopK; + } + if (other.Temperature != 0D) { + Temperature = other.Temperature; + } + if (other.Seed != 0) { + Seed = other.Seed; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + EnableUserDefinedClassifier = input.ReadBool(); + break; + } + case 18: { + Preamble = input.ReadString(); + break; + } + case 26: { + ModelId = input.ReadString(); + break; + } + case 34: { + TaskMarker = input.ReadString(); + break; + } + case 41: { + TopP = input.ReadDouble(); + break; + } + case 48: { + TopK = input.ReadInt64(); + break; + } + case 57: { + Temperature = input.ReadDouble(); + break; + } + case 64: { + Seed = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + EnableUserDefinedClassifier = input.ReadBool(); + break; + } + case 18: { + Preamble = input.ReadString(); + break; + } + case 26: { + ModelId = input.ReadString(); + break; + } + case 34: { + TaskMarker = input.ReadString(); + break; + } + case 41: { + TopP = input.ReadDouble(); + break; + } + case 48: { + TopK = input.ReadInt64(); + break; + } + case 57: { + Temperature = input.ReadDouble(); + break; + } + case 64: { + Seed = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + #endregion } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigService.g.cs index d6bc24467d44..72aa54b75347 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigService.g.cs @@ -30,61 +30,92 @@ static ServingConfigServiceReflection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qZWN0", + "cy8qL2xvY2F0aW9ucy8qL2RhdGFTdG9yZXMvKn0vc2VydmluZ0NvbmZpZ3Na", + "UxJRL3YxYmV0YS97cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyovY29s", + "bGVjdGlvbnMvKi9kYXRhU3RvcmVzLyp9L3NlcnZpbmdDb25maWdzWlASTi92", + "MWJldGEve3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL2NvbGxlY3Rp", + "b25zLyovZW5naW5lcy8qfS9zZXJ2aW5nQ29uZmlncxrPAcpBHmRpc2NvdmVy", + "eWVuZ2luZS5nb29nbGVhcGlzLmNvbdJBqgFodHRwczovL3d3dy5nb29nbGVh", + "cGlzLmNvbS9hdXRoL2Nsb3VkLXBsYXRmb3JtLGh0dHBzOi8vd3d3Lmdvb2ds", + "ZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5ZW5naW5lLnJlYWR3cml0ZSxodHRw", + "czovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5z", + "ZXJ2aW5nLnJlYWR3cml0ZUKgAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3Zl", + "cnllbmdpbmUudjFiZXRhQhlTZXJ2aW5nQ29uZmlnU2VydmljZVByb3RvUAFa", + "UWNsb3VkLmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0", + "YS9kaXNjb3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NP", + "VkVSWUVOR0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFC", + "ZXRhygIjR29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZH", + "b29nbGU6OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest.Parser, new[]{ "Parent", "ServingConfig", "ServingConfigId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest.Parser, new[]{ "ServingConfig", "UpdateMask" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest.Parser, new[]{ "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest.Parser, new[]{ "Name" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest.Parser, new[]{ "Parent", "PageSize", "PageToken" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsResponse.Parser, new[]{ "ServingConfigs", "NextPageToken" }, null, null, null, null) @@ -94,6 +125,304 @@ static ServingConfigServiceReflection() { } #region Messages + /// + /// Request for CreateServingConfig method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CreateServingConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateServingConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateServingConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateServingConfigRequest(CreateServingConfigRequest other) : this() { + parent_ = other.parent_; + servingConfig_ = other.servingConfig_ != null ? other.servingConfig_.Clone() : null; + servingConfigId_ = other.servingConfigId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CreateServingConfigRequest Clone() { + return new CreateServingConfigRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "serving_config" field. + public const int ServingConfigFieldNumber = 2; + private global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig servingConfig_; + /// + /// Required. The ServingConfig to create. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig ServingConfig { + get { return servingConfig_; } + set { + servingConfig_ = value; + } + } + + /// Field number for the "serving_config_id" field. + public const int ServingConfigIdFieldNumber = 3; + private string servingConfigId_ = ""; + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServingConfigId { + get { return servingConfigId_; } + set { + servingConfigId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CreateServingConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CreateServingConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (!object.Equals(ServingConfig, other.ServingConfig)) return false; + if (ServingConfigId != other.ServingConfigId) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (servingConfig_ != null) hash ^= ServingConfig.GetHashCode(); + if (ServingConfigId.Length != 0) hash ^= ServingConfigId.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (servingConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ServingConfig); + } + if (ServingConfigId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ServingConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (servingConfig_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ServingConfig); + } + if (ServingConfigId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ServingConfigId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (servingConfig_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ServingConfig); + } + if (ServingConfigId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServingConfigId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CreateServingConfigRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.servingConfig_ != null) { + if (servingConfig_ == null) { + ServingConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig(); + } + ServingConfig.MergeFrom(other.ServingConfig); + } + if (other.ServingConfigId.Length != 0) { + ServingConfigId = other.ServingConfigId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (servingConfig_ == null) { + ServingConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig(); + } + input.ReadMessage(ServingConfig); + break; + } + case 26: { + ServingConfigId = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + if (servingConfig_ == null) { + ServingConfig = new global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig(); + } + input.ReadMessage(ServingConfig); + break; + } + case 26: { + ServingConfigId = input.ReadString(); + break; + } + } + } + } + #endif + + } + /// /// Request for UpdateServingConfig method. /// @@ -112,7 +441,7 @@ public sealed partial class UpdateServingConfigRequest : pb::IMessage + /// Request for DeleteServingConfig method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DeleteServingConfigRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeleteServingConfigRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfigServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteServingConfigRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteServingConfigRequest(DeleteServingConfigRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeleteServingConfigRequest Clone() { + return new DeleteServingConfigRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeleteServingConfigRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeleteServingConfigRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeleteServingConfigRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + /// /// Request for GetServingConfig method. /// @@ -380,7 +914,7 @@ public sealed partial class GetServingConfigRequest : pb::IMessage + /// for synchronous and asynchronous calls to + /// ServingConfigServiceClient.CreateServingConfig and + /// ServingConfigServiceClient.CreateServingConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings CreateServingConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// ServingConfigServiceClient.DeleteServingConfig and + /// ServingConfigServiceClient.DeleteServingConfigAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings DeleteServingConfigSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + /// /// for synchronous and asynchronous calls to /// ServingConfigServiceClient.UpdateServingConfig and @@ -175,11 +203,15 @@ public abstract partial class ServingConfigServiceClient /// The default ServingConfigService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. @@ -248,6 +280,486 @@ internal static ServingConfigServiceClient Create(grpccore::CallInvoker callInvo /// The associated with this client. public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ServingConfig CreateServingConfig(CreateServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(CreateServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(CreateServingConfigRequest request, st::CancellationToken cancellationToken) => + CreateServingConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ServingConfig CreateServingConfig(string parent, ServingConfig servingConfig, string servingConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateServingConfig(new CreateServingConfigRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + ServingConfig = gax::GaxPreconditions.CheckNotNull(servingConfig, nameof(servingConfig)), + ServingConfigId = gax::GaxPreconditions.CheckNotNullOrEmpty(servingConfigId, nameof(servingConfigId)), + }, callSettings); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(string parent, ServingConfig servingConfig, string servingConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateServingConfigAsync(new CreateServingConfigRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + ServingConfig = gax::GaxPreconditions.CheckNotNull(servingConfig, nameof(servingConfig)), + ServingConfigId = gax::GaxPreconditions.CheckNotNullOrEmpty(servingConfigId, nameof(servingConfigId)), + }, callSettings); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(string parent, ServingConfig servingConfig, string servingConfigId, st::CancellationToken cancellationToken) => + CreateServingConfigAsync(parent, servingConfig, servingConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ServingConfig CreateServingConfig(EngineName parent, ServingConfig servingConfig, string servingConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateServingConfig(new CreateServingConfigRequest + { + ParentAsEngineName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + ServingConfig = gax::GaxPreconditions.CheckNotNull(servingConfig, nameof(servingConfig)), + ServingConfigId = gax::GaxPreconditions.CheckNotNullOrEmpty(servingConfigId, nameof(servingConfigId)), + }, callSettings); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(EngineName parent, ServingConfig servingConfig, string servingConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateServingConfigAsync(new CreateServingConfigRequest + { + ParentAsEngineName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + ServingConfig = gax::GaxPreconditions.CheckNotNull(servingConfig, nameof(servingConfig)), + ServingConfigId = gax::GaxPreconditions.CheckNotNullOrEmpty(servingConfigId, nameof(servingConfigId)), + }, callSettings); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(EngineName parent, ServingConfig servingConfig, string servingConfigId, st::CancellationToken cancellationToken) => + CreateServingConfigAsync(parent, servingConfig, servingConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ServingConfig CreateServingConfig(DataStoreName parent, ServingConfig servingConfig, string servingConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateServingConfig(new CreateServingConfigRequest + { + ParentAsDataStoreName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + ServingConfig = gax::GaxPreconditions.CheckNotNull(servingConfig, nameof(servingConfig)), + ServingConfigId = gax::GaxPreconditions.CheckNotNullOrEmpty(servingConfigId, nameof(servingConfigId)), + }, callSettings); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(DataStoreName parent, ServingConfig servingConfig, string servingConfigId, gaxgrpc::CallSettings callSettings = null) => + CreateServingConfigAsync(new CreateServingConfigRequest + { + ParentAsDataStoreName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + ServingConfig = gax::GaxPreconditions.CheckNotNull(servingConfig, nameof(servingConfig)), + ServingConfigId = gax::GaxPreconditions.CheckNotNullOrEmpty(servingConfigId, nameof(servingConfigId)), + }, callSettings); + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// + /// Required. Full resource name of parent. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + /// + /// Required. The ServingConfig to create. + /// + /// + /// Required. The ID to use for the ServingConfig, which will become the final + /// component of the ServingConfig's resource name. + /// + /// This value should be 4-63 characters, and valid characters + /// are /[a-zA-Z0-9][a-zA-Z0-9_-]+/. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task CreateServingConfigAsync(DataStoreName parent, ServingConfig servingConfig, string servingConfigId, st::CancellationToken cancellationToken) => + CreateServingConfigAsync(parent, servingConfig, servingConfigId, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteServingConfig(DeleteServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteServingConfigAsync(DeleteServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteServingConfigAsync(DeleteServingConfigRequest request, st::CancellationToken cancellationToken) => + DeleteServingConfigAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteServingConfig(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteServingConfig(new DeleteServingConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteServingConfigAsync(string name, gaxgrpc::CallSettings callSettings = null) => + DeleteServingConfigAsync(new DeleteServingConfigRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteServingConfigAsync(string name, st::CancellationToken cancellationToken) => + DeleteServingConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual void DeleteServingConfig(ServingConfigName name, gaxgrpc::CallSettings callSettings = null) => + DeleteServingConfig(new DeleteServingConfigRequest + { + ServingConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task DeleteServingConfigAsync(ServingConfigName name, gaxgrpc::CallSettings callSettings = null) => + DeleteServingConfigAsync(new DeleteServingConfigRequest + { + ServingConfigName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// + /// Required. The resource name of the ServingConfig to delete. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task DeleteServingConfigAsync(ServingConfigName name, st::CancellationToken cancellationToken) => + DeleteServingConfigAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + /// /// Updates a ServingConfig. /// @@ -714,6 +1226,10 @@ public virtual ServingConfig GetServingConfig(ServingConfigName name, gaxgrpc::C /// public sealed partial class ServingConfigServiceClientImpl : ServingConfigServiceClient { + private readonly gaxgrpc::ApiCall _callCreateServingConfig; + + private readonly gaxgrpc::ApiCall _callDeleteServingConfig; + private readonly gaxgrpc::ApiCall _callUpdateServingConfig; private readonly gaxgrpc::ApiCall _callGetServingConfig; @@ -737,6 +1253,12 @@ public ServingConfigServiceClientImpl(ServingConfigService.ServingConfigServiceC Logger = logger, }); LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callCreateServingConfig = clientHelper.BuildApiCall("CreateServingConfig", grpcClient.CreateServingConfigAsync, grpcClient.CreateServingConfig, effectiveSettings.CreateServingConfigSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callCreateServingConfig); + Modify_CreateServingConfigApiCall(ref _callCreateServingConfig); + _callDeleteServingConfig = clientHelper.BuildApiCall("DeleteServingConfig", grpcClient.DeleteServingConfigAsync, grpcClient.DeleteServingConfig, effectiveSettings.DeleteServingConfigSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callDeleteServingConfig); + Modify_DeleteServingConfigApiCall(ref _callDeleteServingConfig); _callUpdateServingConfig = clientHelper.BuildApiCall("UpdateServingConfig", grpcClient.UpdateServingConfigAsync, grpcClient.UpdateServingConfig, effectiveSettings.UpdateServingConfigSettings).WithGoogleRequestParam("serving_config.name", request => request.ServingConfig?.Name); Modify_ApiCall(ref _callUpdateServingConfig); Modify_UpdateServingConfigApiCall(ref _callUpdateServingConfig); @@ -751,6 +1273,10 @@ public ServingConfigServiceClientImpl(ServingConfigService.ServingConfigServiceC partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + partial void Modify_CreateServingConfigApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_DeleteServingConfigApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_UpdateServingConfigApiCall(ref gaxgrpc::ApiCall call); partial void Modify_GetServingConfigApiCall(ref gaxgrpc::ApiCall call); @@ -765,12 +1291,84 @@ public ServingConfigServiceClientImpl(ServingConfigService.ServingConfigServiceC /// The associated with this client. public override gcl::LocationsClient LocationsClient { get; } + partial void Modify_CreateServingConfigRequest(ref CreateServingConfigRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_DeleteServingConfigRequest(ref DeleteServingConfigRequest request, ref gaxgrpc::CallSettings settings); + partial void Modify_UpdateServingConfigRequest(ref UpdateServingConfigRequest request, ref gaxgrpc::CallSettings settings); partial void Modify_GetServingConfigRequest(ref GetServingConfigRequest request, ref gaxgrpc::CallSettings settings); partial void Modify_ListServingConfigsRequest(ref ListServingConfigsRequest request, ref gaxgrpc::CallSettings settings); + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override ServingConfig CreateServingConfig(CreateServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateServingConfigRequest(ref request, ref callSettings); + return _callCreateServingConfig.Sync(request, callSettings); + } + + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task CreateServingConfigAsync(CreateServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateServingConfigRequest(ref request, ref callSettings); + return _callCreateServingConfig.Async(request, callSettings); + } + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override void DeleteServingConfig(DeleteServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteServingConfigRequest(ref request, ref callSettings); + _callDeleteServingConfig.Sync(request, callSettings); + } + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task DeleteServingConfigAsync(DeleteServingConfigRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_DeleteServingConfigRequest(ref request, ref callSettings); + return _callDeleteServingConfig.Async(request, callSettings); + } + /// /// Updates a ServingConfig. /// diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceGrpc.g.cs index 25a5e767a393..4bb2052eab93 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/serving_config_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,16 +65,38 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] - static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateServingConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest.Parser)); + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_CreateServingConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ServingConfig = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_DeleteServingConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_protobuf_Empty = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Protobuf.WellKnownTypes.Empty.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateServingConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateServingConfigRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetServingConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetServingConfigRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListServingConfigsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListServingConfigsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListServingConfigsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_CreateServingConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "CreateServingConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_CreateServingConfigRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ServingConfig); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_DeleteServingConfig = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "DeleteServingConfig", + __Marshaller_google_cloud_discoveryengine_v1beta_DeleteServingConfigRequest, + __Marshaller_google_protobuf_Empty); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_UpdateServingConfig = new grpc::Method( grpc::MethodType.Unary, @@ -109,6 +131,40 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl [grpc::BindServiceMethod(typeof(ServingConfigService), "BindService")] public abstract partial class ServingConfigServiceBase { + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task CreateServingConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task DeleteServingConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + /// /// Updates a ServingConfig. /// @@ -178,6 +234,142 @@ protected ServingConfigServiceClient(ClientBaseConfiguration configuration) : ba { } + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig CreateServingConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateServingConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig CreateServingConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_CreateServingConfig, null, options, request); + } + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateServingConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return CreateServingConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Creates a ServingConfig. + /// + /// Note: The Google Cloud console works only with the default serving config. + /// Additional ServingConfigs can be created and managed only via the API. + /// + /// A maximum of 100 + /// [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]s are + /// allowed in an [Engine][google.cloud.discoveryengine.v1beta.Engine], + /// otherwise a RESOURCE_EXHAUSTED error is returned. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall CreateServingConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.CreateServingConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_CreateServingConfig, null, options, request); + } + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteServingConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteServingConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Protobuf.WellKnownTypes.Empty DeleteServingConfig(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_DeleteServingConfig, null, options, request); + } + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteServingConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return DeleteServingConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Deletes a ServingConfig. + /// + /// Returns a NOT_FOUND error if the ServingConfig does not exist. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall DeleteServingConfigAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.DeleteServingConfigRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_DeleteServingConfig, null, options, request); + } /// /// Updates a ServingConfig. /// @@ -352,6 +544,8 @@ protected override ServingConfigServiceClient NewInstance(ClientBaseConfiguratio public static grpc::ServerServiceDefinition BindService(ServingConfigServiceBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_CreateServingConfig, serviceImpl.CreateServingConfig) + .AddMethod(__Method_DeleteServingConfig, serviceImpl.DeleteServingConfig) .AddMethod(__Method_UpdateServingConfig, serviceImpl.UpdateServingConfig) .AddMethod(__Method_GetServingConfig, serviceImpl.GetServingConfig) .AddMethod(__Method_ListServingConfigs, serviceImpl.ListServingConfigs).Build(); @@ -364,6 +558,8 @@ protected override ServingConfigServiceClient NewInstance(ClientBaseConfiguratio [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static void BindService(grpc::ServiceBinderBase serviceBinder, ServingConfigServiceBase serviceImpl) { + serviceBinder.AddMethod(__Method_CreateServingConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateServingConfig)); + serviceBinder.AddMethod(__Method_DeleteServingConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteServingConfig)); serviceBinder.AddMethod(__Method_UpdateServingConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateServingConfig)); serviceBinder.AddMethod(__Method_GetServingConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetServingConfig)); serviceBinder.AddMethod(__Method_ListServingConfigs, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListServingConfigs)); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceResourceNames.g.cs index 626a51da790c..e7b9a84bded0 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/ServingConfigServiceResourceNames.g.cs @@ -20,6 +20,61 @@ namespace Google.Cloud.DiscoveryEngine.V1Beta { + public partial class CreateServingConfigRequest + { + /// -typed view over the resource name property. + public EngineName ParentAsEngineName + { + get => string.IsNullOrEmpty(Parent) ? null : EngineName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public DataStoreName ParentAsDataStoreName + { + get => string.IsNullOrEmpty(Parent) ? null : DataStoreName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name property. + /// + public gax::IResourceName ParentAsResourceName + { + get + { + if (string.IsNullOrEmpty(Parent)) + { + return null; + } + if (EngineName.TryParse(Parent, out EngineName engine)) + { + return engine; + } + if (DataStoreName.TryParse(Parent, out DataStoreName dataStore)) + { + return dataStore; + } + return gax::UnparsedResourceName.Parse(Parent); + } + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class DeleteServingConfigRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::ServingConfigName ServingConfigName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::ServingConfigName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } + public partial class GetServingConfigRequest { /// diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Session.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Session.g.cs index d1468203f11b..1e69dab36fb5 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Session.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/Session.g.cs @@ -28,44 +28,52 @@ static SessionReflection() { "LnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YRof", "Z29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2FwaS9y", "ZXNvdXJjZS5wcm90bxowZ29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2luZS92", - "MWJldGEvYW5zd2VyLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1w", - "LnByb3RvItQICgdTZXNzaW9uEhEKBG5hbWUYASABKAlCA+BBBRIZCgxkaXNw", - "bGF5X25hbWUYByABKAlCA+BBARJBCgVzdGF0ZRgCIAEoDjIyLmdvb2dsZS5j", - "bG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLlNlc3Npb24uU3RhdGUSFgoO", - "dXNlcl9wc2V1ZG9faWQYAyABKAkSQAoFdHVybnMYBCADKAsyMS5nb29nbGUu", - "Y2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5TZXNzaW9uLlR1cm4SMwoK", - "c3RhcnRfdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBC", - "A+BBAxIxCghlbmRfdGltZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l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Q6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AnswerReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswerReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Session), global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Parser, new[]{ "Name", "DisplayName", "State", "UserPseudoId", "Turns", "StartTime", "EndTime", "IsPinned" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.State) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.Turn), global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.Turn.Parser, new[]{ "Query", "Answer", "DetailedAnswer", "QueryConfig" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Session), global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Parser, new[]{ "Name", "DisplayName", "State", "UserPseudoId", "Turns", "Labels", "StartTime", "EndTime", "IsPinned", "PendingAsyncAssistOperationId" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.State) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.Turn), global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.Turn.Parser, new[]{ "Query", "Answer", "DetailedAnswer", "DetailedAssistAnswer", "QueryConfig", "Live" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.Query), global::Google.Cloud.DiscoveryEngine.V1Beta.Query.Parser, new[]{ "Text", "QueryId" }, new[]{ "Content" }, null, null, null) })); } @@ -116,9 +124,11 @@ public Session(Session other) : this() { state_ = other.state_; userPseudoId_ = other.userPseudoId_; turns_ = other.turns_.Clone(); + labels_ = other.labels_.Clone(); startTime_ = other.startTime_ != null ? other.startTime_.Clone() : null; endTime_ = other.endTime_ != null ? other.endTime_.Clone() : null; isPinned_ = other.isPinned_; + pendingAsyncAssistOperationId_ = other.pendingAsyncAssistOperationId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -206,6 +216,21 @@ public string UserPseudoId { get { return turns_; } } + /// Field number for the "labels" field. + public const int LabelsFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_labels_codec + = pb::FieldCodec.ForString(74); + private readonly pbc::RepeatedField labels_ = new pbc::RepeatedField(); + /// + /// Optional. The labels for the session. + /// Can be set as filter in ListSessionsRequest. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Labels { + get { return labels_; } + } + /// Field number for the "start_time" field. public const int StartTimeFieldNumber = 5; private global::Google.Protobuf.WellKnownTypes.Timestamp startTime_; @@ -252,6 +277,24 @@ public bool IsPinned { } } + /// Field number for the "pending_async_assist_operation_id" field. + public const int PendingAsyncAssistOperationIdFieldNumber = 22; + private string pendingAsyncAssistOperationId_ = ""; + /// + /// Output only. Full resource name of an in-progress AsyncAssist operation for + /// this session, e.g. + /// `projects/*/locations/*/collections/*/engines/*/sessions/*/operations/*`. + /// Set when the operation starts and cleared when it finishes. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PendingAsyncAssistOperationId { + get { return pendingAsyncAssistOperationId_; } + set { + pendingAsyncAssistOperationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -272,9 +315,11 @@ public bool Equals(Session other) { if (State != other.State) return false; if (UserPseudoId != other.UserPseudoId) return false; if(!turns_.Equals(other.turns_)) return false; + if(!labels_.Equals(other.labels_)) return false; if (!object.Equals(StartTime, other.StartTime)) return false; if (!object.Equals(EndTime, other.EndTime)) return false; if (IsPinned != other.IsPinned) return false; + if (PendingAsyncAssistOperationId != other.PendingAsyncAssistOperationId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -287,9 +332,11 @@ public override int GetHashCode() { if (State != global::Google.Cloud.DiscoveryEngine.V1Beta.Session.Types.State.Unspecified) hash ^= State.GetHashCode(); if (UserPseudoId.Length != 0) hash ^= UserPseudoId.GetHashCode(); hash ^= turns_.GetHashCode(); + hash ^= labels_.GetHashCode(); if (startTime_ != null) hash ^= StartTime.GetHashCode(); if (endTime_ != null) hash ^= EndTime.GetHashCode(); if (IsPinned != false) hash ^= IsPinned.GetHashCode(); + if (PendingAsyncAssistOperationId.Length != 0) hash ^= PendingAsyncAssistOperationId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -337,6 +384,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(64); output.WriteBool(IsPinned); } + labels_.WriteTo(output, _repeated_labels_codec); + if (PendingAsyncAssistOperationId.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(PendingAsyncAssistOperationId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -376,6 +428,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(64); output.WriteBool(IsPinned); } + labels_.WriteTo(ref output, _repeated_labels_codec); + if (PendingAsyncAssistOperationId.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(PendingAsyncAssistOperationId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -399,6 +456,7 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPseudoId); } size += turns_.CalculateSize(_repeated_turns_codec); + size += labels_.CalculateSize(_repeated_labels_codec); if (startTime_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartTime); } @@ -408,6 +466,9 @@ public int CalculateSize() { if (IsPinned != false) { size += 1 + 1; } + if (PendingAsyncAssistOperationId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PendingAsyncAssistOperationId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -433,6 +494,7 @@ public void MergeFrom(Session other) { UserPseudoId = other.UserPseudoId; } turns_.Add(other.turns_); + labels_.Add(other.labels_); if (other.startTime_ != null) { if (startTime_ == null) { StartTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); @@ -448,6 +510,9 @@ public void MergeFrom(Session other) { if (other.IsPinned != false) { IsPinned = other.IsPinned; } + if (other.PendingAsyncAssistOperationId.Length != 0) { + PendingAsyncAssistOperationId = other.PendingAsyncAssistOperationId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -505,6 +570,14 @@ public void MergeFrom(pb::CodedInputStream input) { IsPinned = input.ReadBool(); break; } + case 74: { + labels_.AddEntriesFrom(input, _repeated_labels_codec); + break; + } + case 178: { + PendingAsyncAssistOperationId = input.ReadString(); + break; + } } } #endif @@ -562,6 +635,14 @@ public void MergeFrom(pb::CodedInputStream input) { IsPinned = input.ReadBool(); break; } + case 74: { + labels_.AddEntriesFrom(ref input, _repeated_labels_codec); + break; + } + case 178: { + PendingAsyncAssistOperationId = input.ReadString(); + break; + } } } } @@ -628,7 +709,9 @@ public Turn(Turn other) : this() { query_ = other.query_ != null ? other.query_.Clone() : null; answer_ = other.answer_; detailedAnswer_ = other.detailedAnswer_ != null ? other.detailedAnswer_.Clone() : null; + detailedAssistAnswer_ = other.detailedAssistAnswer_ != null ? other.detailedAssistAnswer_.Clone() : null; queryConfig_ = other.queryConfig_.Clone(); + live_ = other.live_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -692,6 +775,26 @@ public string Answer { } } + /// Field number for the "detailed_assist_answer" field. + public const int DetailedAssistAnswerFieldNumber = 8; + private global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer detailedAssistAnswer_; + /// + /// Output only. In + /// [ConversationalSearchService.GetSession][google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession] + /// API, if + /// [GetSessionRequest.include_answer_details][google.cloud.discoveryengine.v1beta.GetSessionRequest.include_answer_details] + /// is set to true, this field will be populated when getting assistant + /// session. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer DetailedAssistAnswer { + get { return detailedAssistAnswer_; } + set { + detailedAssistAnswer_ = value; + } + } + /// Field number for the "query_config" field. public const int QueryConfigFieldNumber = 16; private static readonly pbc::MapField.Codec _map_queryConfig_codec @@ -709,6 +812,21 @@ public string Answer { get { return queryConfig_; } } + /// Field number for the "live" field. + public const int LiveFieldNumber = 20; + private bool live_; + /// + /// Optional. Indicates whether this turn is a live turn. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Live { + get { return live_; } + set { + live_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -727,7 +845,9 @@ public bool Equals(Turn other) { if (!object.Equals(Query, other.Query)) return false; if (Answer != other.Answer) return false; if (!object.Equals(DetailedAnswer, other.DetailedAnswer)) return false; + if (!object.Equals(DetailedAssistAnswer, other.DetailedAssistAnswer)) return false; if (!QueryConfig.Equals(other.QueryConfig)) return false; + if (Live != other.Live) return false; return Equals(_unknownFields, other._unknownFields); } @@ -738,7 +858,9 @@ public override int GetHashCode() { if (query_ != null) hash ^= Query.GetHashCode(); if (Answer.Length != 0) hash ^= Answer.GetHashCode(); if (detailedAnswer_ != null) hash ^= DetailedAnswer.GetHashCode(); + if (detailedAssistAnswer_ != null) hash ^= DetailedAssistAnswer.GetHashCode(); hash ^= QueryConfig.GetHashCode(); + if (Live != false) hash ^= Live.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -769,7 +891,15 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(58); output.WriteMessage(DetailedAnswer); } + if (detailedAssistAnswer_ != null) { + output.WriteRawTag(66); + output.WriteMessage(DetailedAssistAnswer); + } queryConfig_.WriteTo(output, _map_queryConfig_codec); + if (Live != false) { + output.WriteRawTag(160, 1); + output.WriteBool(Live); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -792,7 +922,15 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(58); output.WriteMessage(DetailedAnswer); } + if (detailedAssistAnswer_ != null) { + output.WriteRawTag(66); + output.WriteMessage(DetailedAssistAnswer); + } queryConfig_.WriteTo(ref output, _map_queryConfig_codec); + if (Live != false) { + output.WriteRawTag(160, 1); + output.WriteBool(Live); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -812,7 +950,13 @@ public int CalculateSize() { if (detailedAnswer_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DetailedAnswer); } + if (detailedAssistAnswer_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DetailedAssistAnswer); + } size += queryConfig_.CalculateSize(_map_queryConfig_codec); + if (Live != false) { + size += 2 + 1; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -840,7 +984,16 @@ public void MergeFrom(Turn other) { } DetailedAnswer.MergeFrom(other.DetailedAnswer); } + if (other.detailedAssistAnswer_ != null) { + if (detailedAssistAnswer_ == null) { + DetailedAssistAnswer = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer(); + } + DetailedAssistAnswer.MergeFrom(other.DetailedAssistAnswer); + } queryConfig_.MergeFrom(other.queryConfig_); + if (other.Live != false) { + Live = other.Live; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -878,10 +1031,21 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(DetailedAnswer); break; } + case 66: { + if (detailedAssistAnswer_ == null) { + DetailedAssistAnswer = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer(); + } + input.ReadMessage(DetailedAssistAnswer); + break; + } case 130: { queryConfig_.AddEntriesFrom(input, _map_queryConfig_codec); break; } + case 160: { + Live = input.ReadBool(); + break; + } } } #endif @@ -919,10 +1083,21 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(DetailedAnswer); break; } + case 66: { + if (detailedAssistAnswer_ == null) { + DetailedAssistAnswer = new global::Google.Cloud.DiscoveryEngine.V1Beta.AssistAnswer(); + } + input.ReadMessage(DetailedAssistAnswer); + break; + } case 130: { queryConfig_.AddEntriesFrom(ref input, _map_queryConfig_codec); break; } + case 160: { + Live = input.ReadBool(); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionResourceNames.g.cs index 8633c07d3c7f..6d3d7180cff3 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionResourceNames.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionResourceNames.g.cs @@ -50,6 +50,14 @@ public enum ResourceNameType /// . /// ProjectLocationCollectionEngineSession = 3, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// . + /// + ProjectLocationCollectionEngineCollaborativeProjectSession = 4, } private static gax::PathTemplate s_projectLocationDataStoreSession = new gax::PathTemplate("projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}"); @@ -58,6 +66,8 @@ public enum ResourceNameType private static gax::PathTemplate s_projectLocationCollectionEngineSession = new gax::PathTemplate("projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}"); + private static gax::PathTemplate s_projectLocationCollectionEngineCollaborativeProjectSession = new gax::PathTemplate("projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session}"); + /// Creates a containing an unparsed resource name. /// The unparsed resource name. Must not be null. /// @@ -106,6 +116,24 @@ public static SessionName FromProjectLocationCollectionDataStoreSession(string p public static SessionName FromProjectLocationCollectionEngineSession(string projectId, string locationId, string collectionId, string engineId, string sessionId) => new SessionName(ResourceNameType.ProjectLocationCollectionEngineSession, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), collectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), engineId: gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), sessionId: gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId))); + /// + /// Creates a with the pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// + /// The CollaborativeProject ID. Must not be null or empty. + /// + /// The Session ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static SessionName FromProjectLocationCollectionEngineCollaborativeProjectSession(string projectId, string locationId, string collectionId, string engineId, string collaborativeProjectId, string sessionId) => + new SessionName(ResourceNameType.ProjectLocationCollectionEngineCollaborativeProjectSession, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), collectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), engineId: gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), collaborativeProjectId: gax::GaxPreconditions.CheckNotNullOrEmpty(collaborativeProjectId, nameof(collaborativeProjectId)), sessionId: gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId))); + /// /// Formats the IDs into the string representation of this with pattern /// projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}. @@ -172,6 +200,29 @@ public static string FormatProjectLocationCollectionDataStoreSession(string proj public static string FormatProjectLocationCollectionEngineSession(string projectId, string locationId, string collectionId, string engineId, string sessionId) => s_projectLocationCollectionEngineSession.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId))); + /// + /// Formats the IDs into the string representation of this with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Collection ID. Must not be null or empty. + /// The Engine ID. Must not be null or empty. + /// + /// The CollaborativeProject ID. Must not be null or empty. + /// + /// The Session ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// . + /// + public static string FormatProjectLocationCollectionEngineCollaborativeProjectSession(string projectId, string locationId, string collectionId, string engineId, string collaborativeProjectId, string sessionId) => + s_projectLocationCollectionEngineCollaborativeProjectSession.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(collectionId, nameof(collectionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(engineId, nameof(engineId)), gax::GaxPreconditions.CheckNotNullOrEmpty(collaborativeProjectId, nameof(collaborativeProjectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(sessionId, nameof(sessionId))); + /// Parses the given resource name string into a new instance. /// /// To parse successfully, the resource name must be formatted as one of the following: @@ -192,6 +243,12 @@ public static string FormatProjectLocationCollectionEngineSession(string project /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session} /// /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// + /// /// /// /// The resource name in string form. Must not be null. @@ -221,6 +278,12 @@ public static string FormatProjectLocationCollectionEngineSession(string project /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session} /// /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// + /// /// /// Or may be in any format if is true. /// @@ -256,6 +319,12 @@ public static SessionName Parse(string sessionName, bool allowUnparsed) => /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session} /// /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// + /// /// /// /// The resource name in string form. Must not be null. @@ -288,6 +357,12 @@ public static SessionName Parse(string sessionName, bool allowUnparsed) => /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session} /// /// + /// + /// + /// + /// projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/collaborativeProjects/{collaborative_project}/sessions/{session} + /// + /// /// /// Or may be in any format if is true. /// @@ -320,6 +395,11 @@ public static bool TryParse(string sessionName, bool allowUnparsed, out SessionN result = FromProjectLocationCollectionEngineSession(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4]); return true; } + if (s_projectLocationCollectionEngineCollaborativeProjectSession.TryParseName(sessionName, out resourceName)) + { + result = FromProjectLocationCollectionEngineCollaborativeProjectSession(resourceName[0], resourceName[1], resourceName[2], resourceName[3], resourceName[4], resourceName[5]); + return true; + } if (allowUnparsed) { if (gax::UnparsedResourceName.TryParse(sessionName, out gax::UnparsedResourceName unparsedResourceName)) @@ -332,10 +412,11 @@ public static bool TryParse(string sessionName, bool allowUnparsed, out SessionN return false; } - private SessionName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string collectionId = null, string dataStoreId = null, string engineId = null, string locationId = null, string projectId = null, string sessionId = null) + private SessionName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string collaborativeProjectId = null, string collectionId = null, string dataStoreId = null, string engineId = null, string locationId = null, string projectId = null, string sessionId = null) { Type = type; UnparsedResource = unparsedResourceName; + CollaborativeProjectId = collaborativeProjectId; CollectionId = collectionId; DataStoreId = dataStoreId; EngineId = engineId; @@ -365,6 +446,12 @@ public SessionName(string projectId, string locationId, string dataStoreId, stri /// public gax::UnparsedResourceName UnparsedResource { get; } + /// + /// The CollaborativeProject ID. May be null, depending on which resource name is contained by + /// this instance. + /// + public string CollaborativeProjectId { get; } + /// /// The Collection ID. May be null, depending on which resource name is contained by this /// instance. @@ -409,6 +496,7 @@ public override string ToString() case ResourceNameType.ProjectLocationDataStoreSession: return s_projectLocationDataStoreSession.Expand(ProjectId, LocationId, DataStoreId, SessionId); case ResourceNameType.ProjectLocationCollectionDataStoreSession: return s_projectLocationCollectionDataStoreSession.Expand(ProjectId, LocationId, CollectionId, DataStoreId, SessionId); case ResourceNameType.ProjectLocationCollectionEngineSession: return s_projectLocationCollectionEngineSession.Expand(ProjectId, LocationId, CollectionId, EngineId, SessionId); + case ResourceNameType.ProjectLocationCollectionEngineCollaborativeProjectSession: return s_projectLocationCollectionEngineCollaborativeProjectSession.Expand(ProjectId, LocationId, CollectionId, EngineId, CollaborativeProjectId, SessionId); default: throw new sys::InvalidOperationException("Unrecognized resource-type."); } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionService.g.cs index ab180f2923dc..abbbf9da4424 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionService.g.cs @@ -32,7 +32,7 @@ static SessionServiceReflection() { "L2Rpc2NvdmVyeWVuZ2luZS92MWJldGEvY29udmVyc2F0aW9uYWxfc2VhcmNo", "X3NlcnZpY2UucHJvdG8aMWdvb2dsZS9jbG91ZC9kaXNjb3ZlcnllbmdpbmUv", "djFiZXRhL3Nlc3Npb24ucHJvdG8aG2dvb2dsZS9wcm90b2J1Zi9lbXB0eS5w", - "cm90bzK6DwoOU2Vzc2lvblNlcnZpY2USiAMKDUNyZWF0ZVNlc3Npb24SOS5n", + "cm90bzL5EAoOU2Vzc2lvblNlcnZpY2USiAMKDUNyZWF0ZVNlc3Npb24SOS5n", "b29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0YS5D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SxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2Nv", + "dmVyeWVuZ2luZS5hc3Npc3QucmVhZHdyaXRlLGh0dHBzOi8vd3d3Lmdvb2ds", + "ZWFwaXMuY29tL2F1dGgvZGlzY292ZXJ5ZW5naW5lLnJlYWR3cml0ZSxodHRw", + "czovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5z", + "ZXJ2aW5nLnJlYWR3cml0ZUKaAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3Zl", + "cnllbmdpbmUudjFiZXRhQhNTZXNzaW9uU2VydmljZVByb3RvUAFaUWNsb3Vk", + "Lmdvb2dsZS5jb20vZ28vZGlzY292ZXJ5ZW5naW5lL2FwaXYxYmV0YS9kaXNj", + "b3ZlcnllbmdpbmVwYjtkaXNjb3ZlcnllbmdpbmVwYqICD0RJU0NPVkVSWUVO", + "R0lORaoCI0dvb2dsZS5DbG91ZC5EaXNjb3ZlcnlFbmdpbmUuVjFCZXRhygIj", + "R29vZ2xlXENsb3VkXERpc2NvdmVyeUVuZ2luZVxWMWJldGHqAiZHb29nbGU6", + "OkNsb3VkOjpEaXNjb3ZlcnlFbmdpbmU6OlYxYmV0YWIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ConversationalSearchServiceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SessionReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, null)); diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceClient.g.cs index d320c1b866b1..58f447bf48db 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceClient.g.cs @@ -226,11 +226,17 @@ public abstract partial class SessionServiceClient /// The default SessionService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.assist.readwrite + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceGrpc.g.cs index 03e61a4ad0f2..39d0f8a8e59b 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SessionServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/session_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngine.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngine.g.cs index b796a237caae..f2c8c47f356d 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngine.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngine.g.cs @@ -34,11 +34,11 @@ static SiteSearchEngineReflection() { "bG9jYXRpb259L2RhdGFTdG9yZXMve2RhdGFfc3RvcmV9L3NpdGVTZWFyY2hF", "bmdpbmUSaXByb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9u", "fS9jb2xsZWN0aW9ucy97Y29sbGVjdGlvbn0vZGF0YVN0b3Jlcy97ZGF0YV9z", - "dG9yZX0vc2l0ZVNlYXJjaEVuZ2luZSKqCQoKVGFyZ2V0U2l0ZRIRCgRuYW1l", + "dG9yZX0vc2l0ZVNlYXJjaEVuZ2luZSLLCQoKVGFyZ2V0U2l0ZRIRCgRuYW1l", "GAEgASgJQgPgQQMSJAoUcHJvdmlkZWRfdXJpX3BhdHRlcm4YAiABKAlCBuBB", "AuBBBBJCCgR0eXBlGAMgASgOMjQuZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVu", "Z2luZS52MWJldGEuVGFyZ2V0U2l0ZS5UeXBlEhgKC2V4YWN0X21hdGNoGAYg", - "ASgIQgPgQQQSIgoVZ2VuZXJhdGVkX3VyaV9wYXR0ZXJuGAQgASgJQgPgQQMS", + "ASgIQgPgQQUSIgoVZ2VuZXJhdGVkX3VyaV9wYXR0ZXJuGAQgASgJQgPgQQMS", "HAoPcm9vdF9kb21haW5fdXJpGAogASgJQgPgQQMSXgoWc2l0ZV92ZXJpZmlj", "YXRpb25faW5mbxgHIAEoCzI5Lmdvb2dsZS5jbG91ZC5kaXNjb3Zlcnllbmdp", "bmUudjFiZXRhLlNpdGVWZXJpZmljYXRpb25JbmZvQgPgQQMSXAoPaW5kZXhp", @@ -52,37 +52,38 @@ static SiteSearchEngineReflection() { "dFNpdGUuRmFpbHVyZVJlYXNvbi5RdW90YUZhaWx1cmVIABosCgxRdW90YUZh", "aWx1cmUSHAoUdG90YWxfcmVxdWlyZWRfcXVvdGEYASABKANCCQoHZmFpbHVy", "ZSI2CgRUeXBlEhQKEFRZUEVfVU5TUEVDSUZJRUQQABILCgdJTkNMVURFEAES", - "CwoHRVhDTFVERRACImcKDkluZGV4aW5nU3RhdHVzEh8KG0lOREVYSU5HX1NU", - "QVRVU19VTlNQRUNJRklFRBAAEgsKB1BFTkRJTkcQARIKCgZGQUlMRUQQAhIN", - "CglTVUNDRUVERUQQAxIMCghERUxFVElORxAEOqEC6kGdAgopZGlzY292ZXJ5", - "ZW5naW5lLmdvb2dsZWFwaXMuY29tL1RhcmdldFNpdGUSanByb2plY3RzL3tw", + "CwoHRVhDTFVERRACIocBCg5JbmRleGluZ1N0YXR1cxIfChtJTkRFWElOR19T", + "VEFUVVNfVU5TUEVDSUZJRUQQABILCgdQRU5ESU5HEAESCgoGRkFJTEVEEAIS", + "DQoJU1VDQ0VFREVEEAMSDAoIREVMRVRJTkcQBBIPCgtDQU5DRUxMQUJMRRAF", + "Eg0KCUNBTkNFTExFRBAGOqEC6kGdAgopZGlzY292ZXJ5ZW5naW5lLmdvb2ds", + "ZWFwaXMuY29tL1RhcmdldFNpdGUSanByb2plY3RzL3twcm9qZWN0fS9sb2Nh", + "dGlvbnMve2xvY2F0aW9ufS9kYXRhU3RvcmVzL3tkYXRhX3N0b3JlfS9zaXRl", + "U2VhcmNoRW5naW5lL3RhcmdldFNpdGVzL3t0YXJnZXRfc2l0ZX0SgwFwcm9q", + "ZWN0cy97cHJvamVjdH0vbG9jYXRpb25zL3tsb2NhdGlvbn0vY29sbGVjdGlv", + "bnMve2NvbGxlY3Rpb259L2RhdGFTdG9yZX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L2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5", - "ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWq", - "AiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2ds", - "ZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91", - "ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); + "X3N0b3JlfS9zaXRlU2VhcmNoRW5naW5lL3NpdGVtYXBzL3tzaXRlbWFwfRJ8", + "cHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2NvbGxl", + "Y3Rpb25zL3tjb2xsZWN0aW9ufS9kYXRhU3RvcmVzL3tkYXRhX3N0b3JlfS9z", + "aXRlU2VhcmNoRW5naW5lL3NpdGVtYXBzL3tzaXRlbWFwfUIGCgRmZWVkQpwC", + "Cidjb20uZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGFCFVNp", + "dGVTZWFyY2hFbmdpbmVQcm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rp", + "c2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlz", + "Y292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xv", + "dWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNj", + "b3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5", + "RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -412,8 +413,8 @@ public string ProvidedUriPattern { public const int ExactMatchFieldNumber = 6; private bool exactMatch_; /// - /// Input only. If set to false, a uri_pattern is generated to include all - /// pages whose address contains the provided_uri_pattern. If set to true, an + /// Immutable. If set to false, a uri_pattern is generated to include all pages + /// whose address contains the provided_uri_pattern. If set to true, an /// uri_pattern is generated to try to be an exact match of the /// provided_uri_pattern or just the specific page if the provided_uri_pattern /// is a specific one. provided_uri_pattern is always normalized to @@ -952,6 +953,14 @@ public enum IndexingStatus { /// 2. state reverts to SUCCEEDED if the unindexing fails. /// [pbr::OriginalName("DELETING")] Deleting = 4, + /// + /// The target site change is pending but cancellable. + /// + [pbr::OriginalName("CANCELLABLE")] Cancellable = 5, + /// + /// The target site change is cancelled. + /// + [pbr::OriginalName("CANCELLED")] Cancelled = 6, } /// diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineService.g.cs index 0c1041b517cf..8ccdd464e3ae 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineService.g.cs @@ -120,172 +120,178 @@ static SiteSearchEngineServiceReflection() { "ZXNwb25zZS5GYWlsdXJlSW5mby5GYWlsdXJlUmVhc29uLkNvcnB1c1R5cGUS", "FQoNZXJyb3JfbWVzc2FnZRgCIAEoCSJCCgpDb3JwdXNUeXBlEhsKF0NPUlBV", "U19UWVBFX1VOU1BFQ0lGSUVEEAASCwoHREVTS1RPUBABEgoKBk1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RGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6", + "Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.SiteSearchEngineReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -317,7 +323,7 @@ static SiteSearchEngineServiceReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DisableAdvancedSiteSearchMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.DisableAdvancedSiteSearchMetadata.Parser, new[]{ "CreateTime", "UpdateTime" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisRequest.Parser, new[]{ "SiteSearchEngine", "Uris", "SiteCredential" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse.Parser, new[]{ "FailureSamples", "FailedUris" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse.Types.FailureInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse.Types.FailureInfo.Parser, new[]{ "Uri", "FailureReasons" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse.Types.FailureInfo.Types.FailureReason), global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse.Types.FailureInfo.Types.FailureReason.Parser, new[]{ "CorpusType", "ErrorMessage" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisResponse.Types.FailureInfo.Types.FailureReason.Types.CorpusType) }, null, null)})}), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisMetadata.Parser, new[]{ "CreateTime", "UpdateTime", "InvalidUris", "InvalidUrisCount", "UrisNotMatchingTargetSites", "UrisNotMatchingTargetSitesCount", "ValidUrisCount", "SuccessCount", "PendingCount", "QuotaExceededCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.RecrawlUrisMetadata.Parser, new[]{ "CreateTime", "UpdateTime", "InvalidUris", "InvalidUrisCount", "NoindexUris", "NoindexUrisCount", "UrisNotMatchingTargetSites", "UrisNotMatchingTargetSitesCount", "ValidUrisCount", "SuccessCount", "PendingCount", "QuotaExceededCount" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesRequest.Parser, new[]{ "Parent" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchVerifyTargetSitesMetadata.Parser, new[]{ "CreateTime", "UpdateTime" }, null, null, null, null), @@ -7035,9 +7041,7 @@ public string SiteSearchEngine { public const int SiteCredentialFieldNumber = 5; private string siteCredential_ = ""; /// - /// Optional. Full resource name of the [SiteCredential][], such as - /// `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCredentials/*`. - /// Only set to crawl private URIs. + /// Optional. Credential id to use for crawling. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8017,6 +8021,8 @@ public RecrawlUrisMetadata(RecrawlUrisMetadata other) : this() { updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; invalidUris_ = other.invalidUris_.Clone(); invalidUrisCount_ = other.invalidUrisCount_; + noindexUris_ = other.noindexUris_.Clone(); + noindexUrisCount_ = other.noindexUrisCount_; urisNotMatchingTargetSites_ = other.urisNotMatchingTargetSites_.Clone(); urisNotMatchingTargetSitesCount_ = other.urisNotMatchingTargetSitesCount_; validUrisCount_ = other.validUrisCount_; @@ -8093,6 +8099,35 @@ public int InvalidUrisCount { } } + /// Field number for the "noindex_uris" field. + public const int NoindexUrisFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_noindexUris_codec + = pb::FieldCodec.ForString(90); + private readonly pbc::RepeatedField noindexUris_ = new pbc::RepeatedField(); + /// + /// URIs that have no index meta tag. Sample limited to 1000. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField NoindexUris { + get { return noindexUris_; } + } + + /// Field number for the "noindex_uris_count" field. + public const int NoindexUrisCountFieldNumber = 12; + private int noindexUrisCount_; + /// + /// Total number of URIs that have no index meta tag. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NoindexUrisCount { + get { return noindexUrisCount_; } + set { + noindexUrisCount_ = value; + } + } + /// Field number for the "uris_not_matching_target_sites" field. public const int UrisNotMatchingTargetSitesFieldNumber = 9; private static readonly pb::FieldCodec _repeated_urisNotMatchingTargetSites_codec @@ -8204,6 +8239,8 @@ public bool Equals(RecrawlUrisMetadata other) { if (!object.Equals(UpdateTime, other.UpdateTime)) return false; if(!invalidUris_.Equals(other.invalidUris_)) return false; if (InvalidUrisCount != other.InvalidUrisCount) return false; + if(!noindexUris_.Equals(other.noindexUris_)) return false; + if (NoindexUrisCount != other.NoindexUrisCount) return false; if(!urisNotMatchingTargetSites_.Equals(other.urisNotMatchingTargetSites_)) return false; if (UrisNotMatchingTargetSitesCount != other.UrisNotMatchingTargetSitesCount) return false; if (ValidUrisCount != other.ValidUrisCount) return false; @@ -8221,6 +8258,8 @@ public override int GetHashCode() { if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); hash ^= invalidUris_.GetHashCode(); if (InvalidUrisCount != 0) hash ^= InvalidUrisCount.GetHashCode(); + hash ^= noindexUris_.GetHashCode(); + if (NoindexUrisCount != 0) hash ^= NoindexUrisCount.GetHashCode(); hash ^= urisNotMatchingTargetSites_.GetHashCode(); if (UrisNotMatchingTargetSitesCount != 0) hash ^= UrisNotMatchingTargetSitesCount.GetHashCode(); if (ValidUrisCount != 0) hash ^= ValidUrisCount.GetHashCode(); @@ -8279,6 +8318,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(80); output.WriteInt32(UrisNotMatchingTargetSitesCount); } + noindexUris_.WriteTo(output, _repeated_noindexUris_codec); + if (NoindexUrisCount != 0) { + output.WriteRawTag(96); + output.WriteInt32(NoindexUrisCount); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -8323,6 +8367,11 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(80); output.WriteInt32(UrisNotMatchingTargetSitesCount); } + noindexUris_.WriteTo(ref output, _repeated_noindexUris_codec); + if (NoindexUrisCount != 0) { + output.WriteRawTag(96); + output.WriteInt32(NoindexUrisCount); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -8343,6 +8392,10 @@ public int CalculateSize() { if (InvalidUrisCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(InvalidUrisCount); } + size += noindexUris_.CalculateSize(_repeated_noindexUris_codec); + if (NoindexUrisCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NoindexUrisCount); + } size += urisNotMatchingTargetSites_.CalculateSize(_repeated_urisNotMatchingTargetSites_codec); if (UrisNotMatchingTargetSitesCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(UrisNotMatchingTargetSitesCount); @@ -8387,6 +8440,10 @@ public void MergeFrom(RecrawlUrisMetadata other) { if (other.InvalidUrisCount != 0) { InvalidUrisCount = other.InvalidUrisCount; } + noindexUris_.Add(other.noindexUris_); + if (other.NoindexUrisCount != 0) { + NoindexUrisCount = other.NoindexUrisCount; + } urisNotMatchingTargetSites_.Add(other.urisNotMatchingTargetSites_); if (other.UrisNotMatchingTargetSitesCount != 0) { UrisNotMatchingTargetSitesCount = other.UrisNotMatchingTargetSitesCount; @@ -8468,6 +8525,14 @@ public void MergeFrom(pb::CodedInputStream input) { UrisNotMatchingTargetSitesCount = input.ReadInt32(); break; } + case 90: { + noindexUris_.AddEntriesFrom(input, _repeated_noindexUris_codec); + break; + } + case 96: { + NoindexUrisCount = input.ReadInt32(); + break; + } } } #endif @@ -8533,6 +8598,14 @@ public void MergeFrom(pb::CodedInputStream input) { UrisNotMatchingTargetSitesCount = input.ReadInt32(); break; } + case 90: { + noindexUris_.AddEntriesFrom(ref input, _repeated_noindexUris_codec); + break; + } + case 96: { + NoindexUrisCount = input.ReadInt32(); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceClient.g.cs index 3d2d21f00f81..48b21db38535 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceClient.g.cs @@ -534,11 +534,15 @@ public abstract partial class SiteSearchEngineServiceClient /// The default SiteSearchEngineService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceGrpc.g.cs index c1092aebe21b..aed7ff2e57ac 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/SiteSearchEngineServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/site_search_engine_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEvent.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEvent.g.cs index fa9d313558cf..802b0e4eba34 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEvent.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEvent.g.cs @@ -28,73 +28,79 @@ static UserEventReflection() { "ZW50LnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0", "YRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2Fw", "aS9yZXNvdXJjZS5wcm90bxowZ29vZ2xlL2Nsb3VkL2Rpc2NvdmVyeWVuZ2lu", - "ZS92MWJldGEvY29tbW9uLnByb3RvGh5nb29nbGUvcHJvdG9idWYvZHVyYXRp", - "b24ucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3RhbXAucHJvdG8ipwkK", - "CVVzZXJFdmVudBIXCgpldmVudF90eXBlGAEgASgJQgPgQQISGwoOdXNlcl9w", - "c2V1ZG9faWQYAiABKAlCA+BBAhI6CgZlbmdpbmUYEyABKAlCKvpBJwolZGlz", - "Y292ZXJ5ZW5naW5lLmdvb2dsZWFwaXMuY29tL0VuZ2luZRJBCgpkYXRhX3N0", - "b3JlGBQgASgJQi36QSoKKGRpc2NvdmVyeWVuZ2luZS5nb29nbGVhcGlzLmNv", - "bS9EYXRhU3RvcmUSLgoKZXZlbnRfdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90", - "b2J1Zi5UaW1lc3RhbXASQAoJdXNlcl9pbmZvGAQgASgLMi0uZ29vZ2xlLmNs", - "b3VkLmRpc2NvdmVyeWVuZ2luZS52MWJldGEuVXNlckluZm8SGwoTZGlyZWN0", - "X3VzZX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naW5lLnYxYmV0YS5Eb2N1bWVudEluZm9CA+BBAUIRCg9fcGFuZWxfcG9z", + "aXRpb25CDwoNX3RvdGFsX3BhbmVscyKNAQoJTWVkaWFJbmZvEjoKF21lZGlh", + "X3Byb2dyZXNzX2R1cmF0aW9uGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1", + "cmF0aW9uEiYKGW1lZGlhX3Byb2dyZXNzX3BlcmNlbnRhZ2UYAiABKAJIAIgB", + "AUIcChpfbWVkaWFfcHJvZ3Jlc3NfcGVyY2VudGFnZUKVAgonY29tLmdvb2ds", + "ZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhQg5Vc2VyRXZlbnRQcm90", + "b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2", + "MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9E", + "SVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5l", + "LlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh", + "6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnBy", + "b3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.CommonReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.FeedbackReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserEvent), global::Google.Cloud.DiscoveryEngine.V1Beta.UserEvent.Parser, new[]{ "EventType", "UserPseudoId", "Engine", "DataStore", "EventTime", "UserInfo", "DirectUserRequest", "SessionId", "PageInfo", "AttributionToken", "Filter", "Documents", "Panel", "SearchInfo", "CompletionInfo", "TransactionInfo", "TagIds", "PromotionIds", "Attributes", "MediaInfo", "Panels" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserEvent), global::Google.Cloud.DiscoveryEngine.V1Beta.UserEvent.Parser, new[]{ "EventType", "ConversionType", "UserPseudoId", "Engine", "DataStore", "EventTime", "UserInfo", "DirectUserRequest", "SessionId", "PageInfo", "AttributionToken", "Filter", "Documents", "Panel", "SearchInfo", "CompletionInfo", "TransactionInfo", "TagIds", "PromotionIds", "Attributes", "MediaInfo", "Panels", "Feedback", "Entity" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.PageInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.PageInfo.Parser, new[]{ "PageviewId", "PageCategory", "Uri", "ReferrerUri" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.SearchInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.SearchInfo.Parser, new[]{ "SearchQuery", "OrderBy", "Offset" }, new[]{ "Offset" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.CompletionInfo.Parser, new[]{ "SelectedSuggestion", "SelectedPosition" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.TransactionInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.TransactionInfo.Parser, new[]{ "Value", "Currency", "TransactionId", "Tax", "Cost", "DiscountValue" }, new[]{ "Value", "Tax", "Cost", "DiscountValue" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo.Parser, new[]{ "Id", "Name", "Uri", "Quantity", "PromotionIds", "Joined" }, new[]{ "DocumentDescriptor", "Quantity" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo.Parser, new[]{ "Id", "Name", "Uri", "Quantity", "PromotionIds", "Joined", "ConversionValue" }, new[]{ "DocumentDescriptor", "Quantity", "ConversionValue" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.PanelInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.PanelInfo.Parser, new[]{ "PanelId", "DisplayName", "PanelPosition", "TotalPanels", "Documents" }, new[]{ "PanelPosition", "TotalPanels" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.MediaInfo), global::Google.Cloud.DiscoveryEngine.V1Beta.MediaInfo.Parser, new[]{ "MediaProgressDuration", "MediaProgressPercentage" }, new[]{ "MediaProgressPercentage" }, null, null, null) })); @@ -143,6 +149,7 @@ public UserEvent() { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UserEvent(UserEvent other) : this() { eventType_ = other.eventType_; + conversionType_ = other.conversionType_; userPseudoId_ = other.userPseudoId_; engine_ = other.engine_; dataStore_ = other.dataStore_; @@ -163,6 +170,8 @@ public UserEvent(UserEvent other) : this() { attributes_ = other.attributes_.Clone(); mediaInfo_ = other.mediaInfo_ != null ? other.mediaInfo_.Clone() : null; panels_ = other.panels_.Clone(); + feedback_ = other.feedback_ != null ? other.feedback_.Clone() : null; + entity_ = other.entity_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -185,7 +194,6 @@ public UserEvent Clone() { /// * `view-item-list`: View of a panel or ordered list of Documents. /// * `view-home-page`: View of the home page. /// * `view-category-page`: View of a category page, e.g. Home > Men > Jeans - /// * `add-feedback`: Add a user feedback. /// /// Retail-related values: /// @@ -196,6 +204,10 @@ public UserEvent Clone() { /// /// * `media-play`: Start/resume watching a video, playing a song, etc. /// * `media-complete`: Finished or stopped midway through a video, song, etc. + /// + /// Custom conversion value: + /// + /// * `conversion`: Customer defined conversion event. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -206,6 +218,31 @@ public string EventType { } } + /// Field number for the "conversion_type" field. + public const int ConversionTypeFieldNumber = 21; + private string conversionType_ = ""; + /// + /// Optional. Conversion type. + /// + /// Required if + /// [UserEvent.event_type][google.cloud.discoveryengine.v1beta.UserEvent.event_type] + /// is `conversion`. This is a customer-defined conversion name in lowercase + /// letters or numbers separated by "-", such as "watch", "good-visit" etc. + /// + /// Do not set the field if + /// [UserEvent.event_type][google.cloud.discoveryengine.v1beta.UserEvent.event_type] + /// is not `conversion`. This mixes the custom conversion event with predefined + /// events like `search`, `view-item` etc. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConversionType { + get { return conversionType_; } + set { + conversionType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Field number for the "user_pseudo_id" field. public const int UserPseudoIdFieldNumber = 2; private string userPseudoId_ = ""; @@ -420,8 +457,9 @@ public string AttributionToken { public const int FilterFieldNumber = 9; private string filter_ = ""; /// - /// The filter syntax consists of an expression language for constructing a - /// predicate from one or more fields of the documents being filtered. + /// Optional. The filter syntax consists of an expression language for + /// constructing a predicate from one or more fields of the documents being + /// filtered. /// /// One example is for `search` events, the associated /// [SearchRequest][google.cloud.discoveryengine.v1beta.SearchRequest] may @@ -645,6 +683,40 @@ public string Filter { get { return panels_; } } + /// Field number for the "feedback" field. + public const int FeedbackFieldNumber = 23; + private global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback feedback_; + /// + /// Optional. This field is optional except for the `add-feedback` event types. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback Feedback { + get { return feedback_; } + set { + feedback_ = value; + } + } + + /// Field number for the "entity" field. + public const int EntityFieldNumber = 25; + private string entity_ = ""; + /// + /// Optional. Represents the entity for customers that may run multiple + /// different entities, domains, sites or regions, for example, `Google US`, + /// `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. We recommend that + /// you set `entity` to get better per-entity search, completion, and + /// prediction results. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Entity { + get { return entity_; } + set { + entity_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -661,6 +733,7 @@ public bool Equals(UserEvent other) { return true; } if (EventType != other.EventType) return false; + if (ConversionType != other.ConversionType) return false; if (UserPseudoId != other.UserPseudoId) return false; if (Engine != other.Engine) return false; if (DataStore != other.DataStore) return false; @@ -681,6 +754,8 @@ public bool Equals(UserEvent other) { if (!Attributes.Equals(other.Attributes)) return false; if (!object.Equals(MediaInfo, other.MediaInfo)) return false; if(!panels_.Equals(other.panels_)) return false; + if (!object.Equals(Feedback, other.Feedback)) return false; + if (Entity != other.Entity) return false; return Equals(_unknownFields, other._unknownFields); } @@ -689,6 +764,7 @@ public bool Equals(UserEvent other) { public override int GetHashCode() { int hash = 1; if (EventType.Length != 0) hash ^= EventType.GetHashCode(); + if (ConversionType.Length != 0) hash ^= ConversionType.GetHashCode(); if (UserPseudoId.Length != 0) hash ^= UserPseudoId.GetHashCode(); if (Engine.Length != 0) hash ^= Engine.GetHashCode(); if (DataStore.Length != 0) hash ^= DataStore.GetHashCode(); @@ -709,6 +785,8 @@ public override int GetHashCode() { hash ^= Attributes.GetHashCode(); if (mediaInfo_ != null) hash ^= MediaInfo.GetHashCode(); hash ^= panels_.GetHashCode(); + if (feedback_ != null) hash ^= Feedback.GetHashCode(); + if (Entity.Length != 0) hash ^= Entity.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -795,7 +873,19 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 1); output.WriteString(DataStore); } + if (ConversionType.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(ConversionType); + } panels_.WriteTo(output, _repeated_panels_codec); + if (feedback_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(Feedback); + } + if (Entity.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Entity); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -874,7 +964,19 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 1); output.WriteString(DataStore); } + if (ConversionType.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(ConversionType); + } panels_.WriteTo(ref output, _repeated_panels_codec); + if (feedback_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(Feedback); + } + if (Entity.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Entity); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -888,6 +990,9 @@ public int CalculateSize() { if (EventType.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(EventType); } + if (ConversionType.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ConversionType); + } if (UserPseudoId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPseudoId); } @@ -938,6 +1043,12 @@ public int CalculateSize() { size += 2 + pb::CodedOutputStream.ComputeMessageSize(MediaInfo); } size += panels_.CalculateSize(_repeated_panels_codec); + if (feedback_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Feedback); + } + if (Entity.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Entity); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -953,6 +1064,9 @@ public void MergeFrom(UserEvent other) { if (other.EventType.Length != 0) { EventType = other.EventType; } + if (other.ConversionType.Length != 0) { + ConversionType = other.ConversionType; + } if (other.UserPseudoId.Length != 0) { UserPseudoId = other.UserPseudoId; } @@ -1027,6 +1141,15 @@ public void MergeFrom(UserEvent other) { MediaInfo.MergeFrom(other.MediaInfo); } panels_.Add(other.panels_); + if (other.feedback_ != null) { + if (feedback_ == null) { + Feedback = new global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback(); + } + Feedback.MergeFrom(other.Feedback); + } + if (other.Entity.Length != 0) { + Entity = other.Entity; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1150,10 +1273,25 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 170: { + ConversionType = input.ReadString(); + break; + } case 178: { panels_.AddEntriesFrom(input, _repeated_panels_codec); break; } + case 186: { + if (feedback_ == null) { + Feedback = new global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback(); + } + input.ReadMessage(Feedback); + break; + } + case 202: { + Entity = input.ReadString(); + break; + } } } #endif @@ -1277,10 +1415,25 @@ public void MergeFrom(pb::CodedInputStream input) { DataStore = input.ReadString(); break; } + case 170: { + ConversionType = input.ReadString(); + break; + } case 178: { panels_.AddEntriesFrom(ref input, _repeated_panels_codec); break; } + case 186: { + if (feedback_ == null) { + Feedback = new global::Google.Cloud.DiscoveryEngine.V1Beta.Feedback(); + } + input.ReadMessage(Feedback); + break; + } + case 202: { + Entity = input.ReadString(); + break; + } } } } @@ -2761,6 +2914,7 @@ public DocumentInfo(DocumentInfo other) : this() { quantity_ = other.quantity_; promotionIds_ = other.promotionIds_.Clone(); joined_ = other.joined_; + conversionValue_ = other.conversionValue_; switch (other.DocumentDescriptorCase) { case DocumentDescriptorOneofCase.Id: Id = other.Id; @@ -2941,6 +3095,42 @@ public bool Joined { } } + /// Field number for the "conversion_value" field. + public const int ConversionValueFieldNumber = 7; + private readonly static float ConversionValueDefaultValue = 0F; + + private float conversionValue_; + /// + /// Optional. The conversion value associated with this Document. + /// Must be set if + /// [UserEvent.event_type][google.cloud.discoveryengine.v1beta.UserEvent.event_type] + /// is "conversion". + /// + /// For example, a value of 1000 signifies that 1000 seconds were spent viewing + /// a Document for the `watch` conversion type. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ConversionValue { + get { if ((_hasBits0 & 2) != 0) { return conversionValue_; } else { return ConversionValueDefaultValue; } } + set { + _hasBits0 |= 2; + conversionValue_ = value; + } + } + /// Gets whether the "conversion_value" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasConversionValue { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "conversion_value" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearConversionValue() { + _hasBits0 &= ~2; + } + private object documentDescriptor_; /// Enum of possible cases for the "document_descriptor" oneof. public enum DocumentDescriptorOneofCase { @@ -2984,6 +3174,7 @@ public bool Equals(DocumentInfo other) { if (Quantity != other.Quantity) return false; if(!promotionIds_.Equals(other.promotionIds_)) return false; if (Joined != other.Joined) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ConversionValue, other.ConversionValue)) return false; if (DocumentDescriptorCase != other.DocumentDescriptorCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2998,6 +3189,7 @@ public override int GetHashCode() { if (HasQuantity) hash ^= Quantity.GetHashCode(); hash ^= promotionIds_.GetHashCode(); if (Joined != false) hash ^= Joined.GetHashCode(); + if (HasConversionValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ConversionValue); hash ^= (int) documentDescriptorCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -3038,6 +3230,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(50); output.WriteString(Uri); } + if (HasConversionValue) { + output.WriteRawTag(61); + output.WriteFloat(ConversionValue); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3069,6 +3265,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(50); output.WriteString(Uri); } + if (HasConversionValue) { + output.WriteRawTag(61); + output.WriteFloat(ConversionValue); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3095,6 +3295,9 @@ public int CalculateSize() { if (Joined != false) { size += 1 + 1; } + if (HasConversionValue) { + size += 1 + 4; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3114,6 +3317,9 @@ public void MergeFrom(DocumentInfo other) { if (other.Joined != false) { Joined = other.Joined; } + if (other.HasConversionValue) { + ConversionValue = other.ConversionValue; + } switch (other.DocumentDescriptorCase) { case DocumentDescriptorOneofCase.Id: Id = other.Id; @@ -3169,6 +3375,10 @@ public void MergeFrom(pb::CodedInputStream input) { Uri = input.ReadString(); break; } + case 61: { + ConversionValue = input.ReadFloat(); + break; + } } } #endif @@ -3212,6 +3422,10 @@ public void MergeFrom(pb::CodedInputStream input) { Uri = input.ReadString(); break; } + case 61: { + ConversionValue = input.ReadFloat(); + break; + } } } } diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventService.g.cs index 0c6743cbccf7..925164495c8e 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventService.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventService.g.cs @@ -42,7 +42,7 @@ static UserEventServiceReflection() { "dWVzdBJACgZwYXJlbnQYASABKAlCMOBBAvpBKgooZGlzY292ZXJ5ZW5naW5l", "Lmdvb2dsZWFwaXMuY29tL0RhdGFTdG9yZRIXCgp1c2VyX2V2ZW50GAIgASgJ", "QgPgQQISEAoDdXJpGAMgASgJSACIAQESEAoDZXRzGAQgASgDSAGIAQFCBgoE", - "X3VyaUIGCgRfZXRzMvwMChBVc2VyRXZlbnRTZXJ2aWNlEoQDCg5Xcml0ZVVz", + "X3VyaUIGCgRfZXRzMvsOChBVc2VyRXZlbnRTZXJ2aWNlEoQDCg5Xcml0ZVVz", "ZXJFdmVudBI6Lmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRh", "LldyaXRlVXNlckV2ZW50UmVxdWVzdBouLmdvb2dsZS5jbG91ZC5kaXNjb3Zl", "cnllbmdpbmUudjFiZXRhLlVzZXJFdmVudCKFAoLT5JMC/gEiRS92MWJldGEv", @@ -68,24 +68,30 @@ static UserEventServiceReflection() { "cy8qL2xvY2F0aW9ucy8qL2RhdGFTdG9yZXMvKn0vdXNlckV2ZW50czpwdXJn", "ZToBKlpYIlMvdjFiZXRhL3twYXJlbnQ9cHJvamVjdHMvKi9sb2NhdGlvbnMv", "Ki9jb2xsZWN0aW9ucy8qL2RhdGFTdG9yZXMvKn0vdXNlckV2ZW50czpwdXJn", - "ZToBKhKeAwoQSW1wb3J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AiNHb29nbGVcQ2xvdWRcRGlzY292", + "ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRpc2NvdmVyeUVu", + "Z2luZTo6VjFiZXRhYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.HttpbodyReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.ImportConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.PurgeConfigReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.UserEventReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -156,11 +162,11 @@ public WriteUserEventRequest Clone() { /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore] level, the /// format is: /// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. - /// If the write user event action is applied in [Location][] level, for - /// example, the event with - /// [Document][google.cloud.discoveryengine.v1beta.Document] across multiple - /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore], the format is: - /// `projects/{project}/locations/{location}`. + /// If the write user event action is applied in + /// [Location][google.cloud.location.Location] level, for example, the event + /// with [Document][google.cloud.discoveryengine.v1beta.Document] across + /// multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore], the + /// format is: `projects/{project}/locations/{location}`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -457,8 +463,16 @@ public CollectUserEventRequest Clone() { public const int ParentFieldNumber = 1; private string parent_ = ""; /// - /// Required. The parent DataStore resource name, such as + /// Required. The parent resource name. + /// If the collect user event action is applied in + /// [DataStore][google.cloud.discoveryengine.v1beta.DataStore] level, the + /// format is: /// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + /// If the collect user event action is applied in + /// [Location][google.cloud.location.Location] level, for example, the event + /// with [Document][google.cloud.discoveryengine.v1beta.Document] across + /// multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore], the + /// format is: `projects/{project}/locations/{location}`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceClient.g.cs index 83e39c5fc7c9..3ccb8b1a5006 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceClient.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceClient.g.cs @@ -246,11 +246,17 @@ public abstract partial class UserEventServiceClient /// The default UserEventService scopes are: /// /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.assist.readwrite + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite /// /// public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] { "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", }); /// The service metadata associated with this client type. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceGrpc.g.cs index 76d454f33972..6a30a81d4080 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceGrpc.g.cs +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserEventServiceGrpc.g.cs @@ -3,7 +3,7 @@ // source: google/cloud/discoveryengine/v1beta/user_event_service.proto // // Original file comments: -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicense.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicense.g.cs new file mode 100644 index 000000000000..82993f35c81d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicense.g.cs @@ -0,0 +1,835 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/user_license.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/user_license.proto + public static partial class UserLicenseReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/user_license.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserLicenseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjZnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS91c2VyX2xp", + "Y2Vuc2UucHJvdG8SI2dvb2dsZS5jbG91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mlnGAEgASgJQgPgQQISHwoSdXNlZF9saWNlbnNlX2NvdW50", + "GAIgASgDQgPgQQJClwIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5n", + "aW5lLnYxYmV0YUIQVXNlckxpY2Vuc2VQcm90b1ABWlFjbG91ZC5nb29nbGUu", + "Y29tL2dvL2Rpc2NvdmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5n", + "aW5lcGI7ZGlzY292ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNH", + "b29nbGUuQ2xvdWQuRGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxD", + "bG91ZFxEaXNjb3ZlcnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6", + "RGlzY292ZXJ5RW5naW5lOjpWMWJldGFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense), global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Parser, new[]{ "UserPrincipal", "UserProfile", "LicenseAssignmentState", "LicenseConfig", "CreateTime", "UpdateTime", "LastLoginTime" }, null, new[]{ typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigUsageStats), global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigUsageStats.Parser, new[]{ "LicenseConfig", "UsedLicenseCount" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// User License information assigned by the admin. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UserLicense : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserLicense()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserLicense() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserLicense(UserLicense other) : this() { + userPrincipal_ = other.userPrincipal_; + userProfile_ = other.userProfile_; + licenseAssignmentState_ = other.licenseAssignmentState_; + licenseConfig_ = other.licenseConfig_; + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + lastLoginTime_ = other.lastLoginTime_ != null ? other.lastLoginTime_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserLicense Clone() { + return new UserLicense(this); + } + + /// Field number for the "user_principal" field. + public const int UserPrincipalFieldNumber = 1; + private string userPrincipal_ = ""; + /// + /// Required. Immutable. The user principal of the User, could be email address + /// or other prinical identifier. This field is immutable. Admin assign + /// licenses based on the user principal. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserPrincipal { + get { return userPrincipal_; } + set { + userPrincipal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "user_profile" field. + public const int UserProfileFieldNumber = 3; + private string userProfile_ = ""; + /// + /// Optional. The user profile. + /// We user user full name(First name + Last name) as user profile. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserProfile { + get { return userProfile_; } + set { + userProfile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "license_assignment_state" field. + public const int LicenseAssignmentStateFieldNumber = 4; + private global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState licenseAssignmentState_ = global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState.Unspecified; + /// + /// Output only. License assignment state of the user. + /// If the user is assigned with a license config, the user login will be + /// assigned with the license; + /// If the user's license assignment state is unassigned or unspecified, no + /// license config will be associated to the user; + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState LicenseAssignmentState { + get { return licenseAssignmentState_; } + set { + licenseAssignmentState_ = value; + } + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 5; + private string licenseConfig_ = ""; + /// + /// Optional. The full resource name of the Subscription(LicenseConfig) + /// assigned to the user. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 6; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Output only. User created timestamp. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 7; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Output only. User update timestamp. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "last_login_time" field. + public const int LastLoginTimeFieldNumber = 8; + private global::Google.Protobuf.WellKnownTypes.Timestamp lastLoginTime_; + /// + /// Output only. User last logged in time. + /// If the user has not logged in yet, this field will be empty. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp LastLoginTime { + get { return lastLoginTime_; } + set { + lastLoginTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserLicense); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserLicense other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserPrincipal != other.UserPrincipal) return false; + if (UserProfile != other.UserProfile) return false; + if (LicenseAssignmentState != other.LicenseAssignmentState) return false; + if (LicenseConfig != other.LicenseConfig) return false; + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (!object.Equals(LastLoginTime, other.LastLoginTime)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (UserPrincipal.Length != 0) hash ^= UserPrincipal.GetHashCode(); + if (UserProfile.Length != 0) hash ^= UserProfile.GetHashCode(); + if (LicenseAssignmentState != global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState.Unspecified) hash ^= LicenseAssignmentState.GetHashCode(); + if (LicenseConfig.Length != 0) hash ^= LicenseConfig.GetHashCode(); + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (lastLoginTime_ != null) hash ^= LastLoginTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (UserPrincipal.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserPrincipal); + } + if (UserProfile.Length != 0) { + output.WriteRawTag(26); + output.WriteString(UserProfile); + } + if (LicenseAssignmentState != global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) LicenseAssignmentState); + } + if (LicenseConfig.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LicenseConfig); + } + if (createTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(58); + output.WriteMessage(UpdateTime); + } + if (lastLoginTime_ != null) { + output.WriteRawTag(66); + output.WriteMessage(LastLoginTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (UserPrincipal.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserPrincipal); + } + if (UserProfile.Length != 0) { + output.WriteRawTag(26); + output.WriteString(UserProfile); + } + if (LicenseAssignmentState != global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState.Unspecified) { + output.WriteRawTag(32); + output.WriteEnum((int) LicenseAssignmentState); + } + if (LicenseConfig.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LicenseConfig); + } + if (createTime_ != null) { + output.WriteRawTag(50); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(58); + output.WriteMessage(UpdateTime); + } + if (lastLoginTime_ != null) { + output.WriteRawTag(66); + output.WriteMessage(LastLoginTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (UserPrincipal.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserPrincipal); + } + if (UserProfile.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserProfile); + } + if (LicenseAssignmentState != global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState.Unspecified) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LicenseAssignmentState); + } + if (LicenseConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LicenseConfig); + } + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (lastLoginTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LastLoginTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserLicense other) { + if (other == null) { + return; + } + if (other.UserPrincipal.Length != 0) { + UserPrincipal = other.UserPrincipal; + } + if (other.UserProfile.Length != 0) { + UserProfile = other.UserProfile; + } + if (other.LicenseAssignmentState != global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState.Unspecified) { + LicenseAssignmentState = other.LicenseAssignmentState; + } + if (other.LicenseConfig.Length != 0) { + LicenseConfig = other.LicenseConfig; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.lastLoginTime_ != null) { + if (lastLoginTime_ == null) { + LastLoginTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + LastLoginTime.MergeFrom(other.LastLoginTime); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + UserPrincipal = input.ReadString(); + break; + } + case 26: { + UserProfile = input.ReadString(); + break; + } + case 32: { + LicenseAssignmentState = (global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState) input.ReadEnum(); + break; + } + case 42: { + LicenseConfig = input.ReadString(); + break; + } + case 50: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 58: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 66: { + if (lastLoginTime_ == null) { + LastLoginTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(LastLoginTime); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + UserPrincipal = input.ReadString(); + break; + } + case 26: { + UserProfile = input.ReadString(); + break; + } + case 32: { + LicenseAssignmentState = (global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Types.LicenseAssignmentState) input.ReadEnum(); + break; + } + case 42: { + LicenseConfig = input.ReadString(); + break; + } + case 50: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 58: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 66: { + if (lastLoginTime_ == null) { + LastLoginTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(LastLoginTime); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the UserLicense message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// License assignment state enumeration. + /// + public enum LicenseAssignmentState { + /// + /// Default value. + /// + [pbr::OriginalName("LICENSE_ASSIGNMENT_STATE_UNSPECIFIED")] Unspecified = 0, + /// + /// License assigned to the user. + /// + [pbr::OriginalName("ASSIGNED")] Assigned = 1, + /// + /// No license assigned to the user. + /// Deprecated, translated to NO_LICENSE. + /// + [pbr::OriginalName("UNASSIGNED")] Unassigned = 2, + /// + /// No license assigned to the user. + /// + [pbr::OriginalName("NO_LICENSE")] NoLicense = 3, + /// + /// User attempted to login but no license assigned to the user. + /// This state is only used for no user first time login attempt but cannot + /// get license assigned. + /// Users already logged in but cannot get license assigned will be assigned + /// NO_LICENSE state(License could be unassigned by admin). + /// + [pbr::OriginalName("NO_LICENSE_ATTEMPTED_LOGIN")] NoLicenseAttemptedLogin = 4, + /// + /// User is blocked from assigning a license. + /// + [pbr::OriginalName("BLOCKED")] Blocked = 5, + } + + } + #endregion + + } + + /// + /// Stats about users' licenses. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LicenseConfigUsageStats : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LicenseConfigUsageStats()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LicenseConfigUsageStats() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LicenseConfigUsageStats(LicenseConfigUsageStats other) : this() { + licenseConfig_ = other.licenseConfig_; + usedLicenseCount_ = other.usedLicenseCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LicenseConfigUsageStats Clone() { + return new LicenseConfigUsageStats(this); + } + + /// Field number for the "license_config" field. + public const int LicenseConfigFieldNumber = 1; + private string licenseConfig_ = ""; + /// + /// Required. The LicenseConfig name. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LicenseConfig { + get { return licenseConfig_; } + set { + licenseConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "used_license_count" field. + public const int UsedLicenseCountFieldNumber = 2; + private long usedLicenseCount_; + /// + /// Required. The number of licenses used. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UsedLicenseCount { + get { return usedLicenseCount_; } + set { + usedLicenseCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LicenseConfigUsageStats); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LicenseConfigUsageStats other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (LicenseConfig != other.LicenseConfig) return false; + if (UsedLicenseCount != other.UsedLicenseCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (LicenseConfig.Length != 0) hash ^= LicenseConfig.GetHashCode(); + if (UsedLicenseCount != 0L) hash ^= UsedLicenseCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (LicenseConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(LicenseConfig); + } + if (UsedLicenseCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UsedLicenseCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (LicenseConfig.Length != 0) { + output.WriteRawTag(10); + output.WriteString(LicenseConfig); + } + if (UsedLicenseCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UsedLicenseCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (LicenseConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LicenseConfig); + } + if (UsedLicenseCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UsedLicenseCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LicenseConfigUsageStats other) { + if (other == null) { + return; + } + if (other.LicenseConfig.Length != 0) { + LicenseConfig = other.LicenseConfig; + } + if (other.UsedLicenseCount != 0L) { + UsedLicenseCount = other.UsedLicenseCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + LicenseConfig = input.ReadString(); + break; + } + case 16: { + UsedLicenseCount = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + LicenseConfig = input.ReadString(); + break; + } + case 16: { + UsedLicenseCount = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseResourceNames.g.cs new file mode 100644 index 000000000000..36002e0b98ee --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseResourceNames.g.cs @@ -0,0 +1,32 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class UserLicense + { + /// + /// -typed view over the resource name property. + /// + public LicenseConfigName LicenseConfigAsLicenseConfigName + { + get => string.IsNullOrEmpty(LicenseConfig) ? null : LicenseConfigName.Parse(LicenseConfig, allowUnparsed: true); + set => LicenseConfig = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseService.g.cs new file mode 100644 index 000000000000..15a3642857ae --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseService.g.cs @@ -0,0 +1,2319 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/user_license_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/user_license_service.proto + public static partial class UserLicenseServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/user_license_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserLicenseServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cj5nb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS91c2VyX2xp", + "Y2Vuc2Vfc2VydmljZS5wcm90bxIjZ29vZ2xlLmNsb3VkLmRpc2NvdmVyeWVu", + "Z2luZS52MWJldGEaHGdvb2dsZS9hcGkvYW5ub3RhdGlvbnMucHJvdG8aF2dv", + "b2dsZS9hcGkvY2xpZW50LnByb3RvGh9nb29nbGUvYXBpL2ZpZWxkX2JlaGF2", + "aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jlc291cmNlLnByb3RvGjZnb29nbGUv", + "Y2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS91c2VyX2xpY2Vuc2UucHJv", + "dG8aI2d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3BhcmVudD1wcm9qZWN0cy8qL2xvY2F0aW9ucy8qL3VzZXJTdG9yZXMv", + "Kn06YmF0Y2hVcGRhdGVVc2VyTGljZW5zZXM6ASoazwHKQR5kaXNjb3Zlcnll", + "bmdpbmUuZ29vZ2xlYXBpcy5jb23SQaoBaHR0cHM6Ly93d3cuZ29vZ2xlYXBp", + "cy5jb20vYXV0aC9jbG91ZC1wbGF0Zm9ybSxodHRwczovL3d3dy5nb29nbGVh", + "cGlzLmNvbS9hdXRoL2Rpc2NvdmVyeWVuZ2luZS5yZWFkd3JpdGUsaHR0cHM6", + "Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9kaXNjb3ZlcnllbmdpbmUuc2Vy", + "dmluZy5yZWFkd3JpdGVCngIKJ2NvbS5nb29nbGUuY2xvdWQuZGlzY292ZXJ5", + "ZW5naW5lLnYxYmV0YUIXVXNlckxpY2Vuc2VTZXJ2aWNlUHJvdG9QAVpRY2xv", + "dWQuZ29vZ2xlLmNvbS9nby9kaXNjb3ZlcnllbmdpbmUvYXBpdjFiZXRhL2Rp", + "c2NvdmVyeWVuZ2luZXBiO2Rpc2NvdmVyeWVuZ2luZXBiogIPRElTQ09WRVJZ", + "RU5HSU5FqgIjR29vZ2xlLkNsb3VkLkRpc2NvdmVyeUVuZ2luZS5WMUJldGHK", + "AiNHb29nbGVcQ2xvdWRcRGlzY292ZXJ5RW5naW5lXFYxYmV0YeoCJkdvb2ds", + "ZTo6Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFiZXRhYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest.Parser, new[]{ "Parent", "PageSize", "PageToken", "Filter", "OrderBy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesResponse.Parser, new[]{ "UserLicenses", "NextPageToken" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest.Parser, new[]{ "Parent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse.Parser, new[]{ "LicenseConfigUsageStats" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Parser, new[]{ "InlineSource", "Parent", "DeleteUnassignedUserLicenses" }, new[]{ "Source" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource.Parser, new[]{ "UserLicenses", "UpdateMask" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesMetadata), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesMetadata.Parser, new[]{ "CreateTime", "UpdateTime", "SuccessCount", "FailureCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesResponse), global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesResponse.Parser, new[]{ "UserLicenses", "ErrorSamples" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for + /// [UserLicenseService.ListUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses]. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListUserLicensesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListUserLicensesRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListUserLicensesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListUserLicensesRequest(ListUserLicensesRequest other) : this() { + parent_ = other.parent_; + pageSize_ = other.pageSize_; + pageToken_ = other.pageToken_; + filter_ = other.filter_; + orderBy_ = other.orderBy_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListUserLicensesRequest Clone() { + return new ListUserLicensesRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent + /// [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, + /// format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "page_size" field. + public const int PageSizeFieldNumber = 2; + private int pageSize_; + /// + /// Optional. Requested page size. Server may return fewer items than + /// requested. If unspecified, defaults to 10. The maximum value is 50; values + /// above 50 will be coerced to 50. + /// + /// If this field is negative, an INVALID_ARGUMENT error is returned. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PageSize { + get { return pageSize_; } + set { + pageSize_ = value; + } + } + + /// Field number for the "page_token" field. + public const int PageTokenFieldNumber = 3; + private string pageToken_ = ""; + /// + /// Optional. A page token, received from a previous `ListUserLicenses` call. + /// Provide this to retrieve the subsequent page. + /// + /// When paginating, all other parameters provided to `ListUserLicenses` + /// must match the call that provided the page token. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageToken { + get { return pageToken_; } + set { + pageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filter" field. + public const int FilterFieldNumber = 4; + private string filter_ = ""; + /// + /// Optional. Filter for the list request. + /// + /// Supported fields: + /// + /// * `license_assignment_state` + /// * `user_principal` + /// * + /// Examples: + /// + /// * `license_assignment_state = ASSIGNED` to list assigned user licenses. + /// * `license_assignment_state = NO_LICENSE` to list not licensed users. + /// * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` to list users + /// who attempted login but no license assigned. + /// * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter + /// out users who attempted login but no license assigned. + /// * `user_principal = user1@example.com` to list user license for + /// `user1@example.com`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Filter { + get { return filter_; } + set { + filter_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "order_by" field. + public const int OrderByFieldNumber = 5; + private string orderBy_ = ""; + /// + /// Optional. The order in which the + /// [UserLicense][google.cloud.discoveryengine.v1beta.UserLicense]s are listed. + /// The value must be a comma-separated list of fields. Default sorting order + /// is ascending. To specify descending order for a field, append a " desc" + /// suffix. Redundant space characters in the syntax are insignificant. + /// + /// Supported fields (only `user_principal` is supported for now): + /// + /// * `user_principal` + /// + /// If not set, the default ordering is by `user_principal`. + /// + /// Examples: + /// + /// * `user_principal` to order by `user_principal` in ascending order. + /// * `user_principal desc` to order by `user_principal` in descending order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OrderBy { + get { return orderBy_; } + set { + orderBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListUserLicensesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListUserLicensesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + if (PageSize != other.PageSize) return false; + if (PageToken != other.PageToken) return false; + if (Filter != other.Filter) return false; + if (OrderBy != other.OrderBy) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (PageSize != 0) hash ^= PageSize.GetHashCode(); + if (PageToken.Length != 0) hash ^= PageToken.GetHashCode(); + if (Filter.Length != 0) hash ^= Filter.GetHashCode(); + if (OrderBy.Length != 0) hash ^= OrderBy.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (OrderBy.Length != 0) { + output.WriteRawTag(42); + output.WriteString(OrderBy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (PageSize != 0) { + output.WriteRawTag(16); + output.WriteInt32(PageSize); + } + if (PageToken.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PageToken); + } + if (Filter.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Filter); + } + if (OrderBy.Length != 0) { + output.WriteRawTag(42); + output.WriteString(OrderBy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (PageSize != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PageSize); + } + if (PageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageToken); + } + if (Filter.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filter); + } + if (OrderBy.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderBy); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListUserLicensesRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.PageSize != 0) { + PageSize = other.PageSize; + } + if (other.PageToken.Length != 0) { + PageToken = other.PageToken; + } + if (other.Filter.Length != 0) { + Filter = other.Filter; + } + if (other.OrderBy.Length != 0) { + OrderBy = other.OrderBy; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + case 42: { + OrderBy = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 16: { + PageSize = input.ReadInt32(); + break; + } + case 26: { + PageToken = input.ReadString(); + break; + } + case 34: { + Filter = input.ReadString(); + break; + } + case 42: { + OrderBy = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [UserLicenseService.ListUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.ListUserLicenses]. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListUserLicensesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListUserLicensesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListUserLicensesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListUserLicensesResponse(ListUserLicensesResponse other) : this() { + userLicenses_ = other.userLicenses_.Clone(); + nextPageToken_ = other.nextPageToken_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListUserLicensesResponse Clone() { + return new ListUserLicensesResponse(this); + } + + /// Field number for the "user_licenses" field. + public const int UserLicensesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_userLicenses_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Parser); + private readonly pbc::RepeatedField userLicenses_ = new pbc::RepeatedField(); + /// + /// All the customer's + /// [UserLicense][google.cloud.discoveryengine.v1beta.UserLicense]s. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UserLicenses { + get { return userLicenses_; } + } + + /// Field number for the "next_page_token" field. + public const int NextPageTokenFieldNumber = 2; + private string nextPageToken_ = ""; + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If + /// this field is omitted, there are no subsequent pages. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextPageToken { + get { return nextPageToken_; } + set { + nextPageToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListUserLicensesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListUserLicensesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!userLicenses_.Equals(other.userLicenses_)) return false; + if (NextPageToken != other.NextPageToken) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= userLicenses_.GetHashCode(); + if (NextPageToken.Length != 0) hash ^= NextPageToken.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + userLicenses_.WriteTo(output, _repeated_userLicenses_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + userLicenses_.WriteTo(ref output, _repeated_userLicenses_codec); + if (NextPageToken.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NextPageToken); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += userLicenses_.CalculateSize(_repeated_userLicenses_codec); + if (NextPageToken.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextPageToken); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListUserLicensesResponse other) { + if (other == null) { + return; + } + userLicenses_.Add(other.userLicenses_); + if (other.NextPageToken.Length != 0) { + NextPageToken = other.NextPageToken; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + userLicenses_.AddEntriesFrom(input, _repeated_userLicenses_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + userLicenses_.AddEntriesFrom(ref input, _repeated_userLicenses_codec); + break; + } + case 18: { + NextPageToken = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [UserLicenseService.ListLicenseConfigsUsageStats][google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListLicenseConfigsUsageStatsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListLicenseConfigsUsageStatsRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsUsageStatsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsUsageStatsRequest(ListLicenseConfigsUsageStatsRequest other) : this() { + parent_ = other.parent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsUsageStatsRequest Clone() { + return new ListLicenseConfigsUsageStatsRequest(this); + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListLicenseConfigsUsageStatsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListLicenseConfigsUsageStatsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Parent != other.Parent) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListLicenseConfigsUsageStatsRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [UserLicenseService.ListLicenseConfigsUsageStats][google.cloud.discoveryengine.v1beta.UserLicenseService.ListLicenseConfigsUsageStats] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ListLicenseConfigsUsageStatsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ListLicenseConfigsUsageStatsResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsUsageStatsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsUsageStatsResponse(ListLicenseConfigsUsageStatsResponse other) : this() { + licenseConfigUsageStats_ = other.licenseConfigUsageStats_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ListLicenseConfigsUsageStatsResponse Clone() { + return new ListLicenseConfigsUsageStatsResponse(this); + } + + /// Field number for the "license_config_usage_stats" field. + public const int LicenseConfigUsageStatsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_licenseConfigUsageStats_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigUsageStats.Parser); + private readonly pbc::RepeatedField licenseConfigUsageStats_ = new pbc::RepeatedField(); + /// + /// All the customer's + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField LicenseConfigUsageStats { + get { return licenseConfigUsageStats_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ListLicenseConfigsUsageStatsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ListLicenseConfigsUsageStatsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!licenseConfigUsageStats_.Equals(other.licenseConfigUsageStats_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= licenseConfigUsageStats_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + licenseConfigUsageStats_.WriteTo(output, _repeated_licenseConfigUsageStats_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + licenseConfigUsageStats_.WriteTo(ref output, _repeated_licenseConfigUsageStats_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += licenseConfigUsageStats_.CalculateSize(_repeated_licenseConfigUsageStats_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ListLicenseConfigsUsageStatsResponse other) { + if (other == null) { + return; + } + licenseConfigUsageStats_.Add(other.licenseConfigUsageStats_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + licenseConfigUsageStats_.AddEntriesFrom(input, _repeated_licenseConfigUsageStats_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + licenseConfigUsageStats_.AddEntriesFrom(ref input, _repeated_licenseConfigUsageStats_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BatchUpdateUserLicensesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BatchUpdateUserLicensesRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesRequest(BatchUpdateUserLicensesRequest other) : this() { + parent_ = other.parent_; + deleteUnassignedUserLicenses_ = other.deleteUnassignedUserLicenses_; + switch (other.SourceCase) { + case SourceOneofCase.InlineSource: + InlineSource = other.InlineSource.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesRequest Clone() { + return new BatchUpdateUserLicensesRequest(this); + } + + /// Field number for the "inline_source" field. + public const int InlineSourceFieldNumber = 2; + /// + /// The inline source for the input content for document embeddings. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource InlineSource { + get { return sourceCase_ == SourceOneofCase.InlineSource ? (global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource) source_ : null; } + set { + source_ = value; + sourceCase_ = value == null ? SourceOneofCase.None : SourceOneofCase.InlineSource; + } + } + + /// Field number for the "parent" field. + public const int ParentFieldNumber = 1; + private string parent_ = ""; + /// + /// Required. The parent + /// [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, + /// format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Parent { + get { return parent_; } + set { + parent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "delete_unassigned_user_licenses" field. + public const int DeleteUnassignedUserLicensesFieldNumber = 4; + private bool deleteUnassignedUserLicenses_; + /// + /// Optional. If true, if user licenses removed associated license config, the + /// user license will be deleted. By default which is false, the user license + /// will be updated to unassigned state. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DeleteUnassignedUserLicenses { + get { return deleteUnassignedUserLicenses_; } + set { + deleteUnassignedUserLicenses_ = value; + } + } + + private object source_; + /// Enum of possible cases for the "source" oneof. + public enum SourceOneofCase { + None = 0, + InlineSource = 2, + } + private SourceOneofCase sourceCase_ = SourceOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SourceOneofCase SourceCase { + get { return sourceCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSource() { + sourceCase_ = SourceOneofCase.None; + source_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BatchUpdateUserLicensesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BatchUpdateUserLicensesRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(InlineSource, other.InlineSource)) return false; + if (Parent != other.Parent) return false; + if (DeleteUnassignedUserLicenses != other.DeleteUnassignedUserLicenses) return false; + if (SourceCase != other.SourceCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (sourceCase_ == SourceOneofCase.InlineSource) hash ^= InlineSource.GetHashCode(); + if (Parent.Length != 0) hash ^= Parent.GetHashCode(); + if (DeleteUnassignedUserLicenses != false) hash ^= DeleteUnassignedUserLicenses.GetHashCode(); + hash ^= (int) sourceCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.InlineSource) { + output.WriteRawTag(18); + output.WriteMessage(InlineSource); + } + if (DeleteUnassignedUserLicenses != false) { + output.WriteRawTag(32); + output.WriteBool(DeleteUnassignedUserLicenses); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Parent.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Parent); + } + if (sourceCase_ == SourceOneofCase.InlineSource) { + output.WriteRawTag(18); + output.WriteMessage(InlineSource); + } + if (DeleteUnassignedUserLicenses != false) { + output.WriteRawTag(32); + output.WriteBool(DeleteUnassignedUserLicenses); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (sourceCase_ == SourceOneofCase.InlineSource) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(InlineSource); + } + if (Parent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Parent); + } + if (DeleteUnassignedUserLicenses != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BatchUpdateUserLicensesRequest other) { + if (other == null) { + return; + } + if (other.Parent.Length != 0) { + Parent = other.Parent; + } + if (other.DeleteUnassignedUserLicenses != false) { + DeleteUnassignedUserLicenses = other.DeleteUnassignedUserLicenses; + } + switch (other.SourceCase) { + case SourceOneofCase.InlineSource: + if (InlineSource == null) { + InlineSource = new global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource(); + } + InlineSource.MergeFrom(other.InlineSource); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource(); + if (sourceCase_ == SourceOneofCase.InlineSource) { + subBuilder.MergeFrom(InlineSource); + } + input.ReadMessage(subBuilder); + InlineSource = subBuilder; + break; + } + case 32: { + DeleteUnassignedUserLicenses = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Parent = input.ReadString(); + break; + } + case 18: { + global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource subBuilder = new global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Types.InlineSource(); + if (sourceCase_ == SourceOneofCase.InlineSource) { + subBuilder.MergeFrom(InlineSource); + } + input.ReadMessage(subBuilder); + InlineSource = subBuilder; + break; + } + case 32: { + DeleteUnassignedUserLicenses = input.ReadBool(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the BatchUpdateUserLicensesRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + /// The inline source for the input config for BatchUpdateUserLicenses + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InlineSource : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InlineSource()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource(InlineSource other) : this() { + userLicenses_ = other.userLicenses_.Clone(); + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InlineSource Clone() { + return new InlineSource(this); + } + + /// Field number for the "user_licenses" field. + public const int UserLicensesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_userLicenses_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Parser); + private readonly pbc::RepeatedField userLicenses_ = new pbc::RepeatedField(); + /// + /// Required. A list of user licenses to update. Each user license + /// must have a valid + /// [UserLicense.user_principal][google.cloud.discoveryengine.v1beta.UserLicense.user_principal]. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UserLicenses { + get { return userLicenses_; } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Optional. The list of fields to update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InlineSource); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InlineSource other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!userLicenses_.Equals(other.userLicenses_)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= userLicenses_.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + userLicenses_.WriteTo(output, _repeated_userLicenses_codec); + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + userLicenses_.WriteTo(ref output, _repeated_userLicenses_codec); + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += userLicenses_.CalculateSize(_repeated_userLicenses_codec); + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InlineSource other) { + if (other == null) { + return; + } + userLicenses_.Add(other.userLicenses_); + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + userLicenses_.AddEntriesFrom(input, _repeated_userLicenses_codec); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + userLicenses_.AddEntriesFrom(ref input, _repeated_userLicenses_codec); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + /// Metadata related to the progress of the + /// [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses] + /// operation. This will be returned by the google.longrunning.Operation.metadata + /// field. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BatchUpdateUserLicensesMetadata : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BatchUpdateUserLicensesMetadata()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesMetadata() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesMetadata(BatchUpdateUserLicensesMetadata other) : this() { + createTime_ = other.createTime_ != null ? other.createTime_.Clone() : null; + updateTime_ = other.updateTime_ != null ? other.updateTime_.Clone() : null; + successCount_ = other.successCount_; + failureCount_ = other.failureCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesMetadata Clone() { + return new BatchUpdateUserLicensesMetadata(this); + } + + /// Field number for the "create_time" field. + public const int CreateTimeFieldNumber = 1; + private global::Google.Protobuf.WellKnownTypes.Timestamp createTime_; + /// + /// Operation create time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "update_time" field. + public const int UpdateTimeFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.Timestamp updateTime_; + /// + /// Operation last update time. If the operation is done, this is also the + /// finish time. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.Timestamp UpdateTime { + get { return updateTime_; } + set { + updateTime_ = value; + } + } + + /// Field number for the "success_count" field. + public const int SuccessCountFieldNumber = 3; + private long successCount_; + /// + /// Count of user licenses successfully updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long SuccessCount { + get { return successCount_; } + set { + successCount_ = value; + } + } + + /// Field number for the "failure_count" field. + public const int FailureCountFieldNumber = 4; + private long failureCount_; + /// + /// Count of user licenses that failed to be updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long FailureCount { + get { return failureCount_; } + set { + failureCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BatchUpdateUserLicensesMetadata); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BatchUpdateUserLicensesMetadata other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CreateTime, other.CreateTime)) return false; + if (!object.Equals(UpdateTime, other.UpdateTime)) return false; + if (SuccessCount != other.SuccessCount) return false; + if (FailureCount != other.FailureCount) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (createTime_ != null) hash ^= CreateTime.GetHashCode(); + if (updateTime_ != null) hash ^= UpdateTime.GetHashCode(); + if (SuccessCount != 0L) hash ^= SuccessCount.GetHashCode(); + if (FailureCount != 0L) hash ^= FailureCount.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (SuccessCount != 0L) { + output.WriteRawTag(24); + output.WriteInt64(SuccessCount); + } + if (FailureCount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(FailureCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (createTime_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CreateTime); + } + if (updateTime_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateTime); + } + if (SuccessCount != 0L) { + output.WriteRawTag(24); + output.WriteInt64(SuccessCount); + } + if (FailureCount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(FailureCount); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (createTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateTime); + } + if (updateTime_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateTime); + } + if (SuccessCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(SuccessCount); + } + if (FailureCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(FailureCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BatchUpdateUserLicensesMetadata other) { + if (other == null) { + return; + } + if (other.createTime_ != null) { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + CreateTime.MergeFrom(other.CreateTime); + } + if (other.updateTime_ != null) { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + UpdateTime.MergeFrom(other.UpdateTime); + } + if (other.SuccessCount != 0L) { + SuccessCount = other.SuccessCount; + } + if (other.FailureCount != 0L) { + FailureCount = other.FailureCount; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 24: { + SuccessCount = input.ReadInt64(); + break; + } + case 32: { + FailureCount = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (createTime_ == null) { + CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(CreateTime); + break; + } + case 18: { + if (updateTime_ == null) { + UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp(); + } + input.ReadMessage(UpdateTime); + break; + } + case 24: { + SuccessCount = input.ReadInt64(); + break; + } + case 32: { + FailureCount = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + /// + /// Response message for + /// [UserLicenseService.BatchUpdateUserLicenses][google.cloud.discoveryengine.v1beta.UserLicenseService.BatchUpdateUserLicenses] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BatchUpdateUserLicensesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BatchUpdateUserLicensesResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesResponse(BatchUpdateUserLicensesResponse other) : this() { + userLicenses_ = other.userLicenses_.Clone(); + errorSamples_ = other.errorSamples_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BatchUpdateUserLicensesResponse Clone() { + return new BatchUpdateUserLicensesResponse(this); + } + + /// Field number for the "user_licenses" field. + public const int UserLicensesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_userLicenses_codec + = pb::FieldCodec.ForMessage(10, global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicense.Parser); + private readonly pbc::RepeatedField userLicenses_ = new pbc::RepeatedField(); + /// + /// UserLicenses successfully updated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UserLicenses { + get { return userLicenses_; } + } + + /// Field number for the "error_samples" field. + public const int ErrorSamplesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_errorSamples_codec + = pb::FieldCodec.ForMessage(18, global::Google.Rpc.Status.Parser); + private readonly pbc::RepeatedField errorSamples_ = new pbc::RepeatedField(); + /// + /// A sample of errors encountered while processing the request. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ErrorSamples { + get { return errorSamples_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BatchUpdateUserLicensesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BatchUpdateUserLicensesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!userLicenses_.Equals(other.userLicenses_)) return false; + if(!errorSamples_.Equals(other.errorSamples_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= userLicenses_.GetHashCode(); + hash ^= errorSamples_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + userLicenses_.WriteTo(output, _repeated_userLicenses_codec); + errorSamples_.WriteTo(output, _repeated_errorSamples_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + userLicenses_.WriteTo(ref output, _repeated_userLicenses_codec); + errorSamples_.WriteTo(ref output, _repeated_errorSamples_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += userLicenses_.CalculateSize(_repeated_userLicenses_codec); + size += errorSamples_.CalculateSize(_repeated_errorSamples_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BatchUpdateUserLicensesResponse other) { + if (other == null) { + return; + } + userLicenses_.Add(other.userLicenses_); + errorSamples_.Add(other.errorSamples_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + userLicenses_.AddEntriesFrom(input, _repeated_userLicenses_codec); + break; + } + case 18: { + errorSamples_.AddEntriesFrom(input, _repeated_errorSamples_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + userLicenses_.AddEntriesFrom(ref input, _repeated_userLicenses_codec); + break; + } + case 18: { + errorSamples_.AddEntriesFrom(ref input, _repeated_errorSamples_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceClient.g.cs new file mode 100644 index 000000000000..d531898494f0 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceClient.g.cs @@ -0,0 +1,807 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using lro = Google.LongRunning; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using sc = System.Collections; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class UserLicenseServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static UserLicenseServiceSettings GetDefault() => new UserLicenseServiceSettings(); + + /// Constructs a new object with default settings. + public UserLicenseServiceSettings() + { + } + + private UserLicenseServiceSettings(UserLicenseServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + ListUserLicensesSettings = existing.ListUserLicensesSettings; + ListLicenseConfigsUsageStatsSettings = existing.ListLicenseConfigsUsageStatsSettings; + BatchUpdateUserLicensesSettings = existing.BatchUpdateUserLicensesSettings; + BatchUpdateUserLicensesOperationsSettings = existing.BatchUpdateUserLicensesOperationsSettings.Clone(); + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(UserLicenseServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// UserLicenseServiceClient.ListUserLicenses and UserLicenseServiceClient.ListUserLicensesAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ListUserLicensesSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// UserLicenseServiceClient.ListLicenseConfigsUsageStats and + /// UserLicenseServiceClient.ListLicenseConfigsUsageStatsAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings ListLicenseConfigsUsageStatsSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// UserLicenseServiceClient.BatchUpdateUserLicenses and + /// UserLicenseServiceClient.BatchUpdateUserLicensesAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings BatchUpdateUserLicensesSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// Long Running Operation settings for calls to UserLicenseServiceClient.BatchUpdateUserLicenses and + /// UserLicenseServiceClient.BatchUpdateUserLicensesAsync. + /// + /// + /// Uses default of: + /// + /// Initial delay: 20 seconds. + /// Delay multiplier: 1.5 + /// Maximum delay: 45 seconds. + /// Total timeout: 24 hours. + /// + /// + public lro::OperationsSettings BatchUpdateUserLicensesOperationsSettings { get; set; } = new lro::OperationsSettings + { + DefaultPollSettings = new gax::PollSettings(gax::Expiration.FromTimeout(sys::TimeSpan.FromHours(24)), sys::TimeSpan.FromSeconds(20), 1.5, sys::TimeSpan.FromSeconds(45)), + }; + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public UserLicenseServiceSettings Clone() => new UserLicenseServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, + /// endpoint etc. + /// + public sealed partial class UserLicenseServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public UserLicenseServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public UserLicenseServiceClientBuilder() : base(UserLicenseServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref UserLicenseServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override UserLicenseServiceClient Build() + { + UserLicenseServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private UserLicenseServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return UserLicenseServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return UserLicenseServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => UserLicenseServiceClient.ChannelPool; + } + + /// UserLicenseService client wrapper, for convenient use. + /// + /// Service for managing User Licenses. + /// + public abstract partial class UserLicenseServiceClient + { + /// + /// The default endpoint for the UserLicenseService service, which is a host of "discoveryengine.googleapis.com" + /// and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default UserLicenseService scopes. + /// + /// The default UserLicenseService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(UserLicenseService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use + /// . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new UserLicenseServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use + /// . + /// + /// The created . + public static UserLicenseServiceClient Create() => new UserLicenseServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote + /// operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static UserLicenseServiceClient Create(grpccore::CallInvoker callInvoker, UserLicenseServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + UserLicenseService.UserLicenseServiceClient grpcClient = new UserLicenseService.UserLicenseServiceClient(callInvoker); + return new UserLicenseServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC UserLicenseService client + public virtual UserLicenseService.UserLicenseServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Lists the User Licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListUserLicenses(ListUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists the User Licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListUserLicensesAsync(ListUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists the User Licenses. + /// + /// + /// Required. The parent + /// [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, + /// format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListUserLicenses(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListUserLicensesRequest request = new ListUserLicensesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListUserLicenses(request, callSettings); + } + + /// + /// Lists the User Licenses. + /// + /// + /// Required. The parent + /// [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, + /// format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListUserLicensesAsync(string parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListUserLicensesRequest request = new ListUserLicensesRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListUserLicensesAsync(request, callSettings); + } + + /// + /// Lists the User Licenses. + /// + /// + /// Required. The parent + /// [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, + /// format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public virtual gax::PagedEnumerable ListUserLicenses(UserStoreName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListUserLicensesRequest request = new ListUserLicensesRequest + { + ParentAsUserStoreName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListUserLicenses(request, callSettings); + } + + /// + /// Lists the User Licenses. + /// + /// + /// Required. The parent + /// [UserStore][google.cloud.discoveryengine.v1beta.UserStore] resource name, + /// format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// + /// The token returned from the previous request. A value of null or an empty string retrieves the first + /// page. + /// + /// + /// The size of page to request. The response will not be larger than this, but may be smaller. A value of + /// null or 0 uses a server-defined page size. + /// + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public virtual gax::PagedAsyncEnumerable ListUserLicensesAsync(UserStoreName parent, string pageToken = null, int? pageSize = null, gaxgrpc::CallSettings callSettings = null) + { + ListUserLicensesRequest request = new ListUserLicensesRequest + { + ParentAsUserStoreName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }; + if (pageToken != null) + { + request.PageToken = pageToken; + } + if (pageSize != null) + { + request.PageSize = pageSize.Value; + } + return ListUserLicensesAsync(request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListLicenseConfigsUsageStatsResponse ListLicenseConfigsUsageStats(ListLicenseConfigsUsageStatsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListLicenseConfigsUsageStatsAsync(ListLicenseConfigsUsageStatsRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListLicenseConfigsUsageStatsAsync(ListLicenseConfigsUsageStatsRequest request, st::CancellationToken cancellationToken) => + ListLicenseConfigsUsageStatsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListLicenseConfigsUsageStatsResponse ListLicenseConfigsUsageStats(string parent, gaxgrpc::CallSettings callSettings = null) => + ListLicenseConfigsUsageStats(new ListLicenseConfigsUsageStatsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListLicenseConfigsUsageStatsAsync(string parent, gaxgrpc::CallSettings callSettings = null) => + ListLicenseConfigsUsageStatsAsync(new ListLicenseConfigsUsageStatsRequest + { + Parent = gax::GaxPreconditions.CheckNotNullOrEmpty(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListLicenseConfigsUsageStatsAsync(string parent, st::CancellationToken cancellationToken) => + ListLicenseConfigsUsageStatsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual ListLicenseConfigsUsageStatsResponse ListLicenseConfigsUsageStats(UserStoreName parent, gaxgrpc::CallSettings callSettings = null) => + ListLicenseConfigsUsageStats(new ListLicenseConfigsUsageStatsRequest + { + ParentAsUserStoreName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task ListLicenseConfigsUsageStatsAsync(UserStoreName parent, gaxgrpc::CallSettings callSettings = null) => + ListLicenseConfigsUsageStatsAsync(new ListLicenseConfigsUsageStatsRequest + { + ParentAsUserStoreName = gax::GaxPreconditions.CheckNotNull(parent, nameof(parent)), + }, callSettings); + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// + /// Required. The parent branch resource name, such as + /// `projects/{project}/locations/{location}/userStores/{user_store_id}`. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task ListLicenseConfigsUsageStatsAsync(UserStoreName parent, st::CancellationToken cancellationToken) => + ListLicenseConfigsUsageStatsAsync(parent, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual lro::Operation BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task> BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task> BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest request, st::CancellationToken cancellationToken) => + BatchUpdateUserLicensesAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// The long-running operations client for BatchUpdateUserLicenses. + public virtual lro::OperationsClient BatchUpdateUserLicensesOperationsClient => throw new sys::NotImplementedException(); + + /// + /// Poll an operation once, using an operationName from a previous invocation of + /// BatchUpdateUserLicenses. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// The result of polling the operation. + public virtual lro::Operation PollOnceBatchUpdateUserLicenses(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromName(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BatchUpdateUserLicensesOperationsClient, callSettings); + + /// + /// Asynchronously poll an operation once, using an operationName from a previous invocation of + /// BatchUpdateUserLicenses. + /// + /// + /// The name of a previously invoked operation. Must not be null or empty. + /// + /// If not null, applies overrides to this RPC call. + /// A task representing the result of polling the operation. + public virtual stt::Task> PollOnceBatchUpdateUserLicensesAsync(string operationName, gaxgrpc::CallSettings callSettings = null) => + lro::Operation.PollOnceFromNameAsync(gax::GaxPreconditions.CheckNotNullOrEmpty(operationName, nameof(operationName)), BatchUpdateUserLicensesOperationsClient, callSettings); + } + + /// UserLicenseService client wrapper implementation, for convenient use. + /// + /// Service for managing User Licenses. + /// + public sealed partial class UserLicenseServiceClientImpl : UserLicenseServiceClient + { + private readonly gaxgrpc::ApiCall _callListUserLicenses; + + private readonly gaxgrpc::ApiCall _callListLicenseConfigsUsageStats; + + private readonly gaxgrpc::ApiCall _callBatchUpdateUserLicenses; + + /// + /// Constructs a client wrapper for the UserLicenseService service, with the specified gRPC client and settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public UserLicenseServiceClientImpl(UserLicenseService.UserLicenseServiceClient grpcClient, UserLicenseServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + UserLicenseServiceSettings effectiveSettings = settings ?? UserLicenseServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + BatchUpdateUserLicensesOperationsClient = new lro::OperationsClientImpl(grpcClient.CreateOperationsClient(), effectiveSettings.BatchUpdateUserLicensesOperationsSettings, logger); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callListUserLicenses = clientHelper.BuildApiCall("ListUserLicenses", grpcClient.ListUserLicensesAsync, grpcClient.ListUserLicenses, effectiveSettings.ListUserLicensesSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListUserLicenses); + Modify_ListUserLicensesApiCall(ref _callListUserLicenses); + _callListLicenseConfigsUsageStats = clientHelper.BuildApiCall("ListLicenseConfigsUsageStats", grpcClient.ListLicenseConfigsUsageStatsAsync, grpcClient.ListLicenseConfigsUsageStats, effectiveSettings.ListLicenseConfigsUsageStatsSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callListLicenseConfigsUsageStats); + Modify_ListLicenseConfigsUsageStatsApiCall(ref _callListLicenseConfigsUsageStats); + _callBatchUpdateUserLicenses = clientHelper.BuildApiCall("BatchUpdateUserLicenses", grpcClient.BatchUpdateUserLicensesAsync, grpcClient.BatchUpdateUserLicenses, effectiveSettings.BatchUpdateUserLicensesSettings).WithGoogleRequestParam("parent", request => request.Parent); + Modify_ApiCall(ref _callBatchUpdateUserLicenses); + Modify_BatchUpdateUserLicensesApiCall(ref _callBatchUpdateUserLicenses); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_ListUserLicensesApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_ListLicenseConfigsUsageStatsApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_BatchUpdateUserLicensesApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(UserLicenseService.UserLicenseServiceClient grpcClient, UserLicenseServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC UserLicenseService client + public override UserLicenseService.UserLicenseServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_ListUserLicensesRequest(ref ListUserLicensesRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_ListLicenseConfigsUsageStatsRequest(ref ListLicenseConfigsUsageStatsRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_BatchUpdateUserLicensesRequest(ref BatchUpdateUserLicensesRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Lists the User Licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable sequence of resources. + public override gax::PagedEnumerable ListUserLicenses(ListUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListUserLicensesRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListUserLicenses, request, callSettings); + } + + /// + /// Lists the User Licenses. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A pageable asynchronous sequence of resources. + public override gax::PagedAsyncEnumerable ListUserLicensesAsync(ListUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListUserLicensesRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListUserLicenses, request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override ListLicenseConfigsUsageStatsResponse ListLicenseConfigsUsageStats(ListLicenseConfigsUsageStatsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListLicenseConfigsUsageStatsRequest(ref request, ref callSettings); + return _callListLicenseConfigsUsageStats.Sync(request, callSettings); + } + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task ListLicenseConfigsUsageStatsAsync(ListLicenseConfigsUsageStatsRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_ListLicenseConfigsUsageStatsRequest(ref request, ref callSettings); + return _callListLicenseConfigsUsageStats.Async(request, callSettings); + } + + /// The long-running operations client for BatchUpdateUserLicenses. + public override lro::OperationsClient BatchUpdateUserLicensesOperationsClient { get; } + + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override lro::Operation BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BatchUpdateUserLicensesRequest(ref request, ref callSettings); + return new lro::Operation(_callBatchUpdateUserLicenses.Sync(request, callSettings), BatchUpdateUserLicensesOperationsClient); + } + + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override async stt::Task> BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_BatchUpdateUserLicensesRequest(ref request, ref callSettings); + return new lro::Operation(await _callBatchUpdateUserLicenses.Async(request, callSettings).ConfigureAwait(false), BatchUpdateUserLicensesOperationsClient); + } + } + + public partial class ListUserLicensesRequest : gaxgrpc::IPageRequest + { + } + + public partial class ListUserLicensesResponse : gaxgrpc::IPageResponse + { + /// Returns an enumerator that iterates through the resources in this response. + public scg::IEnumerator GetEnumerator() => UserLicenses.GetEnumerator(); + + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + + public static partial class UserLicenseService + { + public partial class UserLicenseServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// A new Operations client for the same target as this client. + public virtual lro::Operations.OperationsClient CreateOperationsClient() => + new lro::Operations.OperationsClient(CallInvoker); + } + } + + public static partial class UserLicenseService + { + public partial class UserLicenseServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceGrpc.g.cs new file mode 100644 index 000000000000..cdc7c2860584 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceGrpc.g.cs @@ -0,0 +1,370 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/user_license_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing User Licenses. + /// + public static partial class UserLicenseService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.UserLicenseService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListUserLicensesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListUserLicensesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsUsageStatsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsUsageStatsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_BatchUpdateUserLicensesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_longrunning_Operation = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.LongRunning.Operation.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListUserLicenses = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListUserLicenses", + __Marshaller_google_cloud_discoveryengine_v1beta_ListUserLicensesRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListUserLicensesResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ListLicenseConfigsUsageStats = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ListLicenseConfigsUsageStats", + __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsUsageStatsRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_ListLicenseConfigsUsageStatsResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_BatchUpdateUserLicenses = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "BatchUpdateUserLicenses", + __Marshaller_google_cloud_discoveryengine_v1beta_BatchUpdateUserLicensesRequest, + __Marshaller_google_longrunning_Operation); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserLicenseServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of UserLicenseService + [grpc::BindServiceMethod(typeof(UserLicenseService), "BindService")] + public abstract partial class UserLicenseServiceBase + { + /// + /// Lists the User Licenses. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListUserLicenses(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ListLicenseConfigsUsageStats(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task BatchUpdateUserLicenses(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for UserLicenseService + public partial class UserLicenseServiceClient : grpc::ClientBase + { + /// Creates a new client for UserLicenseService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public UserLicenseServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for UserLicenseService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public UserLicenseServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected UserLicenseServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected UserLicenseServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Lists the User Licenses. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesResponse ListUserLicenses(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListUserLicenses(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists the User Licenses. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesResponse ListUserLicenses(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListUserLicenses, null, options, request); + } + /// + /// Lists the User Licenses. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListUserLicensesAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListUserLicensesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists the User Licenses. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListUserLicensesAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListUserLicensesRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListUserLicenses, null, options, request); + } + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse ListLicenseConfigsUsageStats(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListLicenseConfigsUsageStats(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsResponse ListLicenseConfigsUsageStats(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ListLicenseConfigsUsageStats, null, options, request); + } + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListLicenseConfigsUsageStatsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ListLicenseConfigsUsageStatsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Lists all the + /// [LicenseConfigUsageStats][google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats]s + /// associated with the project. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ListLicenseConfigsUsageStatsAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsUsageStatsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ListLicenseConfigsUsageStats, null, options, request); + } + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BatchUpdateUserLicenses(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BatchUpdateUserLicenses(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.LongRunning.Operation BatchUpdateUserLicenses(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_BatchUpdateUserLicenses, null, options, request); + } + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BatchUpdateUserLicensesAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return BatchUpdateUserLicensesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates the User License. + /// This method is used for batch assign/unassign licenses to users. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall BatchUpdateUserLicensesAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.BatchUpdateUserLicensesRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_BatchUpdateUserLicenses, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override UserLicenseServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new UserLicenseServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(UserLicenseServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_ListUserLicenses, serviceImpl.ListUserLicenses) + .AddMethod(__Method_ListLicenseConfigsUsageStats, serviceImpl.ListLicenseConfigsUsageStats) + .AddMethod(__Method_BatchUpdateUserLicenses, serviceImpl.BatchUpdateUserLicenses).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, UserLicenseServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_ListUserLicenses, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListUserLicenses)); + serviceBinder.AddMethod(__Method_ListLicenseConfigsUsageStats, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ListLicenseConfigsUsageStats)); + serviceBinder.AddMethod(__Method_BatchUpdateUserLicenses, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.BatchUpdateUserLicenses)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceResourceNames.g.cs new file mode 100644 index 000000000000..683a30826b02 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserLicenseServiceResourceNames.g.cs @@ -0,0 +1,56 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class ListUserLicensesRequest + { + /// + /// -typed view over the resource name property. + /// + public UserStoreName ParentAsUserStoreName + { + get => string.IsNullOrEmpty(Parent) ? null : UserStoreName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class ListLicenseConfigsUsageStatsRequest + { + /// + /// -typed view over the resource name property. + /// + public UserStoreName ParentAsUserStoreName + { + get => string.IsNullOrEmpty(Parent) ? null : UserStoreName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } + + public partial class BatchUpdateUserLicensesRequest + { + /// + /// -typed view over the resource name property. + /// + public UserStoreName ParentAsUserStoreName + { + get => string.IsNullOrEmpty(Parent) ? null : UserStoreName.Parse(Parent, allowUnparsed: true); + set => Parent = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStore.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStore.g.cs new file mode 100644 index 000000000000..69837ecc79b6 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStore.g.cs @@ -0,0 +1,443 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/user_store.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/user_store.proto + public static partial class UserStoreReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/user_store.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserStoreReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CjRnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS91c2VyX3N0", + "b3JlLnByb3RvEiNnb29nbGUuY2xvdWQuZGlzY292ZXJ5ZW5naW5lLnYxYmV0", + "YRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2Fw", + "aS9yZXNvdXJjZS5wcm90byLWAgoJVXNlclN0b3JlEhEKBG5hbWUYASABKAlC", + "A+BBBRIUCgxkaXNwbGF5X25hbWUYAiABKAkSVAoWZGVmYXVsdF9saWNlbnNl", + "X2NvbmZpZxgFIAEoCUI04EEB+kEuCixkaXNjb3ZlcnllbmdpbmUuZ29vZ2xl", + "YXBpcy5jb20vTGljZW5zZUNvbmZpZxIpChxlbmFibGVfbGljZW5zZV9hdXRv", + "X3JlZ2lzdGVyGAYgASgIQgPgQQESLwoiZW5hYmxlX2V4cGlyZWRfbGljZW5z", + "ZV9hdXRvX3VwZGF0ZRgHIAEoCEID4EEBOm7qQWsKKGRpc2NvdmVyeWVuZ2lu", + "ZS5nb29nbGVhcGlzLmNvbS9Vc2VyU3RvcmUSP3Byb2plY3RzL3twcm9qZWN0", + "fS9sb2NhdGlvbnMve2xvY2F0aW9ufS91c2VyU3RvcmVzL3t1c2VyX3N0b3Jl", + "fUKVAgonY29tLmdvb2dsZS5jbG91ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRh", + "Qg5Vc2VyU3RvcmVQcm90b1ABWlFjbG91ZC5nb29nbGUuY29tL2dvL2Rpc2Nv", + "dmVyeWVuZ2luZS9hcGl2MWJldGEvZGlzY292ZXJ5ZW5naW5lcGI7ZGlzY292", + "ZXJ5ZW5naW5lcGKiAg9ESVNDT1ZFUllFTkdJTkWqAiNHb29nbGUuQ2xvdWQu", + "RGlzY292ZXJ5RW5naW5lLlYxQmV0YcoCI0dvb2dsZVxDbG91ZFxEaXNjb3Zl", + "cnlFbmdpbmVcVjFiZXRh6gImR29vZ2xlOjpDbG91ZDo6RGlzY292ZXJ5RW5n", + "aW5lOjpWMWJldGFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore), global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore.Parser, new[]{ "Name", "DisplayName", "DefaultLicenseConfig", "EnableLicenseAutoRegister", "EnableExpiredLicenseAutoUpdate" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Configures metadata that is used for End User entities. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UserStore : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserStore()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserStoreReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserStore() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserStore(UserStore other) : this() { + name_ = other.name_; + displayName_ = other.displayName_; + defaultLicenseConfig_ = other.defaultLicenseConfig_; + enableLicenseAutoRegister_ = other.enableLicenseAutoRegister_; + enableExpiredLicenseAutoUpdate_ = other.enableExpiredLicenseAutoUpdate_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserStore Clone() { + return new UserStore(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. + /// + /// This field must be a UTF-8 encoded string with a length limit of 1024 + /// characters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "display_name" field. + public const int DisplayNameFieldNumber = 2; + private string displayName_ = ""; + /// + /// The display name of the User Store. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DisplayName { + get { return displayName_; } + set { + displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "default_license_config" field. + public const int DefaultLicenseConfigFieldNumber = 5; + private string defaultLicenseConfig_ = ""; + /// + /// Optional. The default subscription + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] for the + /// UserStore, if + /// [UserStore.enable_license_auto_register][google.cloud.discoveryengine.v1beta.UserStore.enable_license_auto_register] + /// is true, new users will automatically register under the default + /// subscription. + /// + /// If default + /// [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] doesn't + /// have remaining license seats left, new users will not be assigned with + /// license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DefaultLicenseConfig { + get { return defaultLicenseConfig_; } + set { + defaultLicenseConfig_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "enable_license_auto_register" field. + public const int EnableLicenseAutoRegisterFieldNumber = 6; + private bool enableLicenseAutoRegister_; + /// + /// Optional. Whether to enable license auto register for users in this User + /// Store. If true, new users will automatically register under the default + /// license config as long as the default license config has seats left. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableLicenseAutoRegister { + get { return enableLicenseAutoRegister_; } + set { + enableLicenseAutoRegister_ = value; + } + } + + /// Field number for the "enable_expired_license_auto_update" field. + public const int EnableExpiredLicenseAutoUpdateFieldNumber = 7; + private bool enableExpiredLicenseAutoUpdate_; + /// + /// Optional. Whether to enable license auto update for users in this User + /// Store. If true, users with expired licenses will automatically be updated + /// to use the default license config as long as the default license config has + /// seats left. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableExpiredLicenseAutoUpdate { + get { return enableExpiredLicenseAutoUpdate_; } + set { + enableExpiredLicenseAutoUpdate_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserStore); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserStore other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (DisplayName != other.DisplayName) return false; + if (DefaultLicenseConfig != other.DefaultLicenseConfig) return false; + if (EnableLicenseAutoRegister != other.EnableLicenseAutoRegister) return false; + if (EnableExpiredLicenseAutoUpdate != other.EnableExpiredLicenseAutoUpdate) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); + if (DefaultLicenseConfig.Length != 0) hash ^= DefaultLicenseConfig.GetHashCode(); + if (EnableLicenseAutoRegister != false) hash ^= EnableLicenseAutoRegister.GetHashCode(); + if (EnableExpiredLicenseAutoUpdate != false) hash ^= EnableExpiredLicenseAutoUpdate.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (DefaultLicenseConfig.Length != 0) { + output.WriteRawTag(42); + output.WriteString(DefaultLicenseConfig); + } + if (EnableLicenseAutoRegister != false) { + output.WriteRawTag(48); + output.WriteBool(EnableLicenseAutoRegister); + } + if (EnableExpiredLicenseAutoUpdate != false) { + output.WriteRawTag(56); + output.WriteBool(EnableExpiredLicenseAutoUpdate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (DisplayName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DisplayName); + } + if (DefaultLicenseConfig.Length != 0) { + output.WriteRawTag(42); + output.WriteString(DefaultLicenseConfig); + } + if (EnableLicenseAutoRegister != false) { + output.WriteRawTag(48); + output.WriteBool(EnableLicenseAutoRegister); + } + if (EnableExpiredLicenseAutoUpdate != false) { + output.WriteRawTag(56); + output.WriteBool(EnableExpiredLicenseAutoUpdate); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (DisplayName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); + } + if (DefaultLicenseConfig.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultLicenseConfig); + } + if (EnableLicenseAutoRegister != false) { + size += 1 + 1; + } + if (EnableExpiredLicenseAutoUpdate != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserStore other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DisplayName.Length != 0) { + DisplayName = other.DisplayName; + } + if (other.DefaultLicenseConfig.Length != 0) { + DefaultLicenseConfig = other.DefaultLicenseConfig; + } + if (other.EnableLicenseAutoRegister != false) { + EnableLicenseAutoRegister = other.EnableLicenseAutoRegister; + } + if (other.EnableExpiredLicenseAutoUpdate != false) { + EnableExpiredLicenseAutoUpdate = other.EnableExpiredLicenseAutoUpdate; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 42: { + DefaultLicenseConfig = input.ReadString(); + break; + } + case 48: { + EnableLicenseAutoRegister = input.ReadBool(); + break; + } + case 56: { + EnableExpiredLicenseAutoUpdate = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 18: { + DisplayName = input.ReadString(); + break; + } + case 42: { + DefaultLicenseConfig = input.ReadString(); + break; + } + case 48: { + EnableLicenseAutoRegister = input.ReadBool(); + break; + } + case 56: { + EnableExpiredLicenseAutoUpdate = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreResourceNames.g.cs new file mode 100644 index 000000000000..3293f891450d --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreResourceNames.g.cs @@ -0,0 +1,295 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; +using sys = System; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Resource name for the UserStore resource. + public sealed partial class UserStoreName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern projects/{project}/locations/{location}/userStores/{user_store}. + /// + ProjectLocationUserStore = 1, + } + + private static gax::PathTemplate s_projectLocationUserStore = new gax::PathTemplate("projects/{project}/locations/{location}/userStores/{user_store}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static UserStoreName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new UserStoreName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/userStores/{user_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The UserStore ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static UserStoreName FromProjectLocationUserStore(string projectId, string locationId, string userStoreId) => + new UserStoreName(ResourceNameType.ProjectLocationUserStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), userStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(userStoreId, nameof(userStoreId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/userStores/{user_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The UserStore ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/userStores/{user_store}. + /// + public static string Format(string projectId, string locationId, string userStoreId) => + FormatProjectLocationUserStore(projectId, locationId, userStoreId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/userStores/{user_store}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The UserStore ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/userStores/{user_store}. + /// + public static string FormatProjectLocationUserStore(string projectId, string locationId, string userStoreId) => + s_projectLocationUserStore.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(userStoreId, nameof(userStoreId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/userStores/{user_store} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static UserStoreName Parse(string userStoreName) => Parse(userStoreName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/userStores/{user_store} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static UserStoreName Parse(string userStoreName, bool allowUnparsed) => + TryParse(userStoreName, allowUnparsed, out UserStoreName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/userStores/{user_store} + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string userStoreName, out UserStoreName result) => TryParse(userStoreName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// projects/{project}/locations/{location}/userStores/{user_store} + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string userStoreName, bool allowUnparsed, out UserStoreName result) + { + gax::GaxPreconditions.CheckNotNull(userStoreName, nameof(userStoreName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationUserStore.TryParseName(userStoreName, out resourceName)) + { + result = FromProjectLocationUserStore(resourceName[0], resourceName[1], resourceName[2]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(userStoreName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private UserStoreName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string locationId = null, string projectId = null, string userStoreId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + LocationId = locationId; + ProjectId = projectId; + UserStoreId = userStoreId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/userStores/{user_store} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The UserStore ID. Must not be null or empty. + public UserStoreName(string projectId, string locationId, string userStoreId) : this(ResourceNameType.ProjectLocationUserStore, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), userStoreId: gax::GaxPreconditions.CheckNotNullOrEmpty(userStoreId, nameof(userStoreId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// + /// The UserStore ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string UserStoreId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationUserStore: return s_projectLocationUserStore.Expand(ProjectId, LocationId, UserStoreId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as UserStoreName); + + /// + public bool Equals(UserStoreName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(UserStoreName a, UserStoreName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(UserStoreName a, UserStoreName b) => !(a == b); + } + + public partial class UserStore + { + /// + /// -typed view over the resource name property. + /// + public gcdv::UserStoreName UserStoreName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::UserStoreName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + + /// + /// -typed view over the resource name + /// property. + /// + public LicenseConfigName DefaultLicenseConfigAsLicenseConfigName + { + get => string.IsNullOrEmpty(DefaultLicenseConfig) ? null : LicenseConfigName.Parse(DefaultLicenseConfig, allowUnparsed: true); + set => DefaultLicenseConfig = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreService.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreService.g.cs new file mode 100644 index 000000000000..4ddf27a07afb --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreService.g.cs @@ -0,0 +1,549 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/user_store_service.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Google.Cloud.DiscoveryEngine.V1Beta { + + /// Holder for reflection information generated from google/cloud/discoveryengine/v1beta/user_store_service.proto + public static partial class UserStoreServiceReflection { + + #region Descriptor + /// File descriptor for google/cloud/discoveryengine/v1beta/user_store_service.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserStoreServiceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cjxnb29nbGUvY2xvdWQvZGlzY292ZXJ5ZW5naW5lL3YxYmV0YS91c2VyX3N0", + "b3JlX3NlcnZpY2UucHJvdG8SI2dvb2dsZS5jbG91ZC5kaXNjb3Zlcnllbmdp", + "bmUudjFiZXRhGhxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvGhdnb29n", + "bGUvYXBpL2NsaWVudC5wcm90bxofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlv", + "ci5wcm90bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxo0Z29vZ2xlL2Ns", + "b3VkL2Rpc2NvdmVyeWVuZ2luZS92MWJldGEvdXNlcl9zdG9yZS5wcm90bxog", + "Z29vZ2xlL3Byb3RvYnVmL2ZpZWxkX21hc2sucHJvdG8iVQoTR2V0VXNlclN0", + "b3JlUmVxdWVzdBI+CgRuYW1lGAEgASgJQjDgQQL6QSoKKGRpc2NvdmVyeWVu", + "Z2luZS5nb29nbGVhcGlzLmNvbS9Vc2VyU3RvcmUilwEKFlVwZGF0ZVVzZXJT", + "dG9yZVJlcXVlc3QSRwoKdXNlcl9zdG9yZRgBIAEoCzIuLmdvb2dsZS5jbG91", + "ZC5kaXNjb3ZlcnllbmdpbmUudjFiZXRhLlVzZXJTdG9yZ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cnllbmdpbmUudjFiZXRhQhVVc2VyU3RvcmVTZXJ2", + "aWNlUHJvdG9QAVpRY2xvdWQuZ29vZ2xlLmNvbS9nby9kaXNjb3Zlcnllbmdp", + "bmUvYXBpdjFiZXRhL2Rpc2NvdmVyeWVuZ2luZXBiO2Rpc2NvdmVyeWVuZ2lu", + "ZXBiogIPRElTQ09WRVJZRU5HSU5FqgIjR29vZ2xlLkNsb3VkLkRpc2NvdmVy", + "eUVuZ2luZS5WMUJldGHKAiNHb29nbGVcQ2xvdWRcRGlzY292ZXJ5RW5naW5l", + "XFYxYmV0YeoCJkdvb2dsZTo6Q2xvdWQ6OkRpc2NvdmVyeUVuZ2luZTo6VjFi", + "ZXRhYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.DiscoveryEngine.V1Beta.UserStoreReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest.Parser, new[]{ "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest), global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest.Parser, new[]{ "UserStore", "UpdateMask" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + /// + /// Request message for + /// [UserStoreService.GetUserStore][google.cloud.discoveryengine.v1beta.UserStoreService.GetUserStore] + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GetUserStoreRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetUserStoreRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUserStoreRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUserStoreRequest(GetUserStoreRequest other) : this() { + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GetUserStoreRequest Clone() { + return new GetUserStoreRequest(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GetUserStoreRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GetUserStoreRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GetUserStoreRequest other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// Request message for + /// [UserStoreService.UpdateUserStore][google.cloud.discoveryengine.v1beta.UserStoreService.UpdateUserStore] + /// method. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UpdateUserStoreRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateUserStoreRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateUserStoreRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateUserStoreRequest(UpdateUserStoreRequest other) : this() { + userStore_ = other.userStore_ != null ? other.userStore_.Clone() : null; + updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UpdateUserStoreRequest Clone() { + return new UpdateUserStoreRequest(this); + } + + /// Field number for the "user_store" field. + public const int UserStoreFieldNumber = 1; + private global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore userStore_; + /// + /// Required. The User Store to update. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore UserStore { + get { return userStore_; } + set { + userStore_ = value; + } + } + + /// Field number for the "update_mask" field. + public const int UpdateMaskFieldNumber = 2; + private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; + /// + /// Optional. The list of fields to update. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { + get { return updateMask_; } + set { + updateMask_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UpdateUserStoreRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UpdateUserStoreRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(UserStore, other.UserStore)) return false; + if (!object.Equals(UpdateMask, other.UpdateMask)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (userStore_ != null) hash ^= UserStore.GetHashCode(); + if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (userStore_ != null) { + output.WriteRawTag(10); + output.WriteMessage(UserStore); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (userStore_ != null) { + output.WriteRawTag(10); + output.WriteMessage(UserStore); + } + if (updateMask_ != null) { + output.WriteRawTag(18); + output.WriteMessage(UpdateMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (userStore_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserStore); + } + if (updateMask_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UpdateUserStoreRequest other) { + if (other == null) { + return; + } + if (other.userStore_ != null) { + if (userStore_ == null) { + UserStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore(); + } + UserStore.MergeFrom(other.UserStore); + } + if (other.updateMask_ != null) { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + UpdateMask.MergeFrom(other.UpdateMask); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + if (userStore_ == null) { + UserStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore(); + } + input.ReadMessage(UserStore); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + if (userStore_ == null) { + UserStore = new global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore(); + } + input.ReadMessage(UserStore); + break; + } + case 18: { + if (updateMask_ == null) { + UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); + } + input.ReadMessage(UpdateMask); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceClient.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceClient.g.cs new file mode 100644 index 000000000000..98f998fe404f --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceClient.g.cs @@ -0,0 +1,552 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gax = Google.Api.Gax; +using gaxgrpc = Google.Api.Gax.Grpc; +using gcl = Google.Cloud.Location; +using grpccore = Grpc.Core; +using grpcinter = Grpc.Core.Interceptors; +using mel = Microsoft.Extensions.Logging; +using proto = Google.Protobuf; +using scg = System.Collections.Generic; +using sco = System.Collections.ObjectModel; +using st = System.Threading; +using stt = System.Threading.Tasks; +using sys = System; +using wkt = Google.Protobuf.WellKnownTypes; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + /// Settings for instances. + public sealed partial class UserStoreServiceSettings : gaxgrpc::ServiceSettingsBase + { + /// Get a new instance of the default . + /// A new instance of the default . + public static UserStoreServiceSettings GetDefault() => new UserStoreServiceSettings(); + + /// Constructs a new object with default settings. + public UserStoreServiceSettings() + { + } + + private UserStoreServiceSettings(UserStoreServiceSettings existing) : base(existing) + { + gax::GaxPreconditions.CheckNotNull(existing, nameof(existing)); + GetUserStoreSettings = existing.GetUserStoreSettings; + UpdateUserStoreSettings = existing.UpdateUserStoreSettings; + LocationsSettings = existing.LocationsSettings; + OnCopy(existing); + } + + partial void OnCopy(UserStoreServiceSettings existing); + + /// + /// for synchronous and asynchronous calls to + /// UserStoreServiceClient.GetUserStore and UserStoreServiceClient.GetUserStoreAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings GetUserStoreSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// for synchronous and asynchronous calls to + /// UserStoreServiceClient.UpdateUserStore and UserStoreServiceClient.UpdateUserStoreAsync. + /// + /// + /// + /// This call will not be retried. + /// No timeout is applied. + /// + /// + public gaxgrpc::CallSettings UpdateUserStoreSettings { get; set; } = gaxgrpc::CallSettings.FromExpiration(gax::Expiration.None); + + /// + /// The settings to use for the associated with the client. + /// + public gcl::LocationsSettings LocationsSettings { get; set; } = gcl::LocationsSettings.GetDefault(); + + /// Creates a deep clone of this object, with all the same property values. + /// A deep clone of this object. + public UserStoreServiceSettings Clone() => new UserStoreServiceSettings(this); + } + + /// + /// Builder class for to provide simple configuration of credentials, endpoint + /// etc. + /// + public sealed partial class UserStoreServiceClientBuilder : gaxgrpc::ClientBuilderBase + { + /// The settings to use for RPCs, or null for the default settings. + public UserStoreServiceSettings Settings { get; set; } + + /// Creates a new builder with default settings. + public UserStoreServiceClientBuilder() : base(UserStoreServiceClient.ServiceMetadata) + { + } + + partial void InterceptBuild(ref UserStoreServiceClient client); + + partial void InterceptBuildAsync(st::CancellationToken cancellationToken, ref stt::Task task); + + /// Builds the resulting client. + public override UserStoreServiceClient Build() + { + UserStoreServiceClient client = null; + InterceptBuild(ref client); + return client ?? BuildImpl(); + } + + /// Builds the resulting client asynchronously. + public override stt::Task BuildAsync(st::CancellationToken cancellationToken = default) + { + stt::Task task = null; + InterceptBuildAsync(cancellationToken, ref task); + return task ?? BuildAsyncImpl(cancellationToken); + } + + private UserStoreServiceClient BuildImpl() + { + Validate(); + grpccore::CallInvoker callInvoker = CreateCallInvoker(); + return UserStoreServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + private async stt::Task BuildAsyncImpl(st::CancellationToken cancellationToken) + { + Validate(); + grpccore::CallInvoker callInvoker = await CreateCallInvokerAsync(cancellationToken).ConfigureAwait(false); + return UserStoreServiceClient.Create(callInvoker, GetEffectiveSettings(Settings?.Clone()), Logger); + } + + /// Returns the channel pool to use when no other options are specified. + protected override gaxgrpc::ChannelPool GetChannelPool() => UserStoreServiceClient.ChannelPool; + } + + /// UserStoreService client wrapper, for convenient use. + /// + /// Service for managing User Stores. + /// + public abstract partial class UserStoreServiceClient + { + /// + /// The default endpoint for the UserStoreService service, which is a host of "discoveryengine.googleapis.com" + /// and a port of 443. + /// + public static string DefaultEndpoint { get; } = "discoveryengine.googleapis.com:443"; + + /// The default UserStoreService scopes. + /// + /// The default UserStoreService scopes are: + /// + /// https://www.googleapis.com/auth/cloud-platform + /// https://www.googleapis.com/auth/discoveryengine.readwrite + /// https://www.googleapis.com/auth/discoveryengine.serving.readwrite + /// + /// + public static scg::IReadOnlyList DefaultScopes { get; } = new sco::ReadOnlyCollection(new string[] + { + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite", + "https://www.googleapis.com/auth/discoveryengine.serving.readwrite", + }); + + /// The service metadata associated with this client type. + public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(UserStoreService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata); + + internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata); + + /// + /// Asynchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// + /// The to use while creating the client. + /// + /// The task representing the created . + public static stt::Task CreateAsync(st::CancellationToken cancellationToken = default) => + new UserStoreServiceClientBuilder().BuildAsync(cancellationToken); + + /// + /// Synchronously creates a using the default credentials, endpoint and + /// settings. To specify custom credentials or other settings, use . + /// + /// The created . + public static UserStoreServiceClient Create() => new UserStoreServiceClientBuilder().Build(); + + /// + /// Creates a which uses the specified call invoker for remote operations. + /// + /// + /// The for remote operations. Must not be null. + /// + /// Optional . + /// Optional . + /// The created . + internal static UserStoreServiceClient Create(grpccore::CallInvoker callInvoker, UserStoreServiceSettings settings = null, mel::ILogger logger = null) + { + gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker)); + grpcinter::Interceptor interceptor = settings?.Interceptor; + if (interceptor != null) + { + callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor); + } + UserStoreService.UserStoreServiceClient grpcClient = new UserStoreService.UserStoreServiceClient(callInvoker); + return new UserStoreServiceClientImpl(grpcClient, settings, logger); + } + + /// + /// Shuts down any channels automatically created by and + /// . Channels which weren't automatically created are not + /// affected. + /// + /// + /// After calling this method, further calls to and + /// will create new channels, which could in turn be shut down + /// by another call to this method. + /// + /// A task representing the asynchronous shutdown operation. + public static stt::Task ShutdownDefaultChannelsAsync() => ChannelPool.ShutdownChannelsAsync(); + + /// The underlying gRPC UserStoreService client + public virtual UserStoreService.UserStoreServiceClient GrpcClient => throw new sys::NotImplementedException(); + + /// The associated with this client. + public virtual gcl::LocationsClient LocationsClient => throw new sys::NotImplementedException(); + + /// + /// Gets the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual UserStore GetUserStore(GetUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetUserStoreAsync(GetUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Gets the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetUserStoreAsync(GetUserStoreRequest request, st::CancellationToken cancellationToken) => + GetUserStoreAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the User Store. + /// + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual UserStore GetUserStore(string name, gaxgrpc::CallSettings callSettings = null) => + GetUserStore(new GetUserStoreRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the User Store. + /// + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetUserStoreAsync(string name, gaxgrpc::CallSettings callSettings = null) => + GetUserStoreAsync(new GetUserStoreRequest + { + Name = gax::GaxPreconditions.CheckNotNullOrEmpty(name, nameof(name)), + }, callSettings); + + /// + /// Gets the User Store. + /// + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetUserStoreAsync(string name, st::CancellationToken cancellationToken) => + GetUserStoreAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Gets the User Store. + /// + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual UserStore GetUserStore(UserStoreName name, gaxgrpc::CallSettings callSettings = null) => + GetUserStore(new GetUserStoreRequest + { + UserStoreName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the User Store. + /// + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task GetUserStoreAsync(UserStoreName name, gaxgrpc::CallSettings callSettings = null) => + GetUserStoreAsync(new GetUserStoreRequest + { + UserStoreName = gax::GaxPreconditions.CheckNotNull(name, nameof(name)), + }, callSettings); + + /// + /// Gets the User Store. + /// + /// + /// Required. The name of the User Store to get. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task GetUserStoreAsync(UserStoreName name, st::CancellationToken cancellationToken) => + GetUserStoreAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual UserStore UpdateUserStore(UpdateUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateUserStoreAsync(UpdateUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) => + throw new sys::NotImplementedException(); + + /// + /// Updates the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateUserStoreAsync(UpdateUserStoreRequest request, st::CancellationToken cancellationToken) => + UpdateUserStoreAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// Updates the User Store. + /// + /// + /// Required. The User Store to update. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// + /// Optional. The list of fields to update. + /// + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public virtual UserStore UpdateUserStore(UserStore userStore, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateUserStore(new UpdateUserStoreRequest + { + UserStore = gax::GaxPreconditions.CheckNotNull(userStore, nameof(userStore)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates the User Store. + /// + /// + /// Required. The User Store to update. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// + /// Optional. The list of fields to update. + /// + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public virtual stt::Task UpdateUserStoreAsync(UserStore userStore, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) => + UpdateUserStoreAsync(new UpdateUserStoreRequest + { + UserStore = gax::GaxPreconditions.CheckNotNull(userStore, nameof(userStore)), + UpdateMask = updateMask, + }, callSettings); + + /// + /// Updates the User Store. + /// + /// + /// Required. The User Store to update. + /// Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + /// + /// Optional. The list of fields to update. + /// + /// A to use for this RPC. + /// A Task containing the RPC response. + public virtual stt::Task UpdateUserStoreAsync(UserStore userStore, wkt::FieldMask updateMask, st::CancellationToken cancellationToken) => + UpdateUserStoreAsync(userStore, updateMask, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + } + + /// UserStoreService client wrapper implementation, for convenient use. + /// + /// Service for managing User Stores. + /// + public sealed partial class UserStoreServiceClientImpl : UserStoreServiceClient + { + private readonly gaxgrpc::ApiCall _callGetUserStore; + + private readonly gaxgrpc::ApiCall _callUpdateUserStore; + + /// + /// Constructs a client wrapper for the UserStoreService service, with the specified gRPC client and settings. + /// + /// The underlying gRPC client. + /// The base used within this client. + /// Optional to use within this client. + public UserStoreServiceClientImpl(UserStoreService.UserStoreServiceClient grpcClient, UserStoreServiceSettings settings, mel::ILogger logger) + { + GrpcClient = grpcClient; + UserStoreServiceSettings effectiveSettings = settings ?? UserStoreServiceSettings.GetDefault(); + gaxgrpc::ClientHelper clientHelper = new gaxgrpc::ClientHelper(new gaxgrpc::ClientHelper.Options + { + Settings = effectiveSettings, + Logger = logger, + }); + LocationsClient = new gcl::LocationsClientImpl(grpcClient.CreateLocationsClient(), effectiveSettings.LocationsSettings, logger); + _callGetUserStore = clientHelper.BuildApiCall("GetUserStore", grpcClient.GetUserStoreAsync, grpcClient.GetUserStore, effectiveSettings.GetUserStoreSettings).WithGoogleRequestParam("name", request => request.Name); + Modify_ApiCall(ref _callGetUserStore); + Modify_GetUserStoreApiCall(ref _callGetUserStore); + _callUpdateUserStore = clientHelper.BuildApiCall("UpdateUserStore", grpcClient.UpdateUserStoreAsync, grpcClient.UpdateUserStore, effectiveSettings.UpdateUserStoreSettings).WithGoogleRequestParam("user_store.name", request => request.UserStore?.Name); + Modify_ApiCall(ref _callUpdateUserStore); + Modify_UpdateUserStoreApiCall(ref _callUpdateUserStore); + OnConstruction(grpcClient, effectiveSettings, clientHelper); + } + + partial void Modify_ApiCall(ref gaxgrpc::ApiCall call) where TRequest : class, proto::IMessage where TResponse : class, proto::IMessage; + + partial void Modify_GetUserStoreApiCall(ref gaxgrpc::ApiCall call); + + partial void Modify_UpdateUserStoreApiCall(ref gaxgrpc::ApiCall call); + + partial void OnConstruction(UserStoreService.UserStoreServiceClient grpcClient, UserStoreServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); + + /// The underlying gRPC UserStoreService client + public override UserStoreService.UserStoreServiceClient GrpcClient { get; } + + /// The associated with this client. + public override gcl::LocationsClient LocationsClient { get; } + + partial void Modify_GetUserStoreRequest(ref GetUserStoreRequest request, ref gaxgrpc::CallSettings settings); + + partial void Modify_UpdateUserStoreRequest(ref UpdateUserStoreRequest request, ref gaxgrpc::CallSettings settings); + + /// + /// Gets the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override UserStore GetUserStore(GetUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetUserStoreRequest(ref request, ref callSettings); + return _callGetUserStore.Sync(request, callSettings); + } + + /// + /// Gets the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task GetUserStoreAsync(GetUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_GetUserStoreRequest(ref request, ref callSettings); + return _callGetUserStore.Async(request, callSettings); + } + + /// + /// Updates the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// The RPC response. + public override UserStore UpdateUserStore(UpdateUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateUserStoreRequest(ref request, ref callSettings); + return _callUpdateUserStore.Sync(request, callSettings); + } + + /// + /// Updates the User Store. + /// + /// The request object containing all of the parameters for the API call. + /// If not null, applies overrides to this RPC call. + /// A Task containing the RPC response. + public override stt::Task UpdateUserStoreAsync(UpdateUserStoreRequest request, gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateUserStoreRequest(ref request, ref callSettings); + return _callUpdateUserStore.Async(request, callSettings); + } + } + + public static partial class UserStoreService + { + public partial class UserStoreServiceClient + { + /// + /// Creates a new instance of using the same call invoker as + /// this client. + /// + /// + /// A new for the same target as this client. + /// + public virtual gcl::Locations.LocationsClient CreateLocationsClient() => + new gcl::Locations.LocationsClient(CallInvoker); + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceGrpc.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceGrpc.g.cs new file mode 100644 index 000000000000..8cfc3d05a6cc --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceGrpc.g.cs @@ -0,0 +1,279 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/discoveryengine/v1beta/user_store_service.proto +// +// Original file comments: +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#pragma warning disable 0414, 1591, 8981, 0612 +#region Designer generated code + +using grpc = global::Grpc.Core; + +namespace Google.Cloud.DiscoveryEngine.V1Beta { + /// + /// Service for managing User Stores. + /// + public static partial class UserStoreService + { + static readonly string __ServiceName = "google.cloud.discoveryengine.v1beta.UserStoreService"; + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (message is global::Google.Protobuf.IBufferMessage) + { + context.SetPayloadLength(message.CalculateSize()); + global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); + context.Complete(); + return; + } + #endif + context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static class __Helper_MessageCache + { + public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage + { + #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION + if (__Helper_MessageCache.IsBufferMessage) + { + return parser.ParseFrom(context.PayloadAsReadOnlySequence()); + } + #endif + return parser.ParseFrom(context.PayloadAsNewBuffer()); + } + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_GetUserStoreRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UserStore = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_google_cloud_discoveryengine_v1beta_UpdateUserStoreRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest.Parser)); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_GetUserStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GetUserStore", + __Marshaller_google_cloud_discoveryengine_v1beta_GetUserStoreRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_UserStore); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_UpdateUserStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "UpdateUserStore", + __Marshaller_google_cloud_discoveryengine_v1beta_UpdateUserStoreRequest, + __Marshaller_google_cloud_discoveryengine_v1beta_UserStore); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Google.Cloud.DiscoveryEngine.V1Beta.UserStoreServiceReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of UserStoreService + [grpc::BindServiceMethod(typeof(UserStoreService), "BindService")] + public abstract partial class UserStoreServiceBase + { + /// + /// Gets the User Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GetUserStore(global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Updates the User Store. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task UpdateUserStore(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for UserStoreService + public partial class UserStoreServiceClient : grpc::ClientBase + { + /// Creates a new client for UserStoreService + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public UserStoreServiceClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for UserStoreService that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public UserStoreServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected UserStoreServiceClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected UserStoreServiceClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// Gets the User Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore GetUserStore(global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetUserStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the User Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore GetUserStore(global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GetUserStore, null, options, request); + } + /// + /// Gets the User Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetUserStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GetUserStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Gets the User Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GetUserStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.GetUserStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GetUserStore, null, options, request); + } + /// + /// Updates the User Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore UpdateUserStore(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateUserStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates the User Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Google.Cloud.DiscoveryEngine.V1Beta.UserStore UpdateUserStore(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_UpdateUserStore, null, options, request); + } + /// + /// Updates the User Store. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateUserStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return UpdateUserStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Updates the User Store. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall UpdateUserStoreAsync(global::Google.Cloud.DiscoveryEngine.V1Beta.UpdateUserStoreRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_UpdateUserStore, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override UserStoreServiceClient NewInstance(ClientBaseConfiguration configuration) + { + return new UserStoreServiceClient(configuration); + } + } + + /// Creates service definition that can be registered with a server + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static grpc::ServerServiceDefinition BindService(UserStoreServiceBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_GetUserStore, serviceImpl.GetUserStore) + .AddMethod(__Method_UpdateUserStore, serviceImpl.UpdateUserStore).Build(); + } + + /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. + /// Note: this method is part of an experimental API that can change or be removed without any prior notice. + /// Service methods will be bound by calling AddMethod on this object. + /// An object implementing the server-side handling logic. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public static void BindService(grpc::ServiceBinderBase serviceBinder, UserStoreServiceBase serviceImpl) + { + serviceBinder.AddMethod(__Method_GetUserStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetUserStore)); + serviceBinder.AddMethod(__Method_UpdateUserStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UpdateUserStore)); + } + + } +} +#endregion diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceResourceNames.g.cs b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceResourceNames.g.cs new file mode 100644 index 000000000000..97b5e8cfd958 --- /dev/null +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/Google.Cloud.DiscoveryEngine.V1Beta/UserStoreServiceResourceNames.g.cs @@ -0,0 +1,33 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +#pragma warning disable CS8981 +using gcdv = Google.Cloud.DiscoveryEngine.V1Beta; + +namespace Google.Cloud.DiscoveryEngine.V1Beta +{ + public partial class GetUserStoreRequest + { + /// + /// -typed view over the resource name property. + /// + public gcdv::UserStoreName UserStoreName + { + get => string.IsNullOrEmpty(Name) ? null : gcdv::UserStoreName.Parse(Name, allowUnparsed: true); + set => Name = value?.ToString() ?? ""; + } + } +} diff --git a/apis/Google.Cloud.DiscoveryEngine.V1Beta/gapic_metadata.json b/apis/Google.Cloud.DiscoveryEngine.V1Beta/gapic_metadata.json index 33562ddd804c..4c7e62ec9934 100644 --- a/apis/Google.Cloud.DiscoveryEngine.V1Beta/gapic_metadata.json +++ b/apis/Google.Cloud.DiscoveryEngine.V1Beta/gapic_metadata.json @@ -5,6 +5,105 @@ "protoPackage": "google.cloud.discoveryengine.v1beta", "libraryPackage": "Google.Cloud.DiscoveryEngine.V1Beta", "services": { + "AclConfigService": { + "clients": { + "grpc": { + "libraryClient": "AclConfigServiceClient", + "rpcs": { + "GetAclConfig": { + "methods": [ + "GetAclConfig", + "GetAclConfigAsync" + ] + }, + "UpdateAclConfig": { + "methods": [ + "UpdateAclConfig", + "UpdateAclConfigAsync" + ] + } + } + } + } + }, + "AssistantService": { + "clients": { + "grpc": { + "libraryClient": "AssistantServiceClient", + "rpcs": { + "CreateAssistant": { + "methods": [ + "CreateAssistant", + "CreateAssistantAsync" + ] + }, + "DeleteAssistant": { + "methods": [ + "DeleteAssistant", + "DeleteAssistantAsync" + ] + }, + "GetAssistant": { + "methods": [ + "GetAssistant", + "GetAssistantAsync" + ] + }, + "ListAssistants": { + "methods": [ + "ListAssistants", + "ListAssistantsAsync" + ] + }, + "StreamAssist": { + "methods": [ + "StreamAssist", + "StreamAssistAsync" + ] + }, + "UpdateAssistant": { + "methods": [ + "UpdateAssistant", + "UpdateAssistantAsync" + ] + } + } + } + } + }, + "CmekConfigService": { + "clients": { + "grpc": { + "libraryClient": "CmekConfigServiceClient", + "rpcs": { + "DeleteCmekConfig": { + "methods": [ + "DeleteCmekConfig", + "DeleteCmekConfigAsync" + ] + }, + "GetCmekConfig": { + "methods": [ + "GetCmekConfig", + "GetCmekConfigAsync" + ] + }, + "ListCmekConfigs": { + "methods": [ + "ListCmekConfigs", + "ListCmekConfigsAsync" + ] + }, + "UpdateCmekConfig": { + "methods": [ + "UpdateCmekConfig", + "UpdateCmekConfigAsync" + ] + } + } + } + } + }, "CompletionService": { "clients": { "grpc": { @@ -45,6 +144,12 @@ "PurgeSuggestionDenyListEntries", "PurgeSuggestionDenyListEntriesAsync" ] + }, + "RemoveSuggestion": { + "methods": [ + "RemoveSuggestion", + "RemoveSuggestionAsync" + ] } } } @@ -160,6 +265,12 @@ "ListSessionsAsync" ] }, + "StreamAnswerQuery": { + "methods": [ + "StreamAnswerQuery", + "StreamAnswerQueryAsync" + ] + }, "UpdateConversation": { "methods": [ "UpdateConversation", @@ -295,6 +406,12 @@ "GetEngineAsync" ] }, + "GetIamPolicy": { + "methods": [ + "GetIamPolicy", + "GetIamPolicyAsync" + ] + }, "ListEngines": { "methods": [ "ListEngines", @@ -313,6 +430,12 @@ "ResumeEngineAsync" ] }, + "SetIamPolicy": { + "methods": [ + "SetIamPolicy", + "SetIamPolicyAsync" + ] + }, "TuneEngine": { "methods": [ "TuneEngine", @@ -389,6 +512,102 @@ } } }, + "IdentityMappingStoreService": { + "clients": { + "grpc": { + "libraryClient": "IdentityMappingStoreServiceClient", + "rpcs": { + "CreateIdentityMappingStore": { + "methods": [ + "CreateIdentityMappingStore", + "CreateIdentityMappingStoreAsync" + ] + }, + "DeleteIdentityMappingStore": { + "methods": [ + "DeleteIdentityMappingStore", + "DeleteIdentityMappingStoreAsync" + ] + }, + "GetIdentityMappingStore": { + "methods": [ + "GetIdentityMappingStore", + "GetIdentityMappingStoreAsync" + ] + }, + "ImportIdentityMappings": { + "methods": [ + "ImportIdentityMappings", + "ImportIdentityMappingsAsync" + ] + }, + "ListIdentityMappingStores": { + "methods": [ + "ListIdentityMappingStores", + "ListIdentityMappingStoresAsync" + ] + }, + "ListIdentityMappings": { + "methods": [ + "ListIdentityMappings", + "ListIdentityMappingsAsync" + ] + }, + "PurgeIdentityMappings": { + "methods": [ + "PurgeIdentityMappings", + "PurgeIdentityMappingsAsync" + ] + } + } + } + } + }, + "LicenseConfigService": { + "clients": { + "grpc": { + "libraryClient": "LicenseConfigServiceClient", + "rpcs": { + "CreateLicenseConfig": { + "methods": [ + "CreateLicenseConfig", + "CreateLicenseConfigAsync" + ] + }, + "DistributeLicenseConfig": { + "methods": [ + "DistributeLicenseConfig", + "DistributeLicenseConfigAsync" + ] + }, + "GetLicenseConfig": { + "methods": [ + "GetLicenseConfig", + "GetLicenseConfigAsync" + ] + }, + "ListLicenseConfigs": { + "methods": [ + "ListLicenseConfigs", + "ListLicenseConfigsAsync" + ] + }, + "RetractLicenseConfig": { + "methods": [ + "RetractLicenseConfig", + "RetractLicenseConfigAsync" + ] + }, + "UpdateLicenseConfig": { + "methods": [ + "UpdateLicenseConfig", + "UpdateLicenseConfigAsync" + ] + } + } + } + } + }, "ProjectService": { "clients": { "grpc": { @@ -604,6 +823,18 @@ "grpc": { "libraryClient": "ServingConfigServiceClient", "rpcs": { + "CreateServingConfig": { + "methods": [ + "CreateServingConfig", + "CreateServingConfigAsync" + ] + }, + "DeleteServingConfig": { + "methods": [ + "DeleteServingConfig", + "DeleteServingConfigAsync" + ] + }, "GetServingConfig": { "methods": [ "GetServingConfig", @@ -796,6 +1027,54 @@ } } } + }, + "UserLicenseService": { + "clients": { + "grpc": { + "libraryClient": "UserLicenseServiceClient", + "rpcs": { + "BatchUpdateUserLicenses": { + "methods": [ + "BatchUpdateUserLicenses", + "BatchUpdateUserLicensesAsync" + ] + }, + "ListLicenseConfigsUsageStats": { + "methods": [ + "ListLicenseConfigsUsageStats", + "ListLicenseConfigsUsageStatsAsync" + ] + }, + "ListUserLicenses": { + "methods": [ + "ListUserLicenses", + "ListUserLicensesAsync" + ] + } + } + } + } + }, + "UserStoreService": { + "clients": { + "grpc": { + "libraryClient": "UserStoreServiceClient", + "rpcs": { + "GetUserStore": { + "methods": [ + "GetUserStore", + "GetUserStoreAsync" + ] + }, + "UpdateUserStore": { + "methods": [ + "UpdateUserStore", + "UpdateUserStoreAsync" + ] + } + } + } + } } } } diff --git a/generator-input/pipeline-state.json b/generator-input/pipeline-state.json index f7a97f1668d7..59ee4c5b6f9a 100644 --- a/generator-input/pipeline-state.json +++ b/generator-input/pipeline-state.json @@ -1447,7 +1447,7 @@ "generationAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseTimestamp": "2026-04-13T15:46:05.863686389Z", - "lastGeneratedCommit": "f01ba6bda9ef3a45069a699767ee7dc46f30028a", + "lastGeneratedCommit": "f054d2af61fffbfab799c6737315ceb613a80f2c", "lastReleasedCommit": "f01ba6bda9ef3a45069a699767ee7dc46f30028a", "apiPaths": [ "google/cloud/discoveryengine/v1beta" From c9fd9c79e7db99117dfaaf60af34e8fd0c908032 Mon Sep 17 00:00:00 2001 From: Google Cloud SDK Librarian Date: Mon, 29 Jun 2026 07:13:32 +0000 Subject: [PATCH 5/5] regen: Regenerate Google.Cloud.Dataform.V1 at API commit 1a9328c feat: Add Developer Connect integration for Git repository authentication feat: Add effective default branch field for repositories docs: Clarify field usage guidelines and default values in API reference documentation PiperOrigin-RevId: 939094745 Source-Link: https://github.com/googleapis/googleapis/commit/1a9328c67ef6e1d7997e9a19feef7d18c242ebd8 --- .../Google.Cloud.Dataform.V1/Dataform.g.cs | 2250 +++++++++-------- .../DataformClient.g.cs | 24 +- .../DataformResourceNames.g.cs | 559 ++++ generator-input/pipeline-state.json | 2 +- 4 files changed, 1757 insertions(+), 1078 deletions(-) diff --git a/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/Dataform.g.cs b/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/Dataform.g.cs index 05c0b059186e..df9d2987da3d 100644 --- a/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/Dataform.g.cs +++ b/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/Dataform.g.cs @@ -35,7 +35,7 @@ static DataformReflection() { "dGltZXN0YW1wLnByb3RvGhdnb29nbGUvcnB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AyABKAlCA+BBARIWCglw", - "YWdlX3NpemUYBCABKAVCA+BBARIXCgpwYWdlX3Rva2VuGAUgASgJQgPgQQEi", - "iAEKKFF1ZXJ5UmVwb3NpdG9yeURpcmVjdG9yeUNvbnRlbnRzUmVzcG9uc2US", - "QwoRZGlyZWN0b3J5X2VudHJpZXMYASADKAsyKC5nb29nbGUuY2xvdWQuZGF0", - "YWZvcm0udjEuRGlyZWN0b3J5RW50cnkSFwoPbmV4dF9wYWdlX3Rva2VuGAIg", - "ASgJIooBCh1GZXRjaFJlcG9zaXRvcnlIaXN0b3J5UmVxdWVzdBI4CgRuYW1l", - "GAEgASgJQirgQQL6QSQKImRhdGFmb3JtLmdvb2dsZWFwaXMuY29tL1JlcG9z", - "aXRvcnkSFgoJcGFnZV9zaXplGAIgASgFQgPgQQESFwoKcGFnZV90b2tlbhgF", - "IAEoCUID4EEBInQKHkZldGNoUmVwb3NpdG9yeUhpc3RvcnlSZXNwb25zZRI5", - "Cgdjb21taXRzGAEgAygLMiguZ29vZ2xlLmNsb3VkLmRhdGFmb3JtLnYxLkNv", - "bW1pdExvZ0VudHJ5EhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSKlAQoOQ29t", - "bWl0TG9nRW50cnkSLwoLY29tbWl0X3RpbWUYASABKAsyGi5nb29nbGUucHJv", - "dG9idWYuVGltZXN0YW1wEhIKCmNvbW1pdF9zaGEYAiABKAkSNgoGYXV0aG9y", - "GAMgASgLMiYuZ29vZ2xlLmNsb3VkLmRhdGFmb3JtLnYxLkNvbW1pdEF1dGhv", - "chIWCg5jb21taXRfbWVzc2FnZRgEIAEoCSJqCg5Db21taXRNZXRhZGF0YRI7", - "CgZhdXRob3IYASABKAsyJi5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEuQ29t", - "bWl0QXV0aG9yQgPgQQISGwoOY29tbWl0X21lc3NhZ2UYAiABKAlCA+BBASJl", - "CilDb21wdXRlUmVwb3NpdG9yeUFjY2Vzc1Rva2VuU3RhdHVz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2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L3JlcG9z", - "aXRvcmllcy97cmVwb3NpdG9yeX0vY29tcGlsYXRpb25SZXN1bHRzL3tjb21w", - "aWxhdGlvbl9yZXN1bHR9KhJjb21waWxhdGlvblJlc3VsdHMyEWNvbXBpbGF0", - "aW9uUmVzdWx0QggKBnNvdXJjZUIUChJfaW50ZXJuYWxfbWV0YWRhdGEi7gMK", - "FUNvZGVDb21waWxhdGlvbkNvbmZpZxIdChBkZWZhdWx0X2RhdGFiYXNlGAEg", - "ASgJQgPgQQESGwoOZGVmYXVsdF9zY2hlbWEYAiABKAlCA+BBARIdChBkZWZh", - "dWx0X2xvY2F0aW9uGAggASgJQgPgQQESHQoQYXNzZXJ0aW9uX3NjaGVtYRgD", - "IAEoCUID4EEBEkwKBHZhcnMYBCADKAsyOS5nb29nbGUuY2xvdWQuZGF0YWZv", - "cm0udjEuQ29kZUNvbXBpbGF0aW9uQ29uZmlnLlZhcnNFbnRyeUID4EEBEhwK", - "D2RhdGFiYXNlX3N1ZmZpeBgFIAEoCUID4EEBEhoKDXNjaGVtYV9zdWZmaXgY", - "BiABKAlCA+BBARIZCgx0YWJsZV9wcmVmaXgYByABKAlCA+BBARIqCh1idWls", - "dGluX2Fzc2VydGlvbl9uYW1lX3ByZWZpeBgKIAEoCUID4EEBEl8KIGRlZmF1", - "bHRfbm90ZWJvb2tfcnVudGltZV9vcHRpb25zGAkgASgLMjAuZ29vZ2xlLmNs", - "b3VkLmRhdGFmb3JtLnYxLk5vdGVib29rUnVudGltZU9wdGlvbnNCA+BBARor", - "CglWYXJzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASK2", - "AQoWTm90ZWJvb2tSdW50aW1lT3B0aW9ucxIgChFnY3Nfb3V0cHV0X2J1Y2tl", - "dBgBIAEoCUID4EEBSAASaAolYWlfcGxhdGZvcm1fbm90ZWJvb2tfcnVudGlt", - "ZV90ZW1wbGF0ZRgCIAEoCU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OrIB6kGuAQomZGF0YWZvcm0uZ29vZ2xlYXBpcy5jb20vV29ya2Zs", - "b3dDb25maWcSY3Byb2plY3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0", - "aW9ufS9yZXBvc2l0b3JpZXMve3JlcG9zaXRvcnl9L3dvcmtmbG93Q29uZmln", - "cy97d29ya2Zsb3dfY29uZmlnfSoPd29ya2Zsb3dDb25maWdzMg53b3JrZmxv", - "d0NvbmZpZ0IUChJfaW50ZXJuYWxfbWV0YWRhdGEi3AMKEEludm9jYXRpb25D", - "b25maWcSPwoQaW5jbHVkZWRfdGFyZ2V0cxgBIAMoCzIgLmdvb2dsZS5jbG91", - "ZC5kYXRhZm9ybS52MS5UYXJnZXRCA+BBARIaCg1pbmNsdWRlZF90YWdzGAIg", - "AygJQgPgQQESLQogdHJhbnNpdGl2ZV9kZXBlbmRlbmNpZXNfaW5jbHVkZWQY", - "AyABKAhCA+BBARIrCh50cmFuc2l0aXZlX2RlcGVuZGVudHNfaW5jbHVkZWQY", - "BCABKAhCA+BBARI1CihmdWxseV9yZWZyZXNoX2luY3JlbWVudGFsX3RhYmxl", - "c19lbmFibGVkGAUgASgIQgPgQQESHAoPc2VydmljZV9hY2NvdW50GAYgASgJ", - "QgPgQQESWgoOcXVlcnlfcHJpb3JpdHkYCSABKA4yOC5nb29nbGUuY2xvdWQu", - "ZGF0YWZvcm0udjEuSW52b2NhdGlvbkNvbmZpZy5RdWVyeVByaW9yaXR5QgPg", - "QQFIAIgBASJLCg1RdWVyeVByaW9yaXR5Eh4KGlFVRVJZX1BSSU9SSVRZX1VO", - "U1BFQ0lGSUVEEAASDwoLSU5URVJBQ1RJVkUQARIJCgVCQVRDSBACQhEKD19x", - "dWVyeV9wcmlvcml0eSKJAQoaTGlzdFdvcmtmbG93Q29uZmlnc1JlcXVlc3QS", - "OgoGcGFyZW50GAEgASgJQirgQQL6QSQKImRhdGFmb3JtLmdvb2dsZWFwaXMu", - "Y29tL1JlcG9zaXRv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9ucy97d29ya2Zsb3dfaW52b2NhdGlvbn0q", - "E3dvcmtmbG93SW52b2NhdGlvbnMyEndvcmtmbG93SW52b2NhdGlvbkIUChJj", - "b21waWxhdGlvbl9zb3VyY2VCFAoSX2ludGVybmFsX21ldGFkYXRhIrkBCh5M", - "aXN0V29ya2Zsb3dJbnZvY2F0aW9uc1JlcXVlc3QSOgoGcGFyZW50GAEgASgJ", - "QirgQQL6QSQKImRhdGFmb3JtLmdvb2dsZWFwaXMuY29tL1JlcG9zaXRvcnkS", - "FgoJcGFnZV9zaXplGAIgASgFQgPgQQESFwoKcGFnZV90b2tlbhgDIAEoCUID", - "4EEBEhUKCG9yZGVyX2J5GAQgASgJQgPgQQESEwoGZmlsdGVyGAUgASgJQgPg", - "QQEimwEKH0xpc3RXb3JrZmxvd0ludm9jYXRpb25zUmVzcG9uc2USSgoUd29y", - "a2Zsb3dfaW52b2NhdGlvbnMYASADKAsyLC5nb29nbGUuY2xvdWQuZGF0YWZv", - "cm0udjEuV29ya2Zsb3dJbnZvY2F0aW9uEhcKD25leHRfcGFnZV90b2tlbhgC", - "IAEoCRITCgt1bnJlYWNoYWJsZRgDIAMoCSJgChxHZXRXb3JrZmxvd0ludm9j", - "YXRpb25SZXF1ZXN0EkAKBG5hbWUYASABKAlCMuBBAvpBLAoqZGF0YWZvcm0u", - "Z29vZ2xlYXBpcy5jb20vV29ya2Zsb3dJbnZvY2F0aW9uIq0BCh9DcmVhdGVX", - "b3JrZmxvd0ludm9jYXRpb25SZXF1ZXN0EjoKBnBhcmVudBgBIAEoCUIq4EEC", - "+kEkCiJkYXRhZm9ybS5nb29nbGVhcGlzLmNvbS9SZXBvc2l0b3J5Ek4KE3dv", - "cmtmbG93X2ludm9jYXRpb24YAiABKAsyLC5nb29nbGUuY2xvdWQuZGF0YWZv", - "cm0udjEuV29ya2Zsb3dJbnZvY2F0aW9uQgPgQQIiYwofRGVsZXRlV29ya2Zs", - "b3dJbnZvY2F0aW9uUmVxdWVzdBJACgR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YgAygLMjwuZ29vZ2xlLmNs", + "b3VkLmRhdGFmb3JtLnYxLkNvbXBpbGF0aW9uUmVzdWx0LkNvbXBpbGF0aW9u", + "RXJyb3JCA+BBAxJRChVkYXRhX2VuY3J5cHRpb25fc3RhdGUYCSABKAsyLS5n", + "b29nbGUuY2xvdWQuZGF0YWZvcm0udjEuRGF0YUVuY3J5cHRpb25TdGF0ZUID", + "4EEDEjQKC2NyZWF0ZV90aW1lGAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRp", + "bWVzdGFtcEID4EEDEiMKEWludGVybmFsX21ldGFkYXRhGAsgASgJQgPgQQNI", + "AYgBARJZChlwcml2YXRlX3Jlc291cmNlX21ldGFkYXRhGAwgASgLMjEuZ29v", + "Z2xlLmNsb3VkLmRhdGFmb3JtLnYxLlByaXZhdGVSZXNvdXJjZU1ldGFkYXRh", + "QgPgQQMajQEKEENvbXBpbGF0aW9uRXJyb3ISFAoHbWVzc2FnZRgBIAEoCUID", + "4EEDEhIKBXN0YWNrGAIgASgJQgPgQQMSEQoEcGF0aBgDIAEoCUID4EEDEjwK", + "DWFjdGlvbl90YXJnZXQYBCABKAsyIC5nb29nbGUuY2xvdWQuZGF0YWZvcm0u", + "djEuVGFyZ2V0QgPgQQM6wQHqQb0BCilkYXRhZm9ybS5nb29nbGVhcGlzLmNv", + "bS9Db21waWxhdGlvblJlc3VsdBJpcHJvamVjdHMve3Byb2plY3R9L2xvY2F0", + "aW9ucy97bG9jYXRpb259L3JlcG9zaXRvcmllcy97cmVwb3NpdG9yeX0vY29t", + "cGlsYXRpb25SZXN1bHRzL3tjb21waWxhdGlvbl9yZXN1bHR9KhJjb21waWxh", + "dGlvblJlc3VsdHMyEWNvbXBpbGF0aW9uUmVzdWx0QggKBnNvdXJjZUIUChJf", + "aW50ZXJuYWxfbWV0YWRhdGEi7gMKFUNvZGVDb21waWxhdGlvbkNvbmZpZxId", + "ChBkZWZhdWx0X2RhdGFiYXNlGAEgASgJQgPgQQESGwoOZGV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xlYXBpcy5jb20vTG9jYXRpb24SFgoJcGFnZV9zaXplGAIgASgFQgPg", + "QQESFwoKcGFnZV90b2tlbhgDIAEoCUID4EEBEhUKCG9yZGVyX2J5GAQgASgJ", + "QgPgQQESEwoGZmlsdGVyGAUgASgJQgPgQQEiowIKHVF1ZXJ5VXNlclJvb3RD", + "b250ZW50c1Jlc3BvbnNlEloKB2VudHJpZXMYASADKAsySS5nb29nbGUuY2xv", + "dWQuZGF0YWZvcm0udjEuUXVlcnlVc2VyUm9vdENvbnRlbnRzUmVzcG9uc2Uu", + "Um9vdENvbnRlbnRzRW50cnkSFwoPbmV4dF9wYWdlX3Rva2VuGAIgASgJGowB", + "ChFSb290Q29udGVudHNFbnRyeRIyCgZmb2xkZXIYASABKAsyIC5nb29nbGUu", + "Y2xvdWQuZGF0YWZvcm0udjEuRm9sZGVySAASOgoKcmVwb3NpdG9yeRgCIAEo", + "CzIkLmdvb2dsZS5jbG91ZC5kYXRhZm9ybS52MS5SZXBvc2l0b3J5SABCBwoF", + "ZW50cnkiqwMKClRlYW1Gb2xkZXISEQoEbmFtZRgBIAEoCUID4EEIEhkKDGRp", + "c3BsYXlfbmFtZRgCIAEoCUID4EECEjQKC2NyZWF0ZV90aW1lGAMgASgLMhou", + "Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEjQKC3VwZGF0ZV90aW1l", + "GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDEiMKEWlu", + "dGVybmFsX21ldGFkYXRhGAUgASgJQgPgQQNIAIgBARInChVjcmVhdG9yX2lh", + "bV9wcmluY2lwYWwYBiABKAlCA+BBA0gBiAEBOoQB6kGAAQoiZGF0YWZvcm0u", + "Z29vZ2xlYXBpcy5jb20vVGVhbUZvbGRlchJBcHJvamVjdHMve3Byb2plY3R9", + "L2xvY2F0aW9ucy97bG9jYXRpb259L3RlYW1Gb2xkZXJzL3t0ZWFtX2ZvbGRl", + "cn0qC3RlYW1G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21waWxhdGlvblJlc3VsdFJlcXVl", - "c3QaKy5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEuQ29tcGlsYXRpb25SZXN1", - "bHQifdpBGXBhcmVudCxjb21waWxhdGlvbl9yZXN1bHSC0+STAlsiRS92MS97", - "cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyovcmVwb3NpdG9yaWVzLyp9", - "L2NvbXBpbGF0aW9uUmVzdWx0czoSY29tcGlsYXRpb25fcmVzdWx0EvUBCh1R", - "dWVyeUNvbXBpbGF0aW9uUmVzdWx0QWN0aW9ucxI+Lmdvb2dsZS5jbG91ZC5k", - "YXRhZm9ybS52MS5RdWVyeUNvbXBpbGF0aW9uUmVzdWx0QWN0aW9uc1JlcXVl", - "c3QaPy5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEuUXVlcnlDb21waWxhdGlv", - "blJlc3VsdEFjdGlvbnNSZXNwb25zZSJTgtPkkwJNEksvdjEve25hbWU9cHJv", - "amVjdHMvKi9sb2NhdGlvbnMvKi9yZXBvc2l0b3JpZXMvKi9jb21waWxhdGlv", - "blJlc3VsdHMvKn06cXVlcnkS1wEKE0xpc3RXb3JrZmxvd0NvbmZpZ3MSNC5n", - "b29nbGUuY2xvdWQuZGF0YWZvcm0udjEuTGlzdFdvcmtmbG93Q29uZmlnc1Jl", - "cXVlc3QaNS5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEuTGlzdFdvcmtmbG93", - "Q29uZmlnc1Jlc3BvbnNlIlPaQQZwYXJlbnSC0+STAkQSQi92MS97cGFyZW50", - "PXByb2plY3RzLyovbG9jYXRpb25zLyovcmVwb3NpdG9yaWVzLyp9L3dvcmtm", - "bG93Q29uZmlncxLEAQoRR2V0V29ya2Zsb3dDb25maWcSMi5nb29nbGUuY2xv", - "dWQuZGF0YWZvcm0udjEuR2V0V29ya2Zsb3dDb25maWdSZXF1ZXN0GiguZ29v", - "Z2xlLmNsb3VkLmRhdGFmb3JtLnYxLldvcmtmbG93Q29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LmNsb3VkLmRhdGFmb3JtLnYxLkNvbmZpZyI32kEEbmFtZYLT5JMCKhIo", - "L3YxL3tuYW1lPXByb2plY3RzLyovbG9jYXRpb25zLyovY29uZmlnfRK1AQoM", - "VXBkYXRlQ29uZmlnEi0uZ29vZ2xlLmNsb3VkLmRhdGFmb3JtLnYxLlVwZGF0", - "ZUNvbmZpZ1JlcXVlc3QaIC5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEuQ29u", - "ZmlnIlTaQRJjb25maWcsdXBkYXRlX21hc2uC0+STAjkyLy92MS97Y29uZmln", - "Lm5hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9jb25maWd9OgZjb25maWcS", - "9wIKDEdldElhbVBvbGljeRIiLmdvb2dsZS5pYW0udjEuR2V0SWFtUG9saWN5", - "UmVxdWVzdBoVLmdvb2dsZS5pYW0udjEuUG9saWN5IqsC2kEIcmVzb3VyY2WC", - "0+STApkCEkEvdjEve3Jlc291cmNlPXByb2plY3RzLyovbG9jYXRpb25zLyov", - "cmVwb3NpdG9yaWVzLyp9OmdldElhbVBvbGljeVpQEk4vdjEve3Jlc291cmNl", - "PXByb2plY3RzLyovbG9jYXRpb25zLyovcmVwb3NpdG9yaWVzLyovd29ya3Nw", - "YWNlcy8qfTpnZXRJYW1Qb2xpY3laPhI8L3YxL3tyZXNvdXJjZT1wcm9qZWN0", - "cy8qL2xvY2F0aW9ucy8qL2ZvbGRlcnMvKn06Z2V0SWFtUG9saWN5WkISQC92", - "MS97cmVzb3VyY2U9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi90ZWFtRm9sZGVy", - "cy8qfTpnZXRJYW1Qb2xpY3kS+AIKDFNldElhbVBvbGljeRIiLmdvb2dsZS5p", - "YW0udjEuU2V0SWFtUG9saWN5UmVxdWVzdBoVLmdvb2dsZS5pYW0udjEuUG9s", - "aWN5IqwCgtPkkwKlAiJBL3YxL3tyZXNvdXJjZT1wcm9qZWN0cy8qL2xvY2F0", - "aW9ucy8qL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blJlc3VsdFJlcXVlc3QaKy5nb29nbGUuY2xvdWQuZGF0YWZv", + "cm0udjEuQ29tcGlsYXRpb25SZXN1bHQifdpBGXBhcmVudCxjb21waWxhdGlv", + "bl9yZXN1bHSC0+STAlsiRS92MS97cGFyZW50PXByb2plY3RzLyovbG9jYXRp", + "b25zLyovcmVwb3NpdG9yaWVzLyp9L2NvbXBpbGF0aW9uUmVzdWx0czoSY29t", + "cGlsYXRpb25fcmVzdWx0EvUBCh1RdWVyeUNvbXBpbGF0aW9uUmVzdWx0QWN0", + "aW9ucxI+Lmdvb2dsZS5jbG91ZC5kYXRhZm9ybS52MS5RdWVyeUNvbXBpbGF0", + "aW9uUmVzdWx0QWN0aW9uc1JlcXVlc3QaPy5nb29nbGUuY2xvdWQuZGF0YWZv", + "cm0udjEuUXVlcnlDb21waWxhdGlvblJlc3VsdEFjdGlvbnNSZXNwb25zZSJT", + "gtPkkwJNEksvdjEve25hbWU9cHJvamVjdHMvKi9sb2NhdGlvbnMvKi9yZXBv", + "c2l0b3JpZXMvKi9jb21waWxhdGlvblJlc3VsdHMvKn06cXVlcnkS1wEKE0xp", + "c3RXb3JrZmxvd0NvbmZpZ3MSNC5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEu", + "TGlzdFdvcmtmbG93Q29uZmlnc1JlcXVlc3QaNS5nb29nbGUuY2xvdWQuZGF0", + "YWZvcm0udjEuTGlzdFdvcmtmbG93Q29uZmlnc1Jlc3BvbnNlIlPaQQZwYXJl", + "bnSC0+STAkQSQi92MS97cGFyZW50PXByb2plY3RzLyovbG9jYXRpb25zLyov", + "cmVwb3NpdG9yaWVzLyp9L3dvcmtmbG93Q29uZmlncxLEAQoRR2V0V29ya2Zs", + "b3dDb25maWcSMi5nb29nbGUuY2xvdWQuZGF0YWZvcm0udjEuR2V0V29ya2Zs", + "b3dDb25maWdSZXF1ZXN0GiguZ29vZ2xlLmNsb3VkLmRhdGFmb3JtLnYxLldv", + "cmtmbG93Q29uZmlnIlHaQ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xpbmsSWXByb2plY3Rz", + "L3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9lbnRyeUdyb3Vwcy97", + "ZW50cnlfZ3JvdXB9L2VudHJ5TGlua3Mve2VudHJ5X2xpbmt96kGeAQoxZGV2", + "ZWxvcGVyY29ubmVjdC5nb29nbGVhcGlzLmNvbS9HaXRSZXBvc2l0b3J5TGlu", + "axJpcHJvamVjdHMve3Byb2plY3R9L2xvY2F0aW9ucy97bG9jYXRpb259L2Nv", + "bm5lY3Rpb25zL3tjb25uZWN0aW9ufS9naXRSZXBvc2l0b3J5TGlua3Mve2dp", + "dF9yZXBvc2l0b3J5X2xpbmt9YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.ClientReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.Iam.V1.IamPolicyReflection.Descriptor, global::Google.Cloud.Iam.V1.PolicyReflection.Descriptor, global::Google.LongRunning.OperationsReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Rpc.StatusReflection.Descriptor, global::Google.Type.IntervalReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.Dataform.V1.DirectoryContentsView), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.DataEncryptionState), global::Google.Cloud.Dataform.V1.DataEncryptionState.Parser, new[]{ "KmsKeyVersionName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository), global::Google.Cloud.Dataform.V1.Repository.Parser, new[]{ "Name", "ContainingFolder", "TeamFolderName", "CreateTime", "DisplayName", "GitRemoteSettings", "NpmrcEnvironmentVariablesSecretVersion", "WorkspaceCompilationOverrides", "Labels", "SetAuthenticatedUserAdmin", "ServiceAccount", "KmsKeyName", "DataEncryptionState", "InternalMetadata" }, new[]{ "ContainingFolder", "TeamFolderName", "InternalMetadata" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings), global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Parser, new[]{ "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "SshAuthenticationConfig", "TokenStatus" }, null, new[]{ typeof(global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.SshAuthenticationConfig), global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.SshAuthenticationConfig.Parser, new[]{ "UserPrivateKeySecretVersion", "HostPublicKey" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository), global::Google.Cloud.Dataform.V1.Repository.Parser, new[]{ "Name", "ContainingFolder", "TeamFolderName", "CreateTime", "DisplayName", "GitRemoteSettings", "NpmrcEnvironmentVariablesSecretVersion", "WorkspaceCompilationOverrides", "Labels", "SetAuthenticatedUserAdmin", "ServiceAccount", "KmsKeyName", "DataEncryptionState", "InternalMetadata" }, new[]{ "ContainingFolder", "TeamFolderName", "InternalMetadata" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings), global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Parser, new[]{ "Url", "DefaultBranch", "EffectiveDefaultBranch", "AuthenticationTokenSecretVersion", "SshAuthenticationConfig", "GitRepositoryLink", "TokenStatus" }, new[]{ "GitRepositoryLink" }, new[]{ typeof(global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.SshAuthenticationConfig), global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.SshAuthenticationConfig.Parser, new[]{ "UserPrivateKeySecretVersion", "HostPublicKey" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.Repository.Types.WorkspaceCompilationOverrides), global::Google.Cloud.Dataform.V1.Repository.Types.WorkspaceCompilationOverrides.Parser, new[]{ "DefaultDatabase", "SchemaSuffix", "TablePrefix" }, null, null, null, null), null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Dataform.V1.PrivateResourceMetadata), global::Google.Cloud.Dataform.V1.PrivateResourceMetadata.Parser, new[]{ "UserScoped" }, null, null, null, null), @@ -1272,7 +1282,7 @@ static DataformReflection() { /// public enum DirectoryContentsView { /// - /// The default / unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC. + /// The default unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC. /// [pbr::OriginalName("DIRECTORY_CONTENTS_VIEW_UNSPECIFIED")] Unspecified = 0, /// @@ -2349,8 +2359,10 @@ public GitRemoteSettings() { public GitRemoteSettings(GitRemoteSettings other) : this() { url_ = other.url_; defaultBranch_ = other.defaultBranch_; + effectiveDefaultBranch_ = other.effectiveDefaultBranch_; authenticationTokenSecretVersion_ = other.authenticationTokenSecretVersion_; sshAuthenticationConfig_ = other.sshAuthenticationConfig_ != null ? other.sshAuthenticationConfig_.Clone() : null; + gitRepositoryLink_ = other.gitRepositoryLink_; tokenStatus_ = other.tokenStatus_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2380,7 +2392,8 @@ public string Url { public const int DefaultBranchFieldNumber = 2; private string defaultBranch_ = ""; /// - /// Required. The Git remote's default branch name. + /// Optional. The Git remote's default branch name. + /// If not set, `main` will be used. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2391,6 +2404,23 @@ public string DefaultBranch { } } + /// Field number for the "effective_default_branch" field. + public const int EffectiveDefaultBranchFieldNumber = 9; + private string effectiveDefaultBranch_ = ""; + /// + /// Output only. The Git remote's effective default branch name. + /// This is the default branch name of the Git remote if it is set, + /// otherwise it is `main`. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectiveDefaultBranch { + get { return effectiveDefaultBranch_; } + set { + effectiveDefaultBranch_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Field number for the "authentication_token_secret_version" field. public const int AuthenticationTokenSecretVersionFieldNumber = 3; private string authenticationTokenSecretVersion_ = ""; @@ -2423,6 +2453,37 @@ public string AuthenticationTokenSecretVersion { } } + /// Field number for the "git_repository_link" field. + public const int GitRepositoryLinkFieldNumber = 7; + private readonly static string GitRepositoryLinkDefaultValue = ""; + + private string gitRepositoryLink_; + /// + /// Optional. Resource name for the `GitRepositoryLink` used for machine + /// credentials. Must be in the format + /// `projects/*/locations/*/connections/*/gitRepositoryLinks/*` + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GitRepositoryLink { + get { return gitRepositoryLink_ ?? GitRepositoryLinkDefaultValue; } + set { + gitRepositoryLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "git_repository_link" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGitRepositoryLink { + get { return gitRepositoryLink_ != null; } + } + /// Clears the value of the "git_repository_link" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGitRepositoryLink() { + gitRepositoryLink_ = null; + } + /// Field number for the "token_status" field. public const int TokenStatusFieldNumber = 4; private global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus tokenStatus_ = global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus.Unspecified; @@ -2457,8 +2518,10 @@ public bool Equals(GitRemoteSettings other) { } if (Url != other.Url) return false; if (DefaultBranch != other.DefaultBranch) return false; + if (EffectiveDefaultBranch != other.EffectiveDefaultBranch) return false; if (AuthenticationTokenSecretVersion != other.AuthenticationTokenSecretVersion) return false; if (!object.Equals(SshAuthenticationConfig, other.SshAuthenticationConfig)) return false; + if (GitRepositoryLink != other.GitRepositoryLink) return false; if (TokenStatus != other.TokenStatus) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2469,8 +2532,10 @@ public override int GetHashCode() { int hash = 1; if (Url.Length != 0) hash ^= Url.GetHashCode(); if (DefaultBranch.Length != 0) hash ^= DefaultBranch.GetHashCode(); + if (EffectiveDefaultBranch.Length != 0) hash ^= EffectiveDefaultBranch.GetHashCode(); if (AuthenticationTokenSecretVersion.Length != 0) hash ^= AuthenticationTokenSecretVersion.GetHashCode(); if (sshAuthenticationConfig_ != null) hash ^= SshAuthenticationConfig.GetHashCode(); + if (HasGitRepositoryLink) hash ^= GitRepositoryLink.GetHashCode(); if (TokenStatus != global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus.Unspecified) hash ^= TokenStatus.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -2510,6 +2575,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteMessage(SshAuthenticationConfig); } + if (HasGitRepositoryLink) { + output.WriteRawTag(58); + output.WriteString(GitRepositoryLink); + } + if (EffectiveDefaultBranch.Length != 0) { + output.WriteRawTag(74); + output.WriteString(EffectiveDefaultBranch); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2540,6 +2613,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteMessage(SshAuthenticationConfig); } + if (HasGitRepositoryLink) { + output.WriteRawTag(58); + output.WriteString(GitRepositoryLink); + } + if (EffectiveDefaultBranch.Length != 0) { + output.WriteRawTag(74); + output.WriteString(EffectiveDefaultBranch); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2556,12 +2637,18 @@ public int CalculateSize() { if (DefaultBranch.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultBranch); } + if (EffectiveDefaultBranch.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectiveDefaultBranch); + } if (AuthenticationTokenSecretVersion.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AuthenticationTokenSecretVersion); } if (sshAuthenticationConfig_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SshAuthenticationConfig); } + if (HasGitRepositoryLink) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(GitRepositoryLink); + } if (TokenStatus != global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus.Unspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TokenStatus); } @@ -2583,6 +2670,9 @@ public void MergeFrom(GitRemoteSettings other) { if (other.DefaultBranch.Length != 0) { DefaultBranch = other.DefaultBranch; } + if (other.EffectiveDefaultBranch.Length != 0) { + EffectiveDefaultBranch = other.EffectiveDefaultBranch; + } if (other.AuthenticationTokenSecretVersion.Length != 0) { AuthenticationTokenSecretVersion = other.AuthenticationTokenSecretVersion; } @@ -2592,6 +2682,9 @@ public void MergeFrom(GitRemoteSettings other) { } SshAuthenticationConfig.MergeFrom(other.SshAuthenticationConfig); } + if (other.HasGitRepositoryLink) { + GitRepositoryLink = other.GitRepositoryLink; + } if (other.TokenStatus != global::Google.Cloud.Dataform.V1.Repository.Types.GitRemoteSettings.Types.TokenStatus.Unspecified) { TokenStatus = other.TokenStatus; } @@ -2637,6 +2730,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(SshAuthenticationConfig); break; } + case 58: { + GitRepositoryLink = input.ReadString(); + break; + } + case 74: { + EffectiveDefaultBranch = input.ReadString(); + break; + } } } #endif @@ -2679,6 +2780,14 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(SshAuthenticationConfig); break; } + case 58: { + GitRepositoryLink = input.ReadString(); + break; + } + case 74: { + EffectiveDefaultBranch = input.ReadString(); + break; + } } } } @@ -15779,7 +15888,8 @@ public DirectoryEntry Clone() { /// Field number for the "file" field. public const int FileFieldNumber = 1; /// - /// A file in the directory. + /// A file in the directory. The path is returned including the full + /// folder structure from the root. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -15808,7 +15918,8 @@ public void ClearFile() { /// Field number for the "directory" field. public const int DirectoryFieldNumber = 2; /// - /// A child directory in the directory. + /// A child directory in the directory. The path is returned including + /// the full folder structure from the root. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -39366,9 +39477,10 @@ public string Contents { public const int JobIdFieldNumber = 2; private string jobId_ = ""; /// - /// Output only. The ID of the Vertex job that executed the notebook in - /// contents and also the ID used for the outputs created in Google Cloud - /// Storage buckets. Only set once the job has started to run. + /// Output only. The ID of the Gemini Enterprise Agent Platform job that + /// executed the notebook in contents and also the ID used for the outputs + /// created in Google Cloud Storage buckets. Only set once the job has + /// started to run. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -42674,8 +42786,8 @@ public string DisplayName { /// Optional. The containing Folder resource name. This should take /// the format: projects/{project}/locations/{location}/folders/{folder}, /// projects/{project}/locations/{location}/teamFolders/{teamFolder}, or just - /// projects/{project}/locations/{location} if this is a root Folder. This - /// field can only be updated through MoveFolder. + /// "" if this is a root Folder. This field can only be updated through + /// MoveFolder. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -45287,7 +45399,7 @@ public QueryFolderContentsRequest Clone() { public const int FolderFieldNumber = 1; private string folder_ = ""; /// - /// Required. Name of the folder whose contents to list. + /// Required. Resource name of the Folder to list contents for. /// Format: projects/*/locations/*/folders/* /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -45345,8 +45457,9 @@ public string PageToken { /// order. Supported keywords: display_name (default), create_time, /// last_modified_time. /// Examples: - /// - `orderBy="display_name"` - /// - `orderBy="display_name desc"` + /// + /// * `orderBy="display_name"` + /// * `orderBy="display_name desc"` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -45365,7 +45478,8 @@ public string OrderBy { /// only supported on the `display_name` field. /// /// Example: - /// - `filter="display_name="MyFolder""` + /// + /// * `filter="display_name="MyFolder""` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -46214,7 +46328,7 @@ public QueryUserRootContentsRequest Clone() { public const int LocationFieldNumber = 1; private string location_ = ""; /// - /// Required. Location of the user root folder whose contents to list. + /// Required. Location of the user root folder to list contents for. /// Format: projects/*/locations/* /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -46271,8 +46385,9 @@ public string PageToken { /// Will order Folders before Repositories, and then by `order_by` in ascending /// order. Supported keywords: display_name (default), created_at, /// last_modified_at. Examples: - /// - `orderBy="display_name"` - /// - `orderBy="display_name desc"` + /// + /// * `orderBy="display_name"` + /// * `orderBy="display_name desc"` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -46291,7 +46406,8 @@ public string OrderBy { /// only supported on the `display_name` field. /// /// Example: - /// - `filter="display_name="MyFolder""` + /// + /// * `filter="display_name="MyFolder""` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -48519,7 +48635,7 @@ public QueryTeamFolderContentsRequest Clone() { public const int TeamFolderFieldNumber = 1; private string teamFolder_ = ""; /// - /// Required. Name of the team_folder whose contents to list. + /// Required. Resource name of the TeamFolder to list contents for. /// Format: `projects/*/locations/*/teamFolders/*`. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -48577,8 +48693,9 @@ public string PageToken { /// order. Supported keywords: `display_name` (default), `create_time`, /// last_modified_time. /// Examples: - /// - `orderBy="display_name"` - /// - `orderBy="display_name desc"` + /// + /// * `orderBy="display_name"` + /// * `orderBy="display_name desc"` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -48597,7 +48714,8 @@ public string OrderBy { /// only supported on the `display_name` field. /// /// Example: - /// - `filter="display_name="MyFolder""` + /// + /// * `filter="display_name="MyFolder""` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -49462,9 +49580,9 @@ public string Location { public const int PageSizeFieldNumber = 2; private int pageSize_; /// - /// Optional. Maximum number of TeamFolders to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of `TeamFolders` to return. The server may return + /// fewer items than requested. If unspecified, the server will pick a default + /// of `page_size` = 50. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -49502,8 +49620,9 @@ public string PageToken { /// Optional. Field to additionally sort results by. /// Supported keywords: `display_name` (default), `create_time`, /// `last_modified_time`. Examples: - /// - `orderBy="display_name"` - /// - `orderBy="display_name desc"` + /// + /// * `orderBy="display_name"` + /// * `orderBy="display_name desc"` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -49522,7 +49641,8 @@ public string OrderBy { /// only supported on the `display_name` field. /// /// Example: - /// - `filter="display_name="MyFolder""` + /// + /// * `filter="display_name="MyFolder""` /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformClient.g.cs b/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformClient.g.cs index 1648c8f92043..ea427dda070a 100644 --- a/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformClient.g.cs +++ b/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformClient.g.cs @@ -1901,7 +1901,7 @@ public virtual void DeleteTeamFolder(TeamFolderName name, gaxgrpc::CallSettings /// Returns the contents of a given TeamFolder. /// /// - /// Required. Name of the team_folder whose contents to list. + /// Required. Resource name of the TeamFolder to list contents for. /// Format: `projects/*/locations/*/teamFolders/*`. /// /// @@ -1938,7 +1938,7 @@ public virtual void DeleteTeamFolder(TeamFolderName name, gaxgrpc::CallSettings /// Returns the contents of a given TeamFolder. /// /// - /// Required. Name of the team_folder whose contents to list. + /// Required. Resource name of the TeamFolder to list contents for. /// Format: `projects/*/locations/*/teamFolders/*`. /// /// @@ -1975,7 +1975,7 @@ public virtual void DeleteTeamFolder(TeamFolderName name, gaxgrpc::CallSettings /// Returns the contents of a given TeamFolder. /// /// - /// Required. Name of the team_folder whose contents to list. + /// Required. Resource name of the TeamFolder to list contents for. /// Format: `projects/*/locations/*/teamFolders/*`. /// /// @@ -2012,7 +2012,7 @@ public virtual void DeleteTeamFolder(TeamFolderName name, gaxgrpc::CallSettings /// Returns the contents of a given TeamFolder. /// /// - /// Required. Name of the team_folder whose contents to list. + /// Required. Resource name of the TeamFolder to list contents for. /// Format: `projects/*/locations/*/teamFolders/*`. /// /// @@ -2730,7 +2730,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// Returns the contents of a given Folder. /// /// - /// Required. Name of the folder whose contents to list. + /// Required. Resource name of the Folder to list contents for. /// Format: projects/*/locations/*/folders/* /// /// @@ -2766,7 +2766,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// Returns the contents of a given Folder. /// /// - /// Required. Name of the folder whose contents to list. + /// Required. Resource name of the Folder to list contents for. /// Format: projects/*/locations/*/folders/* /// /// @@ -2803,7 +2803,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// Returns the contents of a given Folder. /// /// - /// Required. Name of the folder whose contents to list. + /// Required. Resource name of the Folder to list contents for. /// Format: projects/*/locations/*/folders/* /// /// @@ -2839,7 +2839,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// Returns the contents of a given Folder. /// /// - /// Required. Name of the folder whose contents to list. + /// Required. Resource name of the Folder to list contents for. /// Format: projects/*/locations/*/folders/* /// /// @@ -2905,7 +2905,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// contained in any other folder. /// /// - /// Required. Location of the user root folder whose contents to list. + /// Required. Location of the user root folder to list contents for. /// Format: projects/*/locations/* /// /// @@ -2943,7 +2943,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// contained in any other folder. /// /// - /// Required. Location of the user root folder whose contents to list. + /// Required. Location of the user root folder to list contents for. /// Format: projects/*/locations/* /// /// @@ -2982,7 +2982,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// contained in any other folder. /// /// - /// Required. Location of the user root folder whose contents to list. + /// Required. Location of the user root folder to list contents for. /// Format: projects/*/locations/* /// /// @@ -3020,7 +3020,7 @@ public virtual void DeleteFolder(FolderName name, gaxgrpc::CallSettings callSett /// contained in any other folder. /// /// - /// Required. Location of the user root folder whose contents to list. + /// Required. Location of the user root folder to list contents for. /// Format: projects/*/locations/* /// /// diff --git a/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformResourceNames.g.cs b/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformResourceNames.g.cs index 9ab136c6752d..a8eeb2106daa 100644 --- a/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformResourceNames.g.cs +++ b/apis/Google.Cloud.Dataform.V1/Google.Cloud.Dataform.V1/DataformResourceNames.g.cs @@ -3478,6 +3478,555 @@ public override string ToString() public static bool operator !=(NotebookRuntimeTemplateName a, NotebookRuntimeTemplateName b) => !(a == b); } + /// Resource name for the EntryLink resource. + public sealed partial class EntryLinkName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + /// + ProjectLocationEntryGroupEntryLink = 1, + } + + private static gax::PathTemplate s_projectLocationEntryGroupEntryLink = new gax::PathTemplate("projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static EntryLinkName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new EntryLinkName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EntryGroup ID. Must not be null or empty. + /// The EntryLink ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static EntryLinkName FromProjectLocationEntryGroupEntryLink(string projectId, string locationId, string entryGroupId, string entryLinkId) => + new EntryLinkName(ResourceNameType.ProjectLocationEntryGroupEntryLink, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), entryGroupId: gax::GaxPreconditions.CheckNotNullOrEmpty(entryGroupId, nameof(entryGroupId)), entryLinkId: gax::GaxPreconditions.CheckNotNullOrEmpty(entryLinkId, nameof(entryLinkId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EntryGroup ID. Must not be null or empty. + /// The EntryLink ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + /// + public static string Format(string projectId, string locationId, string entryGroupId, string entryLinkId) => + FormatProjectLocationEntryGroupEntryLink(projectId, locationId, entryGroupId, entryLinkId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EntryGroup ID. Must not be null or empty. + /// The EntryLink ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + /// + public static string FormatProjectLocationEntryGroupEntryLink(string projectId, string locationId, string entryGroupId, string entryLinkId) => + s_projectLocationEntryGroupEntryLink.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(entryGroupId, nameof(entryGroupId)), gax::GaxPreconditions.CheckNotNullOrEmpty(entryLinkId, nameof(entryLinkId))); + + /// Parses the given resource name string into a new instance. + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static EntryLinkName Parse(string entryLinkName) => Parse(entryLinkName, false); + + /// + /// Parses the given resource name string into a new instance; optionally allowing + /// an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static EntryLinkName Parse(string entryLinkName, bool allowUnparsed) => + TryParse(entryLinkName, allowUnparsed, out EntryLinkName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string entryLinkName, out EntryLinkName result) => TryParse(entryLinkName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string entryLinkName, bool allowUnparsed, out EntryLinkName result) + { + gax::GaxPreconditions.CheckNotNull(entryLinkName, nameof(entryLinkName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationEntryGroupEntryLink.TryParseName(entryLinkName, out resourceName)) + { + result = FromProjectLocationEntryGroupEntryLink(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(entryLinkName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private EntryLinkName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string entryGroupId = null, string entryLinkId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + EntryGroupId = entryGroupId; + EntryLinkId = entryLinkId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The EntryGroup ID. Must not be null or empty. + /// The EntryLink ID. Must not be null or empty. + public EntryLinkName(string projectId, string locationId, string entryGroupId, string entryLinkId) : this(ResourceNameType.ProjectLocationEntryGroupEntryLink, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), entryGroupId: gax::GaxPreconditions.CheckNotNullOrEmpty(entryGroupId, nameof(entryGroupId)), entryLinkId: gax::GaxPreconditions.CheckNotNullOrEmpty(entryLinkId, nameof(entryLinkId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The EntryGroup ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string EntryGroupId { get; } + + /// + /// The EntryLink ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string EntryLinkId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationEntryGroupEntryLink: return s_projectLocationEntryGroupEntryLink.Expand(ProjectId, LocationId, EntryGroupId, EntryLinkId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as EntryLinkName); + + /// + public bool Equals(EntryLinkName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(EntryLinkName a, EntryLinkName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(EntryLinkName a, EntryLinkName b) => !(a == b); + } + + /// Resource name for the GitRepositoryLink resource. + public sealed partial class GitRepositoryLinkName : gax::IResourceName, sys::IEquatable + { + /// The possible contents of . + public enum ResourceNameType + { + /// An unparsed resource name. + Unparsed = 0, + + /// + /// A resource name with pattern + /// + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// . + /// + ProjectLocationConnectionGitRepositoryLink = 1, + } + + private static gax::PathTemplate s_projectLocationConnectionGitRepositoryLink = new gax::PathTemplate("projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}"); + + /// Creates a containing an unparsed resource name. + /// The unparsed resource name. Must not be null. + /// + /// A new instance of containing the provided + /// . + /// + public static GitRepositoryLinkName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) => + new GitRepositoryLinkName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName))); + + /// + /// Creates a with the pattern + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Connection ID. Must not be null or empty. + /// The GitRepositoryLink ID. Must not be null or empty. + /// A new instance of constructed from the provided ids. + public static GitRepositoryLinkName FromProjectLocationConnectionGitRepositoryLink(string projectId, string locationId, string connectionId, string gitRepositoryLinkId) => + new GitRepositoryLinkName(ResourceNameType.ProjectLocationConnectionGitRepositoryLink, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), connectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(connectionId, nameof(connectionId)), gitRepositoryLinkId: gax::GaxPreconditions.CheckNotNullOrEmpty(gitRepositoryLinkId, nameof(gitRepositoryLinkId))); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Connection ID. Must not be null or empty. + /// The GitRepositoryLink ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// . + /// + public static string Format(string projectId, string locationId, string connectionId, string gitRepositoryLinkId) => + FormatProjectLocationConnectionGitRepositoryLink(projectId, locationId, connectionId, gitRepositoryLinkId); + + /// + /// Formats the IDs into the string representation of this with pattern + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// . + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Connection ID. Must not be null or empty. + /// The GitRepositoryLink ID. Must not be null or empty. + /// + /// The string representation of this with pattern + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// . + /// + public static string FormatProjectLocationConnectionGitRepositoryLink(string projectId, string locationId, string connectionId, string gitRepositoryLinkId) => + s_projectLocationConnectionGitRepositoryLink.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), gax::GaxPreconditions.CheckNotNullOrEmpty(connectionId, nameof(connectionId)), gax::GaxPreconditions.CheckNotNullOrEmpty(gitRepositoryLinkId, nameof(gitRepositoryLinkId))); + + /// + /// Parses the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// The parsed if successful. + public static GitRepositoryLinkName Parse(string gitRepositoryLinkName) => Parse(gitRepositoryLinkName, false); + + /// + /// Parses the given resource name string into a new instance; optionally + /// allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// The parsed if successful. + public static GitRepositoryLinkName Parse(string gitRepositoryLinkName, bool allowUnparsed) => + TryParse(gitRepositoryLinkName, allowUnparsed, out GitRepositoryLinkName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern."); + + /// + /// Tries to parse the given resource name string into a new instance. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// + /// + /// + /// + /// The resource name in string form. Must not be null. + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string gitRepositoryLinkName, out GitRepositoryLinkName result) => + TryParse(gitRepositoryLinkName, false, out result); + + /// + /// Tries to parse the given resource name string into a new instance; + /// optionally allowing an unparseable resource name. + /// + /// + /// To parse successfully, the resource name must be formatted as one of the following: + /// + /// + /// + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// + /// + /// + /// Or may be in any format if is true. + /// + /// The resource name in string form. Must not be null. + /// + /// If true will successfully store an unparseable resource name into the + /// property; otherwise will throw an if an unparseable resource name is + /// specified. + /// + /// + /// When this method returns, the parsed , or null if parsing failed. + /// + /// true if the name was parsed successfully; false otherwise. + public static bool TryParse(string gitRepositoryLinkName, bool allowUnparsed, out GitRepositoryLinkName result) + { + gax::GaxPreconditions.CheckNotNull(gitRepositoryLinkName, nameof(gitRepositoryLinkName)); + gax::TemplatedResourceName resourceName; + if (s_projectLocationConnectionGitRepositoryLink.TryParseName(gitRepositoryLinkName, out resourceName)) + { + result = FromProjectLocationConnectionGitRepositoryLink(resourceName[0], resourceName[1], resourceName[2], resourceName[3]); + return true; + } + if (allowUnparsed) + { + if (gax::UnparsedResourceName.TryParse(gitRepositoryLinkName, out gax::UnparsedResourceName unparsedResourceName)) + { + result = FromUnparsed(unparsedResourceName); + return true; + } + } + result = null; + return false; + } + + private GitRepositoryLinkName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string connectionId = null, string gitRepositoryLinkId = null, string locationId = null, string projectId = null) + { + Type = type; + UnparsedResource = unparsedResourceName; + ConnectionId = connectionId; + GitRepositoryLinkId = gitRepositoryLinkId; + LocationId = locationId; + ProjectId = projectId; + } + + /// + /// Constructs a new instance of a class from the component parts of pattern + /// projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link} + /// + /// The Project ID. Must not be null or empty. + /// The Location ID. Must not be null or empty. + /// The Connection ID. Must not be null or empty. + /// The GitRepositoryLink ID. Must not be null or empty. + public GitRepositoryLinkName(string projectId, string locationId, string connectionId, string gitRepositoryLinkId) : this(ResourceNameType.ProjectLocationConnectionGitRepositoryLink, projectId: gax::GaxPreconditions.CheckNotNullOrEmpty(projectId, nameof(projectId)), locationId: gax::GaxPreconditions.CheckNotNullOrEmpty(locationId, nameof(locationId)), connectionId: gax::GaxPreconditions.CheckNotNullOrEmpty(connectionId, nameof(connectionId)), gitRepositoryLinkId: gax::GaxPreconditions.CheckNotNullOrEmpty(gitRepositoryLinkId, nameof(gitRepositoryLinkId))) + { + } + + /// The of the contained resource name. + public ResourceNameType Type { get; } + + /// + /// The contained . Only non-null if this instance contains an + /// unparsed resource name. + /// + public gax::UnparsedResourceName UnparsedResource { get; } + + /// + /// The Connection ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ConnectionId { get; } + + /// + /// The GitRepositoryLink ID. Will not be null, unless this instance contains an unparsed resource + /// name. + /// + public string GitRepositoryLinkId { get; } + + /// + /// The Location ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string LocationId { get; } + + /// + /// The Project ID. Will not be null, unless this instance contains an unparsed resource name. + /// + public string ProjectId { get; } + + /// Whether this instance contains a resource name with a known pattern. + public bool IsKnownPattern => Type != ResourceNameType.Unparsed; + + /// The string representation of the resource name. + /// The string representation of the resource name. + public override string ToString() + { + switch (Type) + { + case ResourceNameType.Unparsed: return UnparsedResource.ToString(); + case ResourceNameType.ProjectLocationConnectionGitRepositoryLink: return s_projectLocationConnectionGitRepositoryLink.Expand(ProjectId, LocationId, ConnectionId, GitRepositoryLinkId); + default: throw new sys::InvalidOperationException("Unrecognized resource-type."); + } + } + + /// Returns a hash code for this resource name. + public override int GetHashCode() => ToString().GetHashCode(); + + /// + public override bool Equals(object obj) => Equals(obj as GitRepositoryLinkName); + + /// + public bool Equals(GitRepositoryLinkName other) => ToString() == other?.ToString(); + + /// Determines whether two specified resource names have the same value. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is the same as the value of ; otherwise, + /// false. + /// + public static bool operator ==(GitRepositoryLinkName a, GitRepositoryLinkName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false); + + /// Determines whether two specified resource names have different values. + /// The first resource name to compare, or null. + /// The second resource name to compare, or null. + /// + /// true if the value of is different from the value of ; otherwise, + /// false. + /// + public static bool operator !=(GitRepositoryLinkName a, GitRepositoryLinkName b) => !(a == b); + } + public partial class DataEncryptionState { /// @@ -3535,6 +4084,16 @@ public SecretVersionName AuthenticationTokenSecretVersionAsSecretVersionName set => AuthenticationTokenSecretVersion = value?.ToString() ?? ""; } + /// + /// -typed view over the resource + /// name property. + /// + public GitRepositoryLinkName GitRepositoryLinkAsGitRepositoryLinkName + { + get => string.IsNullOrEmpty(GitRepositoryLink) ? null : GitRepositoryLinkName.Parse(GitRepositoryLink, allowUnparsed: true); + set => GitRepositoryLink = value?.ToString() ?? ""; + } + public partial class Types { public partial class SshAuthenticationConfig diff --git a/generator-input/pipeline-state.json b/generator-input/pipeline-state.json index 59ee4c5b6f9a..9b9695a11fc0 100644 --- a/generator-input/pipeline-state.json +++ b/generator-input/pipeline-state.json @@ -4299,7 +4299,7 @@ "generationAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseAutomationLevel": "AUTOMATION_LEVEL_AUTOMATIC", "releaseTimestamp": "2026-03-30T14:49:43.931392242Z", - "lastGeneratedCommit": "29214fa04adfdf39cab5cfc0f08b27b23fcfae1a", + "lastGeneratedCommit": "1a9328c67ef6e1d7997e9a19feef7d18c242ebd8", "lastReleasedCommit": "29214fa04adfdf39cab5cfc0f08b27b23fcfae1a", "apiPaths": [ "google/cloud/dataform/v1"